Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/
Daq_vec.c19 const struct aq_hw_ops *aq_hw_ops; member
47 if (self->aq_hw_ops->hw_ring_tx_head_update) { in aq_vec_poll()
48 err = self->aq_hw_ops->hw_ring_tx_head_update( in aq_vec_poll()
61 err = self->aq_hw_ops->hw_ring_rx_receive(self->aq_hw, in aq_vec_poll()
81 err = self->aq_hw_ops->hw_ring_rx_fill( in aq_vec_poll()
95 self->aq_hw_ops->hw_irq_enable(self->aq_hw, in aq_vec_poll()
165 int aq_vec_init(struct aq_vec_s *self, const struct aq_hw_ops *aq_hw_ops, in aq_vec_init() argument
172 self->aq_hw_ops = aq_hw_ops; in aq_vec_init()
181 err = self->aq_hw_ops->hw_ring_tx_init(self->aq_hw, in aq_vec_init()
191 err = self->aq_hw_ops->hw_ring_rx_init(self->aq_hw, in aq_vec_init()
[all …]
Daq_filters.c327 const struct aq_hw_ops *aq_hw_ops = aq_nic->aq_hw_ops; in aq_add_del_fether() local
331 if (unlikely(!aq_hw_ops->hw_filter_l2_set)) in aq_add_del_fether()
333 if (unlikely(!aq_hw_ops->hw_filter_l2_clear)) in aq_add_del_fether()
337 return aq_hw_ops->hw_filter_l2_set(aq_hw, &data); in aq_add_del_fether()
339 return aq_hw_ops->hw_filter_l2_clear(aq_hw, &data); in aq_add_del_fether()
448 const struct aq_hw_ops *aq_hw_ops = aq_nic->aq_hw_ops; in aq_add_del_fvlan() local
450 if (unlikely(!aq_hw_ops->hw_filter_vlan_set)) in aq_add_del_fvlan()
556 const struct aq_hw_ops *aq_hw_ops, in aq_set_fl3l4() argument
559 if (unlikely(!aq_hw_ops->hw_filter_l3l4_set)) in aq_set_fl3l4()
562 return aq_hw_ops->hw_filter_l3l4_set(aq_hw, data); in aq_set_fl3l4()
[all …]
Daq_vec.h18 struct aq_hw_ops;
28 int aq_vec_init(struct aq_vec_s *self, const struct aq_hw_ops *aq_hw_ops,
Daq_nic.c154 if (self->aq_hw_ops->hw_set_fc) in aq_nic_update_link_status()
155 self->aq_hw_ops->hw_set_fc(self->aq_hw, fc, 0); in aq_nic_update_link_status()
184 self->aq_hw_ops->hw_irq_enable(self->aq_hw, in aq_linkstate_threaded_isr()
320 err = self->aq_hw_ops->hw_reset(self->aq_hw); in aq_nic_init()
325 err = self->aq_hw_ops->hw_init(self->aq_hw, in aq_nic_init()
332 aq_vec_init(aq_vec, self->aq_hw_ops, self->aq_hw); in aq_nic_init()
346 err = self->aq_hw_ops->hw_multicast_list_set(self->aq_hw, in aq_nic_start()
352 err = self->aq_hw_ops->hw_packet_filter_set(self->aq_hw, in aq_nic_start()
364 err = self->aq_hw_ops->hw_start(self->aq_hw); in aq_nic_start()
403 err = self->aq_hw_ops->hw_irq_enable(self->aq_hw, in aq_nic_start()
[all …]
Daq_nic.h17 struct aq_hw_ops;
92 const struct aq_hw_ops *aq_hw_ops; member
Daq_main.c152 err = aq_nic->aq_hw_ops->hw_set_offload(aq_nic->aq_hw, in aq_ndev_set_features()
205 if (!aq_nic->aq_hw_ops->hw_filter_vlan_set) in aq_ndo_vlan_rx_add_vid()
218 if (!aq_nic->aq_hw_ops->hw_filter_vlan_set) in aq_ndo_vlan_rx_kill_vid()
Daq_pci_func.h18 const struct aq_hw_ops *ops;
Daq_pci_func.c77 const struct aq_hw_ops **ops, in aq_pci_probe_get_hw_by_id()
227 err = aq_pci_probe_get_hw_by_id(pdev, &self->aq_hw_ops, in aq_pci_probe()
Daq_hw.h145 struct aq_hw_ops { struct
Daq_ethtool.c226 err = aq_nic->aq_hw_ops->hw_rss_hash_set(aq_nic->aq_hw, in aq_ethtool_set_rss()
232 err = aq_nic->aq_hw_ops->hw_rss_set(aq_nic->aq_hw, &cfg->aq_rss); in aq_ethtool_set_rss()
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_a0.h21 extern const struct aq_hw_ops hw_atl_ops_a0;
Dhw_atl_b0.h32 extern const struct aq_hw_ops hw_atl_ops_b0;
Dhw_atl_a0.c879 const struct aq_hw_ops hw_atl_ops_a0 = {
Dhw_atl_b0.c1144 const struct aq_hw_ops hw_atl_ops_b0 = {