| /linux/drivers/net/ethernet/aquantia/atlantic/ ! |
| H A D | aq_vec.c | 15 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 D | aq_filters.c | 335 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 D | aq_ptp.c | 284 aq_nic->aq_hw_ops->hw_adj_clock_freq(aq_nic->aq_hw, in aq_ptp_adjfine() 304 aq_nic->aq_hw_ops->hw_adj_sys_clock(aq_nic->aq_hw, delta); in aq_ptp_adjtime() 325 aq_nic->aq_hw_ops->hw_get_ptp_ts(aq_nic->aq_hw, &ns); in aq_ptp_gettime() 350 aq_nic->aq_hw_ops->hw_get_ptp_ts(aq_nic->aq_hw, &now); in aq_ptp_settime() 351 aq_nic->aq_hw_ops->hw_adj_sys_clock(aq_nic->aq_hw, (s64)ns - (s64)now); in aq_ptp_settime() 382 aq_nic->aq_hw_ops->hw_gpio_pulse(aq_nic->aq_hw, pin_index, in aq_ptp_hw_pin_conf() 439 aq_nic->aq_hw_ops->hw_get_ptp_ts(aq_nic->aq_hw, &start); in aq_ptp_pps_pin_configure() 455 if (aq_nic->aq_hw_ops->hw_extts_gpio_enable) in aq_ptp_extts_pin_ctrl() 456 aq_nic->aq_hw_ops->hw_extts_gpio_enable(aq_nic->aq_hw, 0, in aq_ptp_extts_pin_ctrl() 594 const struct aq_hw_ops *hw_ops; in aq_ptp_hwtstamp_config_set() [all …]
|
| H A D | aq_nic.c | 185 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 D | aq_vec.h | 25 struct aq_hw_ops; 37 int aq_vec_init(struct aq_vec_s *self, const struct aq_hw_ops *aq_hw_ops,
|
| H A D | aq_drvinfo.c | 50 !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 D | aq_nic.h | 22 struct aq_hw_ops; 139 const struct aq_hw_ops *aq_hw_ops; member
|
| H A D | aq_ethtool.c | 492 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() 989 aq_nic->aq_hw_ops->hw_read_module_eeprom; in aq_ethtool_get_module_info() 996 const struct aq_hw_ops *hw_ops = aq_nic->aq_hw_ops; in aq_ethtool_get_module_info()
|
| H A D | aq_main.c | 194 err = aq_nic->aq_hw_ops->hw_set_offload(aq_nic->aq_hw, in aq_ndev_set_features() 316 if (!aq_nic->aq_hw_ops->hw_filter_vlan_set) in aq_ndo_vlan_rx_add_vid() 329 if (!aq_nic->aq_hw_ops->hw_filter_vlan_set) in aq_ndo_vlan_rx_kill_vid()
|
| H A D | aq_pci_func.h | 19 const struct aq_hw_ops *ops;
|
| H A D | aq_pci_func.c | 99 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 D | aq_hw.h | 210 struct aq_hw_ops { struct 212 hw_ring_tx_xmitaq_hw_ops global() argument 215 hw_ring_rx_receiveaq_hw_ops global() argument 218 hw_ring_rx_fillaq_hw_ops global() argument 221 hw_ring_tx_head_updateaq_hw_ops global() argument 224 hw_set_mac_addressaq_hw_ops global() argument 226 hw_soft_resetaq_hw_ops global() argument 228 hw_prepareaq_hw_ops global() argument 231 hw_resetaq_hw_ops global() argument 233 hw_initaq_hw_ops global() argument 235 hw_startaq_hw_ops global() argument 237 hw_stopaq_hw_ops global() argument 239 hw_ring_tx_initaq_hw_ops global() argument 242 hw_ring_tx_startaq_hw_ops global() argument 245 hw_ring_tx_stopaq_hw_ops global() argument 248 hw_ring_rx_initaq_hw_ops global() argument 252 hw_ring_rx_startaq_hw_ops global() argument 255 hw_ring_rx_stopaq_hw_ops global() argument 258 hw_irq_enableaq_hw_ops global() argument 260 hw_irq_disableaq_hw_ops global() argument 262 hw_irq_readaq_hw_ops global() argument 264 hw_packet_filter_setaq_hw_ops global() argument 267 hw_filter_l3l4_setaq_hw_ops global() argument 270 hw_filter_l3l4_clearaq_hw_ops global() argument 273 hw_filter_l2_setaq_hw_ops global() argument 276 hw_filter_l2_clearaq_hw_ops global() argument 279 hw_filter_vlan_setaq_hw_ops global() argument 282 hw_filter_vlan_ctrlaq_hw_ops global() argument 284 hw_multicast_list_setaq_hw_ops global() argument 289 hw_interrupt_moderation_setaq_hw_ops global() argument 291 hw_rss_setaq_hw_ops global() argument 294 hw_rss_hash_setaq_hw_ops global() argument 297 hw_tc_rate_limit_setaq_hw_ops global() argument 299 hw_get_regsaq_hw_ops global() argument 303 hw_get_hw_statsaq_hw_ops global() argument 305 hw_get_fw_versionaq_hw_ops global() argument 307 hw_set_offloadaq_hw_ops global() argument 310 hw_ring_hwts_rx_fillaq_hw_ops global() argument 313 hw_ring_hwts_rx_receiveaq_hw_ops global() argument 316 hw_get_ptp_tsaq_hw_ops global() argument 318 hw_adj_clock_freqaq_hw_ops global() argument 320 hw_adj_sys_clockaq_hw_ops global() argument 322 hw_set_sys_clockaq_hw_ops global() argument 324 hw_ts_to_sys_clockaq_hw_ops global() argument 326 hw_gpio_pulseaq_hw_ops global() argument 329 hw_extts_gpio_enableaq_hw_ops global() argument 332 hw_get_sync_tsaq_hw_ops global() argument 334 rx_extract_tsaq_hw_ops global() argument 337 extract_hwtsaq_hw_ops global() argument 340 hw_set_fcaq_hw_ops global() argument 342 hw_set_loopbackaq_hw_ops global() argument 344 hw_get_mac_tempaq_hw_ops global() argument 346 hw_read_module_eepromaq_hw_ops global() argument
|
| H A D | aq_ring.c | 858 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 D | hw_atl2.h | 14 extern const struct aq_hw_ops hw_atl2_ops;
|
| H A D | hw_atl2.c | 825 const struct aq_hw_ops hw_atl2_ops = {
|
| /linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ ! |
| H A D | hw_atl_a0.h | 21 extern const struct aq_hw_ops hw_atl_ops_a0;
|
| H A D | hw_atl_b0.h | 31 extern const struct aq_hw_ops hw_atl_ops_b0;
|
| H A D | hw_atl_a0.c | 947 const struct aq_hw_ops hw_atl_ops_a0 = {
|
| H A D | hw_atl_b0.c | 1771 const struct aq_hw_ops hw_atl_ops_b0 = {
|