Searched defs:nic_dev (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_main.c | 143 static int create_txqs(struct hinic_dev *nic_dev) in create_txqs() 215 static void free_txqs(struct hinic_dev *nic_dev) in free_txqs() 240 static int create_rxqs(struct hinic_dev *nic_dev) in create_rxqs() 294 static void free_rxqs(struct hinic_dev *nic_dev) in free_rxqs() 433 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_open() local 551 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_close() local 593 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_change_mtu() local 995 struct hinic_dev *nic_dev = handle; in link_status_event_handler() local 1046 struct hinic_dev *nic_dev = handle; in cable_plug_event() local 1060 struct hinic_dev *nic_dev = handle; in link_err_event() local [all …]
|
A D | hinic_ethtool.c | 260 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_link_ksettings() local 505 struct hinic_dev *nic_dev = netdev_priv(netdev); in set_link_settings() local 533 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_drvinfo() local 552 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_ringparam() local 585 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_set_ringparam() local 631 struct hinic_dev *nic_dev = netdev_priv(netdev); in __hinic_get_coalesce() local 745 struct hinic_dev *nic_dev = netdev_priv(netdev); in __hinic_set_coalesce() local 826 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_pauseparam() local 849 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_set_pauseparam() local 883 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_channels() local [all …]
|
A D | hinic_port.c | 37 static int change_mac(struct hinic_dev *nic_dev, const u8 *addr, in change_mac() 90 int hinic_port_add_mac(struct hinic_dev *nic_dev, in hinic_port_add_mac() 117 int hinic_port_get_mac(struct hinic_dev *nic_dev, u8 *addr) in hinic_port_get_mac() 148 int hinic_port_set_mtu(struct hinic_dev *nic_dev, int new_mtu) in hinic_port_set_mtu() 191 int hinic_port_add_vlan(struct hinic_dev *nic_dev, u16 vlan_id) in hinic_port_add_vlan() 251 int hinic_port_link_state(struct hinic_dev *nic_dev, in hinic_port_link_state() 316 int hinic_port_set_func_state(struct hinic_dev *nic_dev, in hinic_port_set_func_state() 348 int hinic_port_get_cap(struct hinic_dev *nic_dev, in hinic_port_get_cap() 465 int hinic_set_max_qnum(struct hinic_dev *nic_dev, u8 num_rqs) in hinic_set_max_qnum() 980 int hinic_get_vport_stats(struct hinic_dev *nic_dev, in hinic_get_vport_stats() [all …]
|
A D | hinic_debugfs.c | 23 static u64 hinic_dbg_get_sq_info(struct hinic_dev *nic_dev, struct hinic_sq *sq, int idx) in hinic_dbg_get_sq_info() 53 static u64 hinic_dbg_get_rq_info(struct hinic_dev *nic_dev, struct hinic_rq *rq, int idx) in hinic_dbg_get_rq_info() 83 static int hinic_dbg_get_func_table(struct hinic_dev *nic_dev, int idx) in hinic_dbg_get_func_table() 265 void hinic_sq_dbgfs_init(struct hinic_dev *nic_dev) in hinic_sq_dbgfs_init() 270 void hinic_sq_dbgfs_uninit(struct hinic_dev *nic_dev) in hinic_sq_dbgfs_uninit() 275 void hinic_rq_dbgfs_init(struct hinic_dev *nic_dev) in hinic_rq_dbgfs_init() 280 void hinic_rq_dbgfs_uninit(struct hinic_dev *nic_dev) in hinic_rq_dbgfs_uninit() 285 void hinic_func_tbl_dbgfs_init(struct hinic_dev *nic_dev) in hinic_func_tbl_dbgfs_init() 291 void hinic_func_tbl_dbgfs_uninit(struct hinic_dev *nic_dev) in hinic_func_tbl_dbgfs_uninit() 297 void hinic_dbg_init(struct hinic_dev *nic_dev) in hinic_dbg_init() [all …]
|
A D | hinic_rx.c | 132 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_alloc_skb() local 167 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_unmap_skb() local 197 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_alloc_pkts() local 316 static void hinic_copy_lp_data(struct hinic_dev *nic_dev, in hinic_copy_lp_data() 363 struct hinic_dev *nic_dev; in rxq_recv() local 462 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_poll() local 482 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_add_napi() local 498 struct hinic_dev *nic_dev; in rx_irq() local 516 struct hinic_dev *nic_dev = netdev_priv(rxq->netdev); in rx_request_irq() local
|
A D | hinic_tx.c | 133 static int tx_map_skb(struct hinic_dev *nic_dev, struct sk_buff *skb, in tx_map_skb() 184 static void tx_unmap_skb(struct hinic_dev *nic_dev, struct sk_buff *skb, in tx_unmap_skb() 494 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_lb_xmit_frame() local 555 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_xmit_frame() local 654 static void tx_free_skb(struct hinic_dev *nic_dev, struct sk_buff *skb, in tx_free_skb() 668 struct hinic_dev *nic_dev = netdev_priv(txq->netdev); in free_all_tx_skbs() local 702 struct hinic_dev *nic_dev = netdev_priv(txq->netdev); in free_tx_poll() local 781 struct hinic_dev *nic_dev; in tx_irq() local 799 struct hinic_dev *nic_dev = netdev_priv(txq->netdev); in tx_request_irq() local 862 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_init_txq() local
|
A D | hinic_sriov.c | 499 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_sriov_info_by_pcidev() local 581 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_ndo_get_vf_config() local 625 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_ndo_set_vf_mac() local 683 static int hinic_update_mac_vlan(struct hinic_dev *nic_dev, u16 old_vlan, in hinic_update_mac_vlan() 730 static int set_hw_vf_vlan(struct hinic_dev *nic_dev, in set_hw_vf_vlan() 772 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_ndo_set_vf_vlan() local 844 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_ndo_set_vf_bw() local 937 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_ndo_set_vf_spoofchk() local 1002 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_ndo_set_vf_link_state() local 1115 static void hinic_clear_vf_infos(struct hinic_dev *nic_dev, u16 vf_id) in hinic_clear_vf_infos() [all …]
|
Completed in 20 milliseconds