Home
last modified time | relevance | path

Searched refs:aq_nic (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_ptp.c281 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_adjfine() local
300 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_adjtime() local
320 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_gettime() local
344 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_settime() local
395 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_perout_pin_configure() local
430 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_pps_pin_configure() local
452 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_extts_pin_ctrl() local
593 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_hwtstamp_config_set() local
659 struct aq_nic_s *aq_nic = aq_ptp->aq_nic; in aq_ptp_poll() local
1200 aq_ptp->aq_nic = aq_nic; in aq_ptp_init()
[all …]
A Daq_ptp.h37 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);
49 void aq_ptp_ring_deinit(struct aq_nic_s *aq_nic);
[all …]
A Daq_filters.c79 netdev_err(aq_nic->ndev, in aq_rule_already_exists()
97 netdev_err(aq_nic->ndev, in aq_check_approve_fl3l4()
104 netdev_err(aq_nic->ndev, in aq_check_approve_fl3l4()
109 netdev_err(aq_nic->ndev, in aq_check_approve_fl3l4()
115 netdev_err(aq_nic->ndev, in aq_check_approve_fl3l4()
134 netdev_err(aq_nic->ndev, in aq_check_approve_fl2()
143 netdev_err(aq_nic->ndev, in aq_check_approve_fl2()
270 if (!aq_nic) { in aq_rule_is_not_correct()
836 aq_fvlan_rebuild(aq_nic, aq_nic->active_vlans, in aq_filters_vlans_update()
874 memset(aq_nic->active_vlans, 0, sizeof(aq_nic->active_vlans)); in aq_filters_vlan_offload_off()
[all …]
A Daq_ethtool.c28 aq_nic_get_regs(aq_nic, regs, p); in aq_ethtool_get_regs()
486 err = aq_nic->aq_hw_ops->hw_rss_hash_set(aq_nic->aq_hw, in aq_ethtool_set_rss()
492 err = aq_nic->aq_hw_ops->hw_rss_set(aq_nic->aq_hw, &cfg->aq_rss); in aq_ethtool_set_rss()
649 if (!aq_nic->aq_ptp) in aq_ethtool_get_ts_info()
699 err = aq_nic->aq_fw_ops->get_eee_rate(aq_nic->aq_hw, &rate, in aq_ethtool_get_eee()
735 err = aq_nic->aq_fw_ops->get_eee_rate(aq_nic->aq_hw, &rate, in aq_ethtool_set_eee()
750 err = aq_nic->aq_fw_ops->set_eee_rate(aq_nic->aq_hw, rate); in aq_ethtool_set_eee()
766 err = aq_nic->aq_fw_ops->renegotiate(aq_nic->aq_hw); in aq_ethtool_nway_reset()
808 err = aq_nic->aq_fw_ops->set_flow_control(aq_nic->aq_hw); in aq_ethtool_set_pauseparam()
874 return aq_nic->msg_enable; in aq_get_msg_level()
[all …]
A Daq_main.c48 aq_nic = netdev_priv(ndev); in aq_ndev_alloc()
49 aq_nic->ndev = ndev; in aq_ndev_alloc()
61 err = aq_nic_init(aq_nic); in aq_ndev_open()
73 err = aq_nic_start(aq_nic); in aq_ndev_open()
75 aq_nic_stop(aq_nic); in aq_ndev_open()
81 aq_nic_deinit(aq_nic, true); in aq_ndev_open()
91 err = aq_nic_stop(aq_nic); in aq_ndev_close()
94 aq_nic_deinit(aq_nic, true); in aq_ndev_close()
182 err = aq_nic->aq_hw_ops->hw_set_offload(aq_nic->aq_hw, in aq_ndev_set_features()
274 if (!aq_nic->aq_ptp) in aq_ndev_hwtstamp_set()
[all …]
A Daq_drvinfo.c34 if (!aq_nic) in aq_hwmon_read()
42 if (!aq_nic->aq_fw_ops->get_phy_temp) in aq_hwmon_read()
45 err = aq_nic->aq_fw_ops->get_phy_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read()
49 if (!aq_nic->aq_fw_ops->get_mac_temp && in aq_hwmon_read()
50 !aq_nic->aq_hw_ops->hw_get_mac_temp) in aq_hwmon_read()
53 if (aq_nic->aq_fw_ops->get_mac_temp) in aq_hwmon_read()
54 err = aq_nic->aq_fw_ops->get_mac_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read()
56 err = aq_nic->aq_hw_ops->hw_get_mac_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read()
72 if (!aq_nic) in aq_hwmon_read_string()
140 struct device *dev = &aq_nic->pdev->dev; in aq_drvinfo_init()
[all …]
A Daq_filters.h23 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 …]
A Daq_ring.c96 aq_nic_get_dev(self->aq_nic)); in aq_get_rxpages()
109 struct aq_nic_s *aq_nic) in aq_ring_alloc() argument
138 struct aq_nic_s *aq_nic, in aq_ring_tx_alloc() argument
144 self->aq_nic = aq_nic; in aq_ring_tx_alloc()
149 self = aq_ring_alloc(self, aq_nic); in aq_ring_tx_alloc()
165 struct aq_nic_s *aq_nic, in aq_ring_rx_alloc() argument
171 self->aq_nic = aq_nic; in aq_ring_rx_alloc()
181 self = aq_ring_alloc(self, aq_nic); in aq_ring_rx_alloc()
205 self->aq_nic = aq_nic; in aq_ring_hwts_rx_alloc()
519 aq_nic->aq_hw_ops->extract_hwts(aq_nic->aq_hw, in aq_ring_hwts_rx_clean()
[all …]
A Daq_vec.c22 struct aq_nic_s *aq_nic; member
107 struct aq_vec_s *aq_vec_alloc(struct aq_nic_s *aq_nic, unsigned int idx, in aq_vec_alloc() argument
116 self->aq_nic = aq_nic; in aq_vec_alloc()
127 netif_napi_add(aq_nic_get_ndev(aq_nic), &self->napi, 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() argument
145 ring = aq_ring_tx_alloc(&self->ring[i][AQ_VEC_TX_ID], aq_nic, in aq_vec_ring_alloc()
154 aq_nic_set_tx_ring(aq_nic, idx_ring, ring); in aq_vec_ring_alloc()
156 ring = aq_ring_rx_alloc(&self->ring[i][AQ_VEC_RX_ID], aq_nic, in aq_vec_ring_alloc()
A Daq_ring.h127 struct aq_nic_s *aq_nic; member
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);
A Daq_vec.h27 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,
A DMakefile14 aq_nic.o \

Completed in 30 milliseconds