Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/net/ethernet/intel/
H A De100.c537 struct nic { struct
542 u16 (*mdio_ctrl)(struct nic *nic, u32 addr, u32 dir, u32 reg, u16 data); argument
551 spinlock_t cmd_lock;
556 struct cb *cbs;
560 __le16 tx_command;
563 enum {
571 enum mac mac;
572 enum phy phy;
579 struct mem *mem;
606 static inline void e100_write_flush(struct nic *nic) in e100_write_flush()
[all …]
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_main.c333 void nicvf_config_rss(struct nicvf *nic) in nicvf_config_rss()
358 void nicvf_set_rss_key(struct nicvf *nic) in nicvf_set_rss_key()
620 struct nicvf *nic = netdev_priv(netdev); in nicvf_snd_ptp_handler() local
662 struct nicvf *nic = netdev_priv(netdev); in nicvf_snd_pkt_handler() local
776 struct nicvf *nic = netdev_priv(netdev); in nicvf_rcv_pkt_handler() local
1042 struct nicvf *nic = cq_poll->nicvf; in nicvf_intr_handler() local
1740 struct nicvf *nic = netdev_priv(dev); in nicvf_tx_timeout() local
1750 struct nicvf *nic; in nicvf_reset_task() local
1972 struct nicvf *nic) in __nicvf_set_rx_mode_task()
2098 struct nicvf *nic; in nicvf_probe() local
[all …]
H A Dnicvf_queues.c22 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()
476 static int nicvf_init_cmp_queue(struct nicvf *nic, in nicvf_init_cmp_queue()
504 static int nicvf_init_snd_queue(struct nicvf *nic, in nicvf_init_snd_queue()
660 static void nicvf_reclaim_rbdr(struct nicvf *nic, in nicvf_reclaim_rbdr()
989 static void nicvf_free_resources(struct nicvf *nic) in nicvf_free_resources()
1007 static int nicvf_alloc_resources(struct nicvf *nic) in nicvf_alloc_resources()
1037 int nicvf_set_qset_resources(struct nicvf *nic) in nicvf_set_qset_resources()
1171 void nicvf_sq_disable(struct nicvf *nic, int qidx) in nicvf_sq_disable()
1185 struct nicvf *nic = netdev_priv(netdev); in nicvf_sq_free_used_descs() local
[all …]
H A Dnicvf_ethtool.c122 struct nicvf *nic = netdev_priv(netdev); in nicvf_get_link_ksettings() local
366 struct nicvf *nic = netdev_priv(dev); in nicvf_get_regs() local
547 struct nicvf *nic = netdev_priv(dev); in nicvf_get_rxnfc() local
633 struct nicvf *nic = netdev_priv(dev); in nicvf_set_rxnfc() local
651 struct nicvf *nic = netdev_priv(dev); in nicvf_get_rxfh_indir_size() local
659 struct nicvf *nic = netdev_priv(dev); in nicvf_get_rxfh() local
680 struct nicvf *nic = netdev_priv(dev); in nicvf_set_rxfh() local
711 struct nicvf *nic = netdev_priv(dev); in nicvf_get_channels() local
726 struct nicvf *nic = netdev_priv(dev); in nicvf_set_channels() local
791 struct nicvf *nic = netdev_priv(dev); in nicvf_get_pauseparam() local
[all …]
H A Dnic_main.c93 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()
188 static void nic_mbx_send_ack(struct nicpf *nic, int vf) in nic_mbx_send_ack()
211 static int nic_rcv_queue_sw_sync(struct nicpf *nic) in nic_rcv_queue_sw_sync()
317 static void nic_set_lmac_vf_mapping(struct nicpf *nic) in nic_set_lmac_vf_mapping()
357 static void nic_get_hw_info(struct nicpf *nic) in nic_get_hw_info()
411 static void nic_init_hw(struct nicpf *nic) in nic_init_hw()
720 static int nic_nxt_avail_sqs(struct nicpf *nic) in nic_nxt_avail_sqs()
1148 struct nicpf *nic = (struct nicpf *)nic_irq; in nic_mbx_intr_handler() local
1294 struct nicpf *nic; in nic_probe() local
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c117 u64 otx2_get_txschq_rate_regval(struct otx2_nic *nic, in otx2_get_txschq_rate_regval()
172 static int otx2_tc_validate_flow(struct otx2_nic *nic, in otx2_tc_validate_flow()
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()
996 static int otx2_tc_del_flow(struct otx2_nic *nic, in otx2_tc_del_flow()
1042 static int otx2_tc_add_flow(struct otx2_nic *nic, in otx2_tc_add_flow()
1299 struct otx2_nic *nic = cb_priv; in otx2_setup_tc_block_ingress_cb() local
1343 struct otx2_nic *nic = cb_priv; in otx2_setup_tc_block_egress_cb() local
1363 struct otx2_nic *nic = netdev_priv(netdev); in otx2_setup_tc_block() local
1398 int otx2_init_tc(struct otx2_nic *nic) in otx2_init_tc()
[all …]
/openbmc/linux/drivers/staging/gdm724x/
H A Dgdm_lte.h52 struct nic { struct
59 u32 nic_id; argument
60 u16 vlan_id;
H A 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()
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 …]
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_macsec.c292 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
1256 static int aq_apply_secy_cfg(struct aq_nic_s *nic, in aq_apply_secy_cfg()
1282 static int aq_apply_macsec_cfg(struct aq_nic_s *nic) in aq_apply_macsec_cfg()
1452 int aq_macsec_init(struct aq_nic_s *nic) in aq_macsec_init()
1476 void aq_macsec_free(struct aq_nic_s *nic) in aq_macsec_free()
1482 int aq_macsec_enable(struct aq_nic_s *nic) in aq_macsec_enable()
1548 void aq_macsec_work(struct aq_nic_s *nic) in aq_macsec_work()
1561 int aq_macsec_rx_sa_cnt(struct aq_nic_s *nic) in aq_macsec_rx_sa_cnt()
1581 int aq_macsec_tx_sc_cnt(struct aq_nic_s *nic) in aq_macsec_tx_sc_cnt()
[all …]
H A Daq_pci_func.c385 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
H A Daq_drvinfo.c90 const struct aq_nic_s *nic = data; in aq_hwmon_is_visible() local
/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.c563 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()
1187 static int init_nic(struct s2io_nic *nic) in init_nic()
2209 static int start_nic(struct s2io_nic *nic) in start_nic()
2322 struct s2io_nic *nic = fifo_data->nic; in s2io_txdl_getskb() local
2366 static void free_tx_buffers(struct s2io_nic *nic) in free_tx_buffers()
2412 static void stop_nic(struct s2io_nic *nic) in stop_nic()
2767 struct s2io_nic *nic = netdev_priv(dev); in s2io_poll_msix() local
2832 struct s2io_nic *nic = netdev_priv(dev); in s2io_netpoll() local
2998 struct s2io_nic *nic = fifo_data->nic; in tx_intr_handler() local
[all …]
/openbmc/qemu/net/
H A Dnet.c326 NICState *nic; in qemu_new_nic() local
347 NetClientState *qemu_get_subqueue(NICState *nic, int queue_index) in qemu_get_subqueue()
352 NetClientState *qemu_get_queue(NICState *nic) in qemu_get_queue()
366 NICState *nic = qemu_get_nic(nc); in qemu_get_nic_opaque() local
424 NICState *nic = qemu_get_nic(nc->peer); in qemu_del_net_client() local
451 void qemu_del_nic(NICState *nic) in qemu_del_nic()
1028 const NetLegacyNicOptions *nic; in net_init_nic() local
H A Dannounce.c136 static void qemu_announce_self_iter(NICState *nic, void *opaque) in qemu_announce_self_iter()
/openbmc/qemu/include/hw/net/
H A Dftgmac100.h30 NICState *nic; member
80 FTGMAC100State *nic; member
H A Dmsf2-emac.h45 NICState *nic; member
H A Ddp8393x.h44 NICState *nic; member
H A Dallwinner-sun8i-emac.h58 NICState *nic; member
/openbmc/linux/drivers/firmware/
H A Discsi_ibft.c175 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
/openbmc/qemu/hw/xen/
H A Dxen_devconfig.c49 int xen_config_dev_nic(NICInfo *nic) in xen_config_dev_nic()
/openbmc/qemu/hw/net/
H A Di82596.h21 NICState *nic; member
H A Dne2000.h32 NICState *nic; member
/openbmc/linux/drivers/net/ethernet/tehuti/
H A Dtehuti.c99 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
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c150 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_port_base_vlan_filter_state() local
316 struct hnae3_handle *nic = &hdev->nic; in hclgevf_knic_setup() local
410 struct hnae3_handle *nic = &hdev->nic; in hclgevf_set_handle_info() local
2070 struct hnae3_handle *nic = &hdev->nic; in hclgevf_init_roce_base_info() local
2148 struct hnae3_handle *nic = &hdev->nic; in hclgevf_init_vlan_config() local
3019 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_max_channels() local
3231 struct hnae3_handle *nic = &hdev->nic; in hclgevf_update_port_base_vlan_info() local
/openbmc/u-boot/board/toradex/common/
H A Dtdx-cfg-block.h20 u32 nic:24; member

1234