/linux-6.12.1/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 | 127 struct aq_nic_s { struct 168 static inline struct device *aq_nic_get_dev(struct aq_nic_s *self) in aq_nic_get_dev() argument 173 void aq_nic_ndev_init(struct aq_nic_s *self); 174 struct aq_nic_s *aq_nic_alloc_hot(struct net_device *ndev); 175 void aq_nic_set_tx_ring(struct aq_nic_s *self, unsigned int idx, 177 struct net_device *aq_nic_get_ndev(struct aq_nic_s *self); 178 int aq_nic_init(struct aq_nic_s *self); 179 void aq_nic_cfg_start(struct aq_nic_s *self); 180 int aq_nic_ndev_register(struct aq_nic_s *self); 181 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 | 48 struct aq_nic_s *aq_nic = NULL; in aq_ndev_alloc() 50 ndev = alloc_etherdev_mq(sizeof(struct aq_nic_s), AQ_HW_QUEUES_MAX); in aq_ndev_alloc() 64 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_open() 94 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_close() 105 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_start_xmit() 133 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_change_mtu() 160 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_set_features() 223 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_fix_features() 241 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_set_mac_address() 257 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ndev_set_multicast_settings() [all …]
|
D | aq_ethtool.c | 24 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_regs() 35 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_regs_len() 51 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_link_ksettings() 64 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_set_link_ksettings() 186 struct aq_nic_s *nic = netdev_priv(ndev); in aq_ethtool_n_stats() 214 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_stats() 230 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_get_drvinfo() 254 struct aq_nic_s *nic = netdev_priv(ndev); in aq_ethtool_get_strings() 385 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_ethtool_set_phys_id() 436 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_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_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() 277 static int aq_nic_hw_prepare(struct aq_nic_s *self) in aq_nic_hw_prepare() [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 = macsec_netdev_priv(ctx->netdev); in aq_mdo_dev_open() 303 struct aq_nic_s *nic = macsec_netdev_priv(ctx->netdev); in aq_mdo_dev_stop() 315 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 | 26 struct aq_nic_s; 33 struct aq_vec_s *aq_vec_alloc(struct aq_nic_s *aq_nic, unsigned int idx, 35 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 | 138 struct aq_nic_s *aq_nic; 187 struct aq_nic_s *aq_nic, 191 struct aq_nic_s *aq_nic, 211 struct aq_nic_s *aq_nic, unsigned int idx, 214 void aq_ring_hwts_rx_clean(struct aq_ring_s *self, struct aq_nic_s *aq_nic);
|
D | aq_pci_func.c | 147 int aq_pci_func_alloc_irq(struct aq_nic_s *self, unsigned int i, in aq_pci_func_alloc_irq() 172 void aq_pci_func_free_irqs(struct aq_nic_s *self) in aq_pci_func_free_irqs() 196 unsigned int aq_pci_func_get_irq_type(struct aq_nic_s *self) in aq_pci_func_get_irq_type() 206 static void aq_pci_free_irq_vectors(struct aq_nic_s *self) in aq_pci_free_irq_vectors() 216 struct aq_nic_s *self; in aq_pci_probe() 343 struct aq_nic_s *self = pci_get_drvdata(pdev); in aq_pci_remove() 367 struct aq_nic_s *self = pci_get_drvdata(pdev); in aq_pci_shutdown() 382 struct aq_nic_s *nic = pci_get_drvdata(to_pci_dev(dev)); in aq_suspend_common() 404 struct aq_nic_s *nic; in atl_resume_common()
|
D | aq_ring.c | 136 struct aq_nic_s *aq_nic) in aq_ring_alloc() 165 struct aq_nic_s *aq_nic, in aq_ring_tx_alloc() 178 struct aq_nic_s *aq_nic, in aq_ring_rx_alloc() 207 aq_ring_hwts_rx_alloc(struct aq_ring_s *self, struct aq_nic_s *aq_nic, in aq_ring_hwts_rx_alloc() 366 struct aq_nic_s *aq_nic = netdev_priv(dev); in aq_xdp_xmit() 405 static struct sk_buff *aq_xdp_run_prog(struct aq_nic_s *aq_nic, in aq_xdp_run_prog() 704 struct aq_nic_s *aq_nic = rx_ring->aq_nic; in __aq_ring_xdp_clean() 847 void aq_ring_hwts_rx_clean(struct aq_ring_s *self, struct aq_nic_s *aq_nic) in aq_ring_hwts_rx_clean()
|
D | aq_vec.c | 17 struct aq_nic_s *aq_nic; 102 struct aq_vec_s *aq_vec_alloc(struct aq_nic_s *aq_nic, unsigned int idx, in aq_vec_alloc() 128 int aq_vec_ring_alloc(struct aq_vec_s *self, struct aq_nic_s *aq_nic, in aq_vec_ring_alloc()
|