/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ptp.h | 35 int aq_ptp_init(struct aq_nic_s *aq_nic, unsigned int idx_vec); 37 void aq_ptp_unregister(struct aq_nic_s *aq_nic); 38 void aq_ptp_free(struct aq_nic_s *aq_nic); 40 int aq_ptp_irq_alloc(struct aq_nic_s *aq_nic); 41 void aq_ptp_irq_free(struct aq_nic_s *aq_nic); 43 int aq_ptp_ring_alloc(struct aq_nic_s *aq_nic); 44 void aq_ptp_ring_free(struct aq_nic_s *aq_nic); 46 int aq_ptp_ring_init(struct aq_nic_s *aq_nic); 47 int aq_ptp_ring_start(struct aq_nic_s *aq_nic); 48 void aq_ptp_ring_stop(struct aq_nic_s *aq_nic); [all …]
|
D | aq_nic.h | 123 struct aq_nic_s { struct 161 static inline struct device *aq_nic_get_dev(struct aq_nic_s *self) in aq_nic_get_dev() argument 166 void aq_nic_ndev_init(struct aq_nic_s *self); 167 struct aq_nic_s *aq_nic_alloc_hot(struct net_device *ndev); 168 void aq_nic_set_tx_ring(struct aq_nic_s *self, unsigned int idx, 170 struct net_device *aq_nic_get_ndev(struct aq_nic_s *self); 171 int aq_nic_init(struct aq_nic_s *self); 172 void aq_nic_cfg_start(struct aq_nic_s *self); 173 int aq_nic_ndev_register(struct aq_nic_s *self); 174 void aq_nic_ndev_free(struct aq_nic_s *self); [all …]
|
D | aq_filters.h | 23 u16 aq_get_rxnfc_count_all_rules(struct aq_nic_s *aq_nic); 24 struct aq_hw_rx_fltrs_s *aq_get_hw_rx_fltrs(struct aq_nic_s *aq_nic); 25 int aq_add_rxnfc_rule(struct aq_nic_s *aq_nic, const struct ethtool_rxnfc *cmd); 26 int aq_del_rxnfc_rule(struct aq_nic_s *aq_nic, const struct ethtool_rxnfc *cmd); 27 int aq_get_rxnfc_rule(struct aq_nic_s *aq_nic, struct ethtool_rxnfc *cmd); 28 int aq_get_rxnfc_all_rules(struct aq_nic_s *aq_nic, struct ethtool_rxnfc *cmd, 30 int aq_del_fvlan_by_vlan(struct aq_nic_s *aq_nic, u16 vlan_id); 31 int aq_clear_rxnfc_all_rules(struct aq_nic_s *aq_nic); 32 int aq_reapply_rxnfc_all_rules(struct aq_nic_s *aq_nic); 33 int aq_filters_vlans_update(struct aq_nic_s *aq_nic); [all …]
|
D | aq_macsec.h | 14 struct aq_nic_s; 122 int aq_macsec_init(struct aq_nic_s *nic); 123 void aq_macsec_free(struct aq_nic_s *nic); 124 int aq_macsec_enable(struct aq_nic_s *nic); 125 void aq_macsec_work(struct aq_nic_s *nic); 126 u64 *aq_macsec_get_stats(struct aq_nic_s *nic, u64 *data); 127 int aq_macsec_rx_sa_cnt(struct aq_nic_s *nic); 128 int aq_macsec_tx_sc_cnt(struct aq_nic_s *nic); 129 int aq_macsec_tx_sa_cnt(struct aq_nic_s *nic);
|
D | aq_main.c | 42 struct aq_nic_s *aq_nic = NULL; in aq_ndev_alloc() 44 ndev = alloc_etherdev_mq(sizeof(struct aq_nic_s), AQ_HW_QUEUES_MAX); in aq_ndev_alloc() 58 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_open() 86 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_close() 100 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_start_xmit() 127 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_change_mtu() 145 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_set_features() 207 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_set_mac_address() 223 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_set_multicast_settings() 229 static int aq_ndev_config_hwtstamp(struct aq_nic_s *aq_nic, in aq_ndev_config_hwtstamp() [all …]
|
D | aq_ethtool.c | 22 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_regs() 33 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_regs_len() 49 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_link_ksettings() 62 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_set_link_ksettings() 175 struct aq_nic_s *nic = netdev_priv(ndev); in aq_ethtool_n_stats() 203 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_stats() 219 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_drvinfo() 243 struct aq_nic_s *nic = netdev_priv(ndev); in aq_ethtool_get_strings() 381 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_set_phys_id() 432 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_rss_key_size() [all …]
|
D | aq_filters.c | 67 aq_rule_already_exists(struct aq_nic_s *aq_nic, in aq_rule_already_exists() 88 static int aq_check_approve_fl3l4(struct aq_nic_s *aq_nic, in aq_check_approve_fl3l4() 125 aq_check_approve_fl2(struct aq_nic_s *aq_nic, in aq_check_approve_fl2() 152 aq_check_approve_fvlan(struct aq_nic_s *aq_nic, in aq_check_approve_fvlan() 185 aq_check_filter(struct aq_nic_s *aq_nic, in aq_check_filter() 234 aq_rule_is_not_support(struct aq_nic_s *aq_nic, in aq_rule_is_not_support() 264 aq_rule_is_not_correct(struct aq_nic_s *aq_nic, in aq_rule_is_not_correct() 293 aq_check_rule(struct aq_nic_s *aq_nic, in aq_check_rule() 308 static void aq_set_data_fl2(struct aq_nic_s *aq_nic, in aq_set_data_fl2() 330 static int aq_add_del_fether(struct aq_nic_s *aq_nic, in aq_add_del_fether() [all …]
|
D | aq_nic.c | 43 static void aq_nic_update_ndev_stats(struct aq_nic_s *self); 45 static void aq_nic_rss_init(struct aq_nic_s *self, unsigned int num_rss_queues) in aq_nic_rss_init() 69 static void aq_nic_cfg_update_num_vecs(struct aq_nic_s *self) in aq_nic_cfg_update_num_vecs() 96 void aq_nic_cfg_start(struct aq_nic_s *self) in aq_nic_cfg_start() 156 static int aq_nic_update_link_status(struct aq_nic_s *self) in aq_nic_update_link_status() 215 struct aq_nic_s *self = private; in aq_linkstate_threaded_isr() 230 struct aq_nic_s *self = container_of(work, struct aq_nic_s, in aq_nic_service_task() 257 struct aq_nic_s *self = from_timer(self, t, service_timer); in aq_nic_service_timer_cb() 267 struct aq_nic_s *self = from_timer(self, t, polling_timer); in aq_nic_polling_timer_cb() 279 static int aq_nic_hw_prepare(struct aq_nic_s *self) in aq_nic_hw_prepare() [all …]
|
D | aq_ptp.c | 53 struct aq_nic_s *aq_nic; 96 void aq_ptp_tm_offset_set(struct aq_nic_s *aq_nic, unsigned int mbps) in aq_ptp_tm_offset_set() 281 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_adjfine() 300 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_adjtime() 320 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_gettime() 344 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_settime() 366 static int aq_ptp_hw_pin_conf(struct aq_nic_s *aq_nic, u32 pin_index, u64 start, in aq_ptp_hw_pin_conf() 395 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_perout_pin_configure() 430 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_pps_pin_configure() 452 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_extts_pin_ctrl() [all …]
|
D | aq_macsec.c | 24 static int aq_clear_txsc(struct aq_nic_s *nic, const int txsc_idx, 26 static int aq_clear_txsa(struct aq_nic_s *nic, struct aq_macsec_txsc *aq_txsc, 28 static int aq_clear_rxsc(struct aq_nic_s *nic, const int rxsc_idx, 30 static int aq_clear_rxsa(struct aq_nic_s *nic, struct aq_macsec_rxsc *aq_rxsc, 32 static int aq_clear_secy(struct aq_nic_s *nic, const struct macsec_secy *secy, 34 static int aq_apply_macsec_cfg(struct aq_nic_s *nic); 35 static int aq_apply_secy_cfg(struct aq_nic_s *nic, 292 struct aq_nic_s *nic = netdev_priv(ctx->netdev); in aq_mdo_dev_open() 306 struct aq_nic_s *nic = netdev_priv(ctx->netdev); in aq_mdo_dev_stop() 321 static int aq_set_txsc(struct aq_nic_s *nic, const int txsc_idx) in aq_set_txsc() [all …]
|
D | aq_pci_func.h | 23 int aq_pci_func_alloc_irq(struct aq_nic_s *self, unsigned int i, 26 void aq_pci_func_free_irqs(struct aq_nic_s *self); 27 unsigned int aq_pci_func_get_irq_type(struct aq_nic_s *self);
|
D | aq_vec.h | 20 struct aq_nic_s; 27 struct aq_vec_s *aq_vec_alloc(struct aq_nic_s *aq_nic, unsigned int idx, 29 int aq_vec_ring_alloc(struct aq_vec_s *self, struct aq_nic_s *aq_nic,
|
D | aq_drvinfo.c | 30 struct aq_nic_s *aq_nic = dev_get_drvdata(dev); in aq_hwmon_read() 70 struct aq_nic_s *aq_nic = dev_get_drvdata(dev); in aq_hwmon_read_string() 90 const struct aq_nic_s *nic = data; in aq_hwmon_is_visible() 139 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_drvinfo_init()
|
D | aq_ring.h | 127 struct aq_nic_s *aq_nic; 171 struct aq_nic_s *aq_nic, 175 struct aq_nic_s *aq_nic, 192 struct aq_nic_s *aq_nic, unsigned int idx, 194 void aq_ring_hwts_rx_clean(struct aq_ring_s *self, struct aq_nic_s *aq_nic);
|
D | aq_pci_func.c | 148 int aq_pci_func_alloc_irq(struct aq_nic_s *self, unsigned int i, in aq_pci_func_alloc_irq() 173 void aq_pci_func_free_irqs(struct aq_nic_s *self) in aq_pci_func_free_irqs() 197 unsigned int aq_pci_func_get_irq_type(struct aq_nic_s *self) in aq_pci_func_get_irq_type() 207 static void aq_pci_free_irq_vectors(struct aq_nic_s *self) in aq_pci_free_irq_vectors() 217 struct aq_nic_s *self; in aq_pci_probe() 347 struct aq_nic_s *self = pci_get_drvdata(pdev); in aq_pci_remove() 371 struct aq_nic_s *self = pci_get_drvdata(pdev); in aq_pci_shutdown() 385 struct aq_nic_s *nic = pci_get_drvdata(to_pci_dev(dev)); in aq_suspend_common() 409 struct aq_nic_s *nic; in atl_resume_common()
|
D | aq_vec.c | 22 struct aq_nic_s *aq_nic; 107 struct aq_vec_s *aq_vec_alloc(struct aq_nic_s *aq_nic, unsigned int idx, in aq_vec_alloc() 134 int aq_vec_ring_alloc(struct aq_vec_s *self, struct aq_nic_s *aq_nic, in aq_vec_ring_alloc()
|
D | aq_ring.c | 109 struct aq_nic_s *aq_nic) in aq_ring_alloc() 138 struct aq_nic_s *aq_nic, in aq_ring_tx_alloc() 165 struct aq_nic_s *aq_nic, in aq_ring_rx_alloc() 197 aq_ring_hwts_rx_alloc(struct aq_ring_s *self, struct aq_nic_s *aq_nic, in aq_ring_hwts_rx_alloc() 504 void aq_ring_hwts_rx_clean(struct aq_ring_s *self, struct aq_nic_s *aq_nic) in aq_ring_hwts_rx_clean()
|