Home
last modified time | relevance | path

Searched refs:aq_hw_ops (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_vec.c15 const struct aq_hw_ops *aq_hw_ops; member
46 if (self->aq_hw_ops->hw_ring_tx_head_update) { in aq_vec_poll()
47 err = self->aq_hw_ops->hw_ring_tx_head_update( in aq_vec_poll()
60 err = self->aq_hw_ops->hw_ring_rx_receive(self->aq_hw, in aq_vec_poll()
80 err = self->aq_hw_ops->hw_ring_rx_fill( in aq_vec_poll()
94 self->aq_hw_ops->hw_irq_enable(self->aq_hw, in aq_vec_poll()
180 int aq_vec_init(struct aq_vec_s *self, const struct aq_hw_ops *aq_hw_ops, in aq_vec_init() argument
187 self->aq_hw_ops = aq_hw_ops; in aq_vec_init()
196 err = self->aq_hw_ops->hw_ring_tx_init(self->aq_hw, in aq_vec_init()
206 err = self->aq_hw_ops->hw_ring_rx_init(self->aq_hw, in aq_vec_init()
[all …]
H A Daq_filters.c335 const struct aq_hw_ops *aq_hw_ops = aq_nic->aq_hw_ops; in aq_add_del_fether() local
339 if (unlikely(!aq_hw_ops->hw_filter_l2_set)) in aq_add_del_fether()
341 if (unlikely(!aq_hw_ops->hw_filter_l2_clear)) in aq_add_del_fether()
345 return aq_hw_ops->hw_filter_l2_set(aq_hw, &data); in aq_add_del_fether()
347 return aq_hw_ops->hw_filter_l2_clear(aq_hw, &data); in aq_add_del_fether()
456 const struct aq_hw_ops *aq_hw_ops = aq_nic->aq_hw_ops; in aq_add_del_fvlan() local
458 if (unlikely(!aq_hw_ops->hw_filter_vlan_set)) in aq_add_del_fvlan()
564 const struct aq_hw_ops *aq_hw_ops, in aq_set_fl3l4() argument
567 if (unlikely(!aq_hw_ops->hw_filter_l3l4_set)) in aq_set_fl3l4()
570 return aq_hw_ops->hw_filter_l3l4_set(aq_hw, data); in aq_set_fl3l4()
[all …]
H A Daq_vec.h25 struct aq_hw_ops;
37 int aq_vec_init(struct aq_vec_s *self, const struct aq_hw_ops *aq_hw_ops,
H A Daq_nic.c185 if (self->aq_hw_ops->hw_set_fc) in aq_nic_update_link_status()
186 self->aq_hw_ops->hw_set_fc(self->aq_hw, fc, 0); in aq_nic_update_link_status()
199 if (self->aq_hw_ops->hw_tc_rate_limit_set) in aq_nic_update_link_status()
200 self->aq_hw_ops->hw_tc_rate_limit_set(self->aq_hw); in aq_nic_update_link_status()
222 self->aq_hw_ops->hw_irq_enable(self->aq_hw, in aq_linkstate_threaded_isr()
281 err = self->aq_hw_ops->hw_soft_reset(self->aq_hw); in aq_nic_hw_prepare()
285 err = self->aq_hw_ops->hw_prepare(self->aq_hw, &self->aq_fw_ops); in aq_nic_hw_prepare()
413 err = self->aq_hw_ops->hw_reset(self->aq_hw); in aq_nic_init()
422 err = self->aq_hw_ops->hw_init(self->aq_hw, in aq_nic_init()
449 aq_vec_init(aq_vec, self->aq_hw_ops, self->aq_hw); in aq_nic_init()
[all …]
H A Daq_drvinfo.c50 !aq_nic->aq_hw_ops->hw_get_mac_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()
98 !nic->aq_hw_ops->hw_get_mac_temp) in aq_hwmon_is_visible()
H A Daq_nic.h22 struct aq_hw_ops;
139 const struct aq_hw_ops *aq_hw_ops; member
H A Daq_ethtool.c492 err = aq_nic->aq_hw_ops->hw_rss_hash_set(aq_nic->aq_hw, in aq_ethtool_set_rss()
498 err = aq_nic->aq_hw_ops->hw_rss_set(aq_nic->aq_hw, &cfg->aq_rss); in aq_ethtool_set_rss()
990 !aq_nic->aq_hw_ops->hw_read_module_eeprom) in aq_ethtool_get_module_info()
993 err = aq_nic->aq_hw_ops->hw_read_module_eeprom(aq_nic->aq_hw, in aq_ethtool_get_module_info()
998 err = aq_nic->aq_hw_ops->hw_read_module_eeprom(aq_nic->aq_hw, in aq_ethtool_get_module_info()
1020 if (!aq_nic->aq_hw_ops->hw_read_module_eeprom) in aq_ethtool_get_module_eeprom()
1030 err = aq_nic->aq_hw_ops->hw_read_module_eeprom(aq_nic->aq_hw, in aq_ethtool_get_module_eeprom()
1043 err = aq_nic->aq_hw_ops->hw_read_module_eeprom(aq_nic->aq_hw, in aq_ethtool_get_module_eeprom()
H A Daq_pci_func.h19 const struct aq_hw_ops *ops;
H A Daq_pci_func.c99 const struct aq_hw_ops **ops, in aq_pci_probe_get_hw_by_id()
242 err = aq_pci_probe_get_hw_by_id(pdev, &self->aq_hw_ops, in aq_pci_probe()
H A Daq_hw.h210 struct aq_hw_ops { struct
H A Daq_ring.c858 aq_nic->aq_hw_ops->extract_hwts(aq_nic->aq_hw, in aq_ring_hwts_rx_clean()
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2.h14 extern const struct aq_hw_ops hw_atl2_ops;
H A Dhw_atl2.c825 const struct aq_hw_ops hw_atl2_ops = {
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_a0.h21 extern const struct aq_hw_ops hw_atl_ops_a0;
H A Dhw_atl_b0.h31 extern const struct aq_hw_ops hw_atl_ops_b0;
H A Dhw_atl_b0.c1771 const struct aq_hw_ops hw_atl_ops_b0 = {