Searched refs:aq_nic_s (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_nic.h | 60 struct aq_nic_s { struct 86 static inline struct device *aq_nic_get_dev(struct aq_nic_s *self) in aq_nic_get_dev() argument 91 void aq_nic_ndev_init(struct aq_nic_s *self); 92 struct aq_nic_s *aq_nic_alloc_hot(struct net_device *ndev); 93 void aq_nic_set_tx_ring(struct aq_nic_s *self, unsigned int idx, 95 struct net_device *aq_nic_get_ndev(struct aq_nic_s *self); 96 int aq_nic_init(struct aq_nic_s *self); 97 void aq_nic_cfg_start(struct aq_nic_s *self); 98 int aq_nic_ndev_register(struct aq_nic_s *self); 99 void aq_nic_ndev_free(struct aq_nic_s *self); [all …]
|
D | aq_main.c | 30 struct aq_nic_s *aq_nic = NULL; in aq_ndev_alloc() 32 ndev = alloc_etherdev_mq(sizeof(struct aq_nic_s), AQ_CFG_VECS_MAX); in aq_ndev_alloc() 47 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_open() 65 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_close() 78 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_start_xmit() 85 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_change_mtu() 99 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_set_features() 121 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_set_mac_address() 137 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_set_multicast_settings()
|
D | aq_ethtool.c | 19 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_regs() 28 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_regs_len() 42 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_link_ksettings() 55 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_set_link_ksettings() 97 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_stats() 109 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_drvinfo() 135 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_strings() 158 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_sset_count() 179 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_rss_key_size() 188 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_rss() [all …]
|
D | aq_nic.c | 39 static void aq_nic_update_ndev_stats(struct aq_nic_s *self); 41 static void aq_nic_rss_init(struct aq_nic_s *self, unsigned int num_rss_queues) in aq_nic_rss_init() 64 void aq_nic_cfg_start(struct aq_nic_s *self) in aq_nic_cfg_start() 124 static int aq_nic_update_link_status(struct aq_nic_s *self) in aq_nic_update_link_status() 157 struct aq_nic_s *self = from_timer(self, t, service_timer); in aq_nic_service_timer_cb() 183 struct aq_nic_s *self = from_timer(self, t, polling_timer); in aq_nic_polling_timer_cb() 195 int aq_nic_ndev_register(struct aq_nic_s *self) in aq_nic_ndev_register() 243 void aq_nic_ndev_init(struct aq_nic_s *self) in aq_nic_ndev_init() 260 void aq_nic_set_tx_ring(struct aq_nic_s *self, unsigned int idx, in aq_nic_set_tx_ring() 266 struct net_device *aq_nic_get_ndev(struct aq_nic_s *self) in aq_nic_get_ndev() [all …]
|
D | aq_pci_func.h | 26 int aq_pci_func_alloc_irq(struct aq_nic_s *self, unsigned int i, 29 void aq_pci_func_free_irqs(struct aq_nic_s *self); 30 unsigned int aq_pci_func_get_irq_type(struct aq_nic_s *self);
|
D | aq_pci_func.c | 140 int aq_pci_func_alloc_irq(struct aq_nic_s *self, unsigned int i, in aq_pci_func_alloc_irq() 164 void aq_pci_func_free_irqs(struct aq_nic_s *self) in aq_pci_func_free_irqs() 180 unsigned int aq_pci_func_get_irq_type(struct aq_nic_s *self) in aq_pci_func_get_irq_type() 189 static void aq_pci_free_irq_vectors(struct aq_nic_s *self) in aq_pci_free_irq_vectors() 197 struct aq_nic_s *self = NULL; in aq_pci_probe() 309 struct aq_nic_s *self = pci_get_drvdata(pdev); in aq_pci_remove() 327 struct aq_nic_s *self = pci_get_drvdata(pdev); in aq_pci_shutdown() 341 struct aq_nic_s *self = pci_get_drvdata(pdev); in aq_pci_suspend() 348 struct aq_nic_s *self = pci_get_drvdata(pdev); in aq_pci_resume()
|
D | aq_ring.h | 111 struct aq_nic_s *aq_nic; 143 struct aq_nic_s *aq_nic, 147 struct aq_nic_s *aq_nic,
|
D | aq_vec.h | 22 struct aq_nic_s; 29 struct aq_vec_s *aq_vec_alloc(struct aq_nic_s *aq_nic, unsigned int idx,
|
D | aq_ring.c | 20 struct aq_nic_s *aq_nic) in aq_ring_alloc() 48 struct aq_nic_s *aq_nic, in aq_ring_tx_alloc() 74 struct aq_nic_s *aq_nic, in aq_ring_rx_alloc()
|
D | aq_vec.c | 24 struct aq_nic_s *aq_nic; 105 struct aq_vec_s *aq_vec_alloc(struct aq_nic_s *aq_nic, unsigned int idx, in aq_vec_alloc()
|