| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ |
| D | e100.c | 537 struct nic { struct 542 u16 (*mdio_ctrl)(struct nic *nic, u32 addr, u32 dir, u32 reg, u16 data); argument 544 struct rx *rxs ____cacheline_aligned; 545 struct rx *rx_to_use; 546 struct rx *rx_to_clean; 547 struct rfd blank_rfd; 548 enum ru_state ru_running; 550 spinlock_t cb_lock ____cacheline_aligned; 551 spinlock_t cmd_lock; 552 struct csr __iomem *csr; [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ |
| D | e100.c | 537 struct nic { struct 542 u16 (*mdio_ctrl)(struct nic *nic, u32 addr, u32 dir, u32 reg, u16 data); argument 544 struct rx *rxs ____cacheline_aligned; 545 struct rx *rx_to_use; 546 struct rx *rx_to_clean; 547 struct rfd blank_rfd; 548 enum ru_state ru_running; 550 spinlock_t cb_lock ____cacheline_aligned; 551 spinlock_t cmd_lock; 552 struct csr __iomem *csr; [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
| D | nicvf_main.c | 75 static inline u8 nicvf_netdev_qidx(struct nicvf *nic, u8 qidx) in nicvf_netdev_qidx() 93 void nicvf_reg_write(struct nicvf *nic, u64 offset, u64 val) in nicvf_reg_write() 98 u64 nicvf_reg_read(struct nicvf *nic, u64 offset) in nicvf_reg_read() 103 void nicvf_queue_reg_write(struct nicvf *nic, u64 offset, in nicvf_queue_reg_write() 111 u64 nicvf_queue_reg_read(struct nicvf *nic, u64 offset, u64 qidx) in nicvf_queue_reg_read() 119 static void nicvf_write_to_mbx(struct nicvf *nic, union nic_mbx *mbx) in nicvf_write_to_mbx() 127 int nicvf_send_msg_to_pf(struct nicvf *nic, union nic_mbx *mbx) in nicvf_send_msg_to_pf() 167 static int nicvf_check_pf_ready(struct nicvf *nic) in nicvf_check_pf_ready() 181 static void nicvf_send_cfg_done(struct nicvf *nic) in nicvf_send_cfg_done() 192 static void nicvf_read_bgx_stats(struct nicvf *nic, struct bgx_stats_msg *bgx) in nicvf_read_bgx_stats() [all …]
|
| D | nicvf_queues.c | 21 static void nicvf_get_page(struct nicvf *nic) in nicvf_get_page() 31 static int nicvf_poll_reg(struct nicvf *nic, int qidx, in nicvf_poll_reg() 53 static int nicvf_alloc_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem, in nicvf_alloc_q_desc_mem() 71 static void nicvf_free_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem) in nicvf_free_q_desc_mem() 92 static inline struct pgcache *nicvf_alloc_page(struct nicvf *nic, in nicvf_alloc_page() 175 static inline int nicvf_alloc_rcv_buffer(struct nicvf *nic, struct rbdr *rbdr, in nicvf_alloc_rcv_buffer() 232 static struct sk_buff *nicvf_rb_ptr_to_skb(struct nicvf *nic, in nicvf_rb_ptr_to_skb() 252 static int nicvf_init_rbdr(struct nicvf *nic, struct rbdr *rbdr, in nicvf_init_rbdr() 318 static void nicvf_free_rbdr(struct nicvf *nic, struct rbdr *rbdr) in nicvf_free_rbdr() 379 static void nicvf_refill_rbdr(struct nicvf *nic, gfp_t gfp) in nicvf_refill_rbdr() [all …]
|
| D | nicvf_ethtool.c | 121 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_link_ksettings() local 183 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_link() local 191 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_drvinfo() local 199 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_msglevel() local 206 struct nicvf *nic = netdev_priv(netdev); in nicvf_set_msglevel() local 211 static void nicvf_get_qset_strings(struct nicvf *nic, u8 **data, int qset) in nicvf_get_qset_strings() 235 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_strings() local 273 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_sset_count() local 297 static void nicvf_get_qset_stats(struct nicvf *nic, in nicvf_get_qset_stats() 323 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_ethtool_stats() local [all …]
|
| D | nic_main.c | 88 static void nic_reg_write(struct nicpf *nic, u64 offset, u64 val) in nic_reg_write() 93 static u64 nic_reg_read(struct nicpf *nic, u64 offset) in nic_reg_read() 99 static void nic_enable_mbx_intr(struct nicpf *nic) in nic_enable_mbx_intr() 119 static void nic_clear_mbx_intr(struct nicpf *nic, int vf, int mbx_reg) in nic_clear_mbx_intr() 133 static void nic_send_msg_to_vf(struct nicpf *nic, int vf, union nic_mbx *mbx) in nic_send_msg_to_vf() 158 static void nic_mbx_send_ready(struct nicpf *nic, int vf) in nic_mbx_send_ready() 188 static void nic_mbx_send_ack(struct nicpf *nic, int vf) in nic_mbx_send_ack() 200 static void nic_mbx_send_nack(struct nicpf *nic, int vf) in nic_mbx_send_nack() 211 static int nic_rcv_queue_sw_sync(struct nicpf *nic) in nic_rcv_queue_sw_sync() 231 static void nic_get_bgx_stats(struct nicpf *nic, struct bgx_stats_msg *bgx) in nic_get_bgx_stats() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/ |
| D | nicvf_main.c | 75 static inline u8 nicvf_netdev_qidx(struct nicvf *nic, u8 qidx) in nicvf_netdev_qidx() 93 void nicvf_reg_write(struct nicvf *nic, u64 offset, u64 val) in nicvf_reg_write() 98 u64 nicvf_reg_read(struct nicvf *nic, u64 offset) in nicvf_reg_read() 103 void nicvf_queue_reg_write(struct nicvf *nic, u64 offset, in nicvf_queue_reg_write() 111 u64 nicvf_queue_reg_read(struct nicvf *nic, u64 offset, u64 qidx) in nicvf_queue_reg_read() 119 static void nicvf_write_to_mbx(struct nicvf *nic, union nic_mbx *mbx) in nicvf_write_to_mbx() 127 int nicvf_send_msg_to_pf(struct nicvf *nic, union nic_mbx *mbx) in nicvf_send_msg_to_pf() 167 static int nicvf_check_pf_ready(struct nicvf *nic) in nicvf_check_pf_ready() 181 static void nicvf_send_cfg_done(struct nicvf *nic) in nicvf_send_cfg_done() 192 static void nicvf_read_bgx_stats(struct nicvf *nic, struct bgx_stats_msg *bgx) in nicvf_read_bgx_stats() [all …]
|
| D | nicvf_queues.c | 22 static void nicvf_get_page(struct nicvf *nic) in nicvf_get_page() 32 static int nicvf_poll_reg(struct nicvf *nic, int qidx, in nicvf_poll_reg() 54 static int nicvf_alloc_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem, in nicvf_alloc_q_desc_mem() 72 static void nicvf_free_q_desc_mem(struct nicvf *nic, struct q_desc_mem *dmem) in nicvf_free_q_desc_mem() 93 static inline struct pgcache *nicvf_alloc_page(struct nicvf *nic, in nicvf_alloc_page() 176 static inline int nicvf_alloc_rcv_buffer(struct nicvf *nic, struct rbdr *rbdr, in nicvf_alloc_rcv_buffer() 233 static struct sk_buff *nicvf_rb_ptr_to_skb(struct nicvf *nic, in nicvf_rb_ptr_to_skb() 253 static int nicvf_init_rbdr(struct nicvf *nic, struct rbdr *rbdr, in nicvf_init_rbdr() 319 static void nicvf_free_rbdr(struct nicvf *nic, struct rbdr *rbdr) in nicvf_free_rbdr() 380 static void nicvf_refill_rbdr(struct nicvf *nic, gfp_t gfp) in nicvf_refill_rbdr() [all …]
|
| D | nicvf_ethtool.c | 122 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_link_ksettings() local 184 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_link() local 192 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_drvinfo() local 200 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_msglevel() local 207 struct nicvf *nic = netdev_priv(netdev); in nicvf_set_msglevel() local 212 static void nicvf_get_qset_strings(struct nicvf *nic, u8 **data, int qset) in nicvf_get_qset_strings() 236 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_strings() local 274 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_sset_count() local 298 static void nicvf_get_qset_stats(struct nicvf *nic, in nicvf_get_qset_stats() 324 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_ethtool_stats() local [all …]
|
| D | nic_main.c | 88 static void nic_reg_write(struct nicpf *nic, u64 offset, u64 val) in nic_reg_write() 93 static u64 nic_reg_read(struct nicpf *nic, u64 offset) in nic_reg_read() 99 static void nic_enable_mbx_intr(struct nicpf *nic) in nic_enable_mbx_intr() 119 static void nic_clear_mbx_intr(struct nicpf *nic, int vf, int mbx_reg) in nic_clear_mbx_intr() 133 static void nic_send_msg_to_vf(struct nicpf *nic, int vf, union nic_mbx *mbx) in nic_send_msg_to_vf() 158 static void nic_mbx_send_ready(struct nicpf *nic, int vf) in nic_mbx_send_ready() 188 static void nic_mbx_send_ack(struct nicpf *nic, int vf) in nic_mbx_send_ack() 200 static void nic_mbx_send_nack(struct nicpf *nic, int vf) in nic_mbx_send_nack() 211 static int nic_rcv_queue_sw_sync(struct nicpf *nic) in nic_rcv_queue_sw_sync() 231 static void nic_get_bgx_stats(struct nicpf *nic, struct bgx_stats_msg *bgx) in nic_get_bgx_stats() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | otx2_tc.c | 53 static void otx2_get_egress_burst_cfg(struct otx2_nic *nic, u32 burst, in otx2_get_egress_burst_cfg() 117 u64 otx2_get_txschq_rate_regval(struct otx2_nic *nic, in otx2_get_txschq_rate_regval() 145 static int otx2_set_matchall_egress_rate(struct otx2_nic *nic, in otx2_set_matchall_egress_rate() 172 static int otx2_tc_validate_flow(struct otx2_nic *nic, in otx2_tc_validate_flow() 228 static int otx2_tc_egress_matchall_install(struct otx2_nic *nic, in otx2_tc_egress_matchall_install() 272 static int otx2_tc_egress_matchall_delete(struct otx2_nic *nic, in otx2_tc_egress_matchall_delete() 288 static int otx2_tc_act_set_hw_police(struct otx2_nic *nic, in otx2_tc_act_set_hw_police() 323 static int otx2_tc_act_set_police(struct otx2_nic *nic, in otx2_tc_act_set_police() 356 static int otx2_tc_parse_actions(struct otx2_nic *nic, in otx2_tc_parse_actions() 461 static int otx2_tc_process_vlan(struct otx2_nic *nic, struct flow_msg *flow_spec, in otx2_tc_process_vlan() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/gdm724x/ |
| D | gdm_lte.h | 52 struct nic { struct 59 u32 nic_id; argument 60 u16 vlan_id;
|
| D | gdm_lte.c | 71 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() 95 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 730 struct nic *nic = netdev_priv(dev); in gdm_lte_pdn_table() local [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/gdm724x/ |
| D | gdm_lte.h | 52 struct nic { struct 59 u32 nic_id; argument 60 u16 vlan_id;
|
| D | gdm_lte.c | 71 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() 95 struct nic *nic = netdev_priv(skb_in->dev); in gdm_lte_emulate_arp() local 215 struct nic *nic = netdev_priv(skb_in->dev); in gdm_lte_emulate_ndp() local 338 struct nic *nic = netdev_priv(dev); in gdm_lte_tx_nic_type() local 404 struct nic *nic = netdev_priv(dev); in gdm_lte_tx() local 498 struct nic *nic = netdev_priv(dev); in gdm_lte_stats() local 523 struct nic *nic = netdev_priv(dev); in gdm_lte_event_rcv() local 566 struct nic *nic; in gdm_lte_netif_rx() local 732 struct nic *nic = netdev_priv(dev); in gdm_lte_pdn_table() local [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
| D | aq_macsec.c | 292 struct aq_nic_s *nic = netdev_priv(ctx->netdev); in aq_mdo_dev_open() local 306 struct aq_nic_s *nic = netdev_priv(ctx->netdev); in aq_mdo_dev_stop() local 321 static int aq_set_txsc(struct aq_nic_s *nic, const int txsc_idx) in aq_set_txsc() 448 struct aq_nic_s *nic = netdev_priv(ctx->netdev); in aq_mdo_add_secy() local 486 struct aq_nic_s *nic = netdev_priv(ctx->netdev); in aq_mdo_upd_secy() local 504 static int aq_clear_txsc(struct aq_nic_s *nic, const int txsc_idx, in aq_clear_txsc() 543 struct aq_nic_s *nic = netdev_priv(ctx->netdev); in aq_mdo_del_secy() local 557 static int aq_update_txsa(struct aq_nic_s *nic, const unsigned int sc_idx, in aq_update_txsa() 594 struct aq_nic_s *nic = netdev_priv(ctx->netdev); in aq_mdo_add_txsa() local 624 struct aq_nic_s *nic = netdev_priv(ctx->netdev); in aq_mdo_upd_txsa() local [all …]
|
| D | aq_pci_func.c | 390 struct aq_nic_s *nic = pci_get_drvdata(to_pci_dev(dev)); in aq_suspend_common() local 412 struct aq_nic_s *nic; in atl_resume_common() local
|
| D | aq_drvinfo.c | 90 const struct aq_nic_s *nic = data; in aq_hwmon_is_visible() local
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/ |
| D | aq_macsec.c | 292 struct aq_nic_s *nic = macsec_netdev_priv(ctx->netdev); in aq_mdo_dev_open() local 303 struct aq_nic_s *nic = macsec_netdev_priv(ctx->netdev); in aq_mdo_dev_stop() local 315 static int aq_set_txsc(struct aq_nic_s *nic, const int txsc_idx) in aq_set_txsc() 442 struct aq_nic_s *nic = macsec_netdev_priv(ctx->netdev); in aq_mdo_add_secy() local 477 struct aq_nic_s *nic = macsec_netdev_priv(ctx->netdev); in aq_mdo_upd_secy() local 492 static int aq_clear_txsc(struct aq_nic_s *nic, const int txsc_idx, in aq_clear_txsc() 531 struct aq_nic_s *nic = macsec_netdev_priv(ctx->netdev); in aq_mdo_del_secy() local 542 static int aq_update_txsa(struct aq_nic_s *nic, const unsigned int sc_idx, in aq_update_txsa() 579 struct aq_nic_s *nic = macsec_netdev_priv(ctx->netdev); in aq_mdo_add_txsa() local 606 struct aq_nic_s *nic = macsec_netdev_priv(ctx->netdev); in aq_mdo_upd_txsa() local [all …]
|
| D | aq_pci_func.c | 385 struct aq_nic_s *nic = pci_get_drvdata(to_pci_dev(dev)); in aq_suspend_common() local 407 struct aq_nic_s *nic; in atl_resume_common() local
|
| D | aq_drvinfo.c | 90 const struct aq_nic_s *nic = data; in aq_hwmon_is_visible() local
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/neterion/ |
| D | s2io.c | 563 static int init_shared_mem(struct s2io_nic *nic) in init_shared_mem() 869 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() 1111 static int init_tti(struct s2io_nic *nic, int link, bool may_sleep) in init_tti() 1187 static int init_nic(struct s2io_nic *nic) in init_nic() 1820 static int s2io_link_fault_indication(struct s2io_nic *nic) in s2io_link_fault_indication() 1850 static void en_dis_err_alarms(struct s2io_nic *nic, u16 mask, int flag) in en_dis_err_alarms() 1988 static void en_dis_able_nic_intrs(struct s2io_nic *nic, u16 mask, int flag) in en_dis_able_nic_intrs() 2209 static int start_nic(struct s2io_nic *nic) in start_nic() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/neterion/ |
| D | s2io.c | 563 static int init_shared_mem(struct s2io_nic *nic) in init_shared_mem() 869 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() 2207 static int start_nic(struct s2io_nic *nic) in start_nic() [all …]
|
| /kernel/linux/linux-5.10/drivers/firmware/ |
| D | iscsi_ibft.c | 177 struct ibft_nic *nic; member 296 struct ibft_nic *nic = entry->nic; in ibft_attr_show_nic() local 475 struct ibft_nic *nic = entry->nic; in ibft_check_nic_for() local 632 struct ibft_nic *nic = (struct ibft_nic *)hdr; in ibft_create_kobject() local
|
| /kernel/linux/linux-6.6/drivers/firmware/ |
| D | iscsi_ibft.c | 175 struct ibft_nic *nic; member 294 struct ibft_nic *nic = entry->nic; in ibft_attr_show_nic() local 473 struct ibft_nic *nic = entry->nic; in ibft_check_nic_for() local 630 struct ibft_nic *nic = (struct ibft_nic *)hdr; in ibft_create_kobject() local
|