Home
last modified time | relevance | path

Searched defs:nic (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v4.19/drivers/net/ethernet/intel/
De100.c540 struct nic { struct
545 u16 (*mdio_ctrl)(struct nic *nic, u32 addr, u32 dir, u32 reg, u16 data); argument
547 struct rx *rxs ____cacheline_aligned;
548 struct rx *rx_to_use;
549 struct rx *rx_to_clean;
550 struct rfd blank_rfd;
551 enum ru_state ru_running;
553 spinlock_t cb_lock ____cacheline_aligned;
554 spinlock_t cmd_lock;
555 struct csr __iomem *csr;
[all …]
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c74 static inline u8 nicvf_netdev_qidx(struct nicvf *nic, u8 qidx) in nicvf_netdev_qidx()
92 void nicvf_reg_write(struct nicvf *nic, u64 offset, u64 val) in nicvf_reg_write()
97 u64 nicvf_reg_read(struct nicvf *nic, u64 offset) in nicvf_reg_read()
102 void nicvf_queue_reg_write(struct nicvf *nic, u64 offset, in nicvf_queue_reg_write()
110 u64 nicvf_queue_reg_read(struct nicvf *nic, u64 offset, u64 qidx) in nicvf_queue_reg_read()
118 static void nicvf_write_to_mbx(struct nicvf *nic, union nic_mbx *mbx) in nicvf_write_to_mbx()
126 int nicvf_send_msg_to_pf(struct nicvf *nic, union nic_mbx *mbx) in nicvf_send_msg_to_pf()
161 static int nicvf_check_pf_ready(struct nicvf *nic) in nicvf_check_pf_ready()
175 static void nicvf_read_bgx_stats(struct nicvf *nic, struct bgx_stats_msg *bgx) in nicvf_read_bgx_stats()
183 static void nicvf_handle_mbx_intr(struct nicvf *nic) in nicvf_handle_mbx_intr()
[all …]
Dnicvf_queues.c24 static void nicvf_get_page(struct nicvf *nic) in nicvf_get_page()
34 static int nicvf_poll_reg(struct nicvf *nic, int qidx, in nicvf_poll_reg()
56 static int nicvf_alloc_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem, in nicvf_alloc_q_desc_mem()
74 static void nicvf_free_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem) in nicvf_free_q_desc_mem()
95 static inline struct pgcache *nicvf_alloc_page(struct nicvf *nic, in nicvf_alloc_page()
179 static inline int nicvf_alloc_rcv_buffer(struct nicvf *nic, struct rbdr *rbdr, in nicvf_alloc_rcv_buffer()
236 static struct sk_buff *nicvf_rb_ptr_to_skb(struct nicvf *nic, in nicvf_rb_ptr_to_skb()
256 static int nicvf_init_rbdr(struct nicvf *nic, struct rbdr *rbdr, in nicvf_init_rbdr()
322 static void nicvf_free_rbdr(struct nicvf *nic, struct rbdr *rbdr) in nicvf_free_rbdr()
384 static void nicvf_refill_rbdr(struct nicvf *nic, gfp_t gfp) in nicvf_refill_rbdr()
[all …]
Dnicvf_ethtool.c125 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_link_ksettings() local
187 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_link() local
195 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_drvinfo() local
204 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_msglevel() local
211 struct nicvf *nic = netdev_priv(netdev); in nicvf_set_msglevel() local
216 static void nicvf_get_qset_strings(struct nicvf *nic, u8 **data, int qset) in nicvf_get_qset_strings()
240 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_strings() local
278 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_sset_count() local
302 static void nicvf_get_qset_stats(struct nicvf *nic, in nicvf_get_qset_stats()
328 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_ethtool_stats() local
[all …]
Dnic_main.c97 static void nic_reg_write(struct nicpf *nic, u64 offset, u64 val) in nic_reg_write()
102 static u64 nic_reg_read(struct nicpf *nic, u64 offset) in nic_reg_read()
108 static void nic_enable_mbx_intr(struct nicpf *nic) in nic_enable_mbx_intr()
128 static void nic_clear_mbx_intr(struct nicpf *nic, int vf, int mbx_reg) in nic_clear_mbx_intr()
142 static void nic_send_msg_to_vf(struct nicpf *nic, int vf, union nic_mbx *mbx) in nic_send_msg_to_vf()
167 static void nic_mbx_send_ready(struct nicpf *nic, int vf) in nic_mbx_send_ready()
197 static void nic_mbx_send_ack(struct nicpf *nic, int vf) in nic_mbx_send_ack()
209 static void nic_mbx_send_nack(struct nicpf *nic, int vf) in nic_mbx_send_nack()
220 static int nic_rcv_queue_sw_sync(struct nicpf *nic) in nic_rcv_queue_sw_sync()
240 static void nic_get_bgx_stats(struct nicpf *nic, struct bgx_stats_msg *bgx) in nic_get_bgx_stats()
[all …]
Dnicvf_queues.h323 static inline u64 nicvf_iova_to_phys(struct nicvf *nic, dma_addr_t dma_addr) in nicvf_iova_to_phys()
/Linux-v4.19/drivers/staging/gdm724x/
Dgdm_lte.h52 struct nic { struct
59 u32 nic_id; argument
60 u16 vlan_id;
Dgdm_lte.c71 struct nic *nic = arg; in tx_complete() local
77 static int gdm_lte_rx(struct sk_buff *skb, struct nic *nic, int nic_type) in gdm_lte_rx()
94 struct nic *nic = netdev_priv(skb_in->dev); in gdm_lte_emulate_arp() local
214 struct nic *nic = netdev_priv(skb_in->dev); in gdm_lte_emulate_ndp() local
337 struct nic *nic = netdev_priv(dev); in gdm_lte_tx_nic_type() local
403 struct nic *nic = netdev_priv(dev); in gdm_lte_tx() local
497 struct nic *nic = netdev_priv(dev); in gdm_lte_stats() local
522 struct nic *nic = netdev_priv(dev); in gdm_lte_event_rcv() local
565 struct nic *nic; in gdm_lte_netif_rx() local
721 struct nic *nic = netdev_priv(dev); in gdm_lte_pdn_table() local
[all …]
/Linux-v4.19/drivers/net/ethernet/neterion/
Ds2io.c562 static int init_shared_mem(struct s2io_nic *nic) in init_shared_mem()
868 static void free_shared_mem(struct s2io_nic *nic) in free_shared_mem()
1007 static int s2io_verify_pci_mode(struct s2io_nic *nic) in s2io_verify_pci_mode()
1041 static int s2io_print_pci_mode(struct s2io_nic *nic) in s2io_print_pci_mode()
1109 static int init_tti(struct s2io_nic *nic, int link) in init_tti()
1185 static int init_nic(struct s2io_nic *nic) in init_nic()
1818 static int s2io_link_fault_indication(struct s2io_nic *nic) in s2io_link_fault_indication()
1848 static void en_dis_err_alarms(struct s2io_nic *nic, u16 mask, int flag) in en_dis_err_alarms()
1986 static void en_dis_able_nic_intrs(struct s2io_nic *nic, u16 mask, int flag) in en_dis_able_nic_intrs()
2202 static int start_nic(struct s2io_nic *nic) in start_nic()
[all …]
Ds2io.h709 struct s2io_nic *nic; member
787 struct s2io_nic *nic; member
/Linux-v4.19/drivers/firmware/
Discsi_ibft.c181 struct ibft_nic *nic; member
300 struct ibft_nic *nic = entry->nic; in ibft_attr_show_nic() local
479 struct ibft_nic *nic = entry->nic; in ibft_check_nic_for() local
635 struct ibft_nic *nic = (struct ibft_nic *)hdr; in ibft_create_kobject() local
/Linux-v4.19/drivers/net/ethernet/tehuti/
Dtehuti.c103 struct pci_nic *nic = pci_get_drvdata(pdev); in print_hw_id() local
119 static void print_fw_id(struct pci_nic *nic) in print_fw_id()
1908 struct pci_nic *nic; in bdx_probe() local
2406 struct pci_nic *nic = pci_get_drvdata(pdev); in bdx_remove() local
Dtehuti.h276 struct pci_nic *nic; member
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c245 struct hnae3_handle *nic = &hdev->nic; in hclgevf_knic_setup() local
310 struct hnae3_handle *nic = &hdev->nic; in hclgevf_set_handle_info() local
1371 struct hnae3_handle *nic = &hdev->nic; in hclgevf_init_roce_base_info() local
1918 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_max_channels() local
Dhclgevf_main.h172 struct hnae3_handle nic; member
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c900 struct qlcnic_info *nic) in qlcnic_82xx_set_nic_info()
960 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_82xx_get_pci_info() local
Dqlcnic_83xx_hw.c2373 struct qlcnic_info *nic) in qlcnic_83xx_set_nic_info()
2466 u16 *nic, u16 *fcoe, u16 *iscsi) in qlcnic_get_pci_func_type()
2495 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_83xx_get_pci_info() local
/Linux-v4.19/arch/ia64/include/asm/sn/
Dklconfig.h225 nic_t nic; /* MUst be aligned properly */ member
/Linux-v4.19/drivers/scsi/be2iscsi/
Dbe_mgmt.c796 struct be_cmd_get_nic_conf_resp *nic) in mgmt_get_nic_conf()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c1295 struct hnae3_handle *nic = &vport->nic; in hclge_knic_setup() local
1337 struct hnae3_handle *nic = &vport->nic; in hclge_map_tqp_to_vport() local
1384 struct hnae3_handle *nic = &vport->nic; in hclge_vport_setup() local
2004 struct hnae3_handle *nic = &vport->nic; in hclge_init_roce_base_info() local
Dhclge_main.h610 struct hnae3_handle nic; member
/Linux-v4.19/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c4259 struct be_nic_res_desc *nic; in be_get_nic_desc() local
4447 struct be_nic_res_desc *nic; in be_cmd_get_profile_config() local
4565 static void be_reset_nic_desc(struct be_nic_res_desc *nic) in be_reset_nic_desc()
/Linux-v4.19/drivers/net/ethernet/sgi/
Dioc3-eth.c400 u8 nic[14]; in ioc3_get_eaddr_nic() local
/Linux-v4.19/drivers/net/wireless/intel/ipw2x00/
Dipw2100.h184 dma_addr_t nic; member
233 dma_addr_t nic; member
/Linux-v4.19/arch/mips/include/asm/sn/
Dklconfig.h492 nic_t nic; /* MUst be aligned properly */ member

12