/linux/drivers/net/ethernet/intel/ |
H A D | e100.c | 536 struct nic { struct 541 u16 (*mdio_ctrl)(struct nic *nic, u32 addr, u32 dir, u32 reg, u16 data); argument 543 struct rx *rxs ____cacheline_aligned; 544 struct rx *rx_to_use; 545 struct rx *rx_to_clean; 546 struct rfd blank_rfd; 547 enum ru_state ru_running; 549 spinlock_t cb_lock ____cacheline_aligned; 550 spinlock_t cmd_lock; 551 struct csr __iomem *csr; [all …]
|
/linux/drivers/net/ethernet/cavium/thunder/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A D | nicvf_queues.h | 320 static inline u64 nicvf_iova_to_phys(struct nicvf *nic, dma_addr_t dma_addr) in nicvf_iova_to_phys()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A 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 …]
|
H A D | aq_drvinfo.c | 90 const struct aq_nic_s *nic = data; in aq_hwmon_is_visible() local
|
H A D | aq_ethtool.c | 187 struct aq_nic_s *nic = netdev_priv(ndev); in aq_ethtool_n_stats() local 255 struct aq_nic_s *nic = netdev_priv(ndev); in aq_ethtool_get_strings() local
|
/linux/drivers/firmware/ |
H A D | iscsi_ibft.c | 175 struct ibft_nic *nic; member 294 struct ibft_nic *nic = entry->nic; in ibft_attr_show_nic() local 476 struct ibft_nic *nic = entry->nic; in ibft_check_nic_for() local 633 struct ibft_nic *nic = (struct ibft_nic *)hdr; in ibft_create_kobject() local
|
/linux/drivers/net/ethernet/tehuti/ |
H A D | tehuti.c | 99 struct pci_nic *nic = pci_get_drvdata(pdev); in print_hw_id() local 115 static void print_fw_id(struct pci_nic *nic) in print_fw_id() 1889 struct pci_nic *nic; in bdx_probe() local 2395 struct pci_nic *nic = pci_get_drvdata(pdev); in bdx_remove() local
|
H A D | tehuti.h | 272 struct pci_nic *nic; member
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 185 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_port_base_vlan_filter_state() local 351 struct hnae3_handle *nic = &hdev->nic; in hclgevf_knic_setup() local 445 struct hnae3_handle *nic = &hdev->nic; in hclgevf_set_handle_info() local 2131 struct hnae3_handle *nic = &hdev->nic; in hclgevf_init_roce_base_info() local 2209 struct hnae3_handle *nic = &hdev->nic; in hclgevf_init_vlan_config() local 3084 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_max_channels() local 3296 struct hnae3_handle *nic = &hdev->nic; in hclgevf_update_port_base_vlan_info() local
|
H A D | hclgevf_main.h | 268 struct hnae3_handle nic; member
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_ctx.c | 905 struct qlcnic_info *nic) in qlcnic_82xx_set_nic_info() 965 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_82xx_get_pci_info() local
|
H A D | qlcnic_83xx_hw.c | 2378 struct qlcnic_info *nic) in qlcnic_83xx_set_nic_info() 2471 u16 *nic, u16 *fcoe, u16 *iscsi) in qlcnic_get_pci_func_type() 2500 u16 nic = 0, fcoe = 0, iscsi = 0; in qlcnic_83xx_get_pci_info() local
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
H A D | hclge_comm_rss.c | 34 int hclge_comm_rss_init_cfg(struct hnae3_handle *nic, in hclge_comm_rss_init_cfg()
|
/linux/drivers/scsi/be2iscsi/ |
H A D | be_mgmt.c | 803 struct be_cmd_get_nic_conf_resp *nic) in mgmt_get_nic_conf()
|
/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.c | 4256 struct be_nic_res_desc *nic; in be_get_nic_desc() local 4444 struct be_nic_res_desc *nic; in be_cmd_get_profile_config() local 4562 static void be_reset_nic_desc(struct be_nic_res_desc *nic) in be_reset_nic_desc()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 1734 struct hnae3_handle *nic = &vport->nic; in hclge_knic_setup() local 1760 struct hnae3_handle *nic = &vport->nic; in hclge_map_tqp_to_vport() local 1802 struct hnae3_handle *nic = &vport->nic; in hclge_vport_setup() local 2485 struct hnae3_handle *nic = &vport->nic; in hclge_init_roce_base_info() local 10414 struct hnae3_handle *nic = &vport->nic; in hclge_update_port_base_vlan_cfg() local
|
H A D | hclge_main.h | 1071 struct hnae3_handle nic; member
|
/linux/drivers/net/ethernet/neterion/ |
H A D | s2io.h | 710 struct s2io_nic *nic; member 788 struct s2io_nic *nic; member
|
/linux/arch/mips/include/asm/sn/ |
H A D | klconfig.h | 492 nic_t nic; /* MUst be aligned properly */ member
|