Lines Matching refs:aq_hw
80 if (ATL_HW_IS_CHIP_FEATURE(self->aq_hw, ANTIGUA)) { in aq_nic_cfg_update_num_vecs()
158 int err = self->aq_fw_ops->update_link_status(self->aq_hw); in aq_nic_update_link_status()
165 self->aq_fw_ops->get_flow_control(self->aq_hw, &fc); in aq_nic_update_link_status()
168 if (self->link_status.mbps != self->aq_hw->aq_link_status.mbps) { in aq_nic_update_link_status()
171 self->aq_hw->aq_link_status.mbps); in aq_nic_update_link_status()
177 self->aq_hw->aq_link_status.mbps); 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()
189 self->link_status = self->aq_hw->aq_link_status; 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()
249 self->aq_fw_ops->update_stats(self->aq_hw); in aq_nic_service_task()
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()
320 err = self->aq_fw_ops->get_mac_permanent(self->aq_hw, addr); in aq_nic_ndev_register()
408 err = self->aq_hw_ops->hw_reset(self->aq_hw); in aq_nic_init()
417 err = self->aq_hw_ops->hw_init(self->aq_hw, in aq_nic_init()
422 if (ATL_HW_IS_CHIP_FEATURE(self->aq_hw, ATLANTIC) && in aq_nic_init()
424 self->aq_hw->phy_id = HW_ATL_PHY_ID_MAX; in aq_nic_init()
425 err = aq_phy_init(self->aq_hw); in aq_nic_init()
433 if (self->aq_hw->phy_id != HW_ATL_PHY_ID_MAX) in aq_nic_init()
434 aq_phy_disable_ptp(self->aq_hw); in aq_nic_init()
444 aq_vec_init(aq_vec, self->aq_hw_ops, self->aq_hw); in aq_nic_init()
476 err = self->aq_hw_ops->hw_multicast_list_set(self->aq_hw, in aq_nic_start()
482 err = self->aq_hw_ops->hw_packet_filter_set(self->aq_hw, in aq_nic_start()
500 err = self->aq_hw_ops->hw_start(self->aq_hw); in aq_nic_start()
543 err = self->aq_hw_ops->hw_irq_enable(self->aq_hw, in aq_nic_start()
854 err = aq_nic->aq_hw_ops->hw_ring_tx_xmit(aq_nic->aq_hw, tx_ring, in aq_nic_xmit_xdpf()
897 err = self->aq_hw_ops->hw_ring_tx_xmit(self->aq_hw, in aq_nic_xmit()
909 return self->aq_hw_ops->hw_interrupt_moderation_set(self->aq_hw); in aq_nic_update_interrupt_moderation_settings()
916 err = self->aq_hw_ops->hw_packet_filter_set(self->aq_hw, flags); in aq_nic_set_packet_filter()
958 err = hw_ops->hw_multicast_list_set(self->aq_hw, in aq_nic_set_multicast_list()
977 return self->aq_hw_ops->hw_set_mac_address(self->aq_hw, ndev->dev_addr); in aq_nic_set_mac()
995 err = self->aq_hw_ops->hw_get_regs(self->aq_hw, in aq_nic_get_regs()
1022 self->aq_fw_ops->update_stats(self->aq_hw); in aq_nic_get_stats()
1025 stats = self->aq_hw_ops->hw_get_hw_stats(self->aq_hw); in aq_nic_get_stats()
1080 struct aq_stats_s *stats = self->aq_hw_ops->hw_get_hw_stats(self->aq_hw); in aq_nic_update_ndev_stats()
1218 lp_link_speed_msk = self->aq_hw->aq_link_status.lp_link_speed_msk; in aq_nic_get_link_ksettings()
1256 if (self->aq_hw->aq_link_status.lp_flow_control & AQ_NIC_FC_RX) in aq_nic_get_link_ksettings()
1259 if (!!(self->aq_hw->aq_link_status.lp_flow_control & AQ_NIC_FC_TX) ^ in aq_nic_get_link_ksettings()
1260 !!(self->aq_hw->aq_link_status.lp_flow_control & AQ_NIC_FC_RX)) in aq_nic_get_link_ksettings()
1321 err = self->aq_fw_ops->set_link_speed(self->aq_hw, rate); in aq_nic_set_link_ksettings()
1339 return self->aq_hw_ops->hw_get_fw_version(self->aq_hw); in aq_nic_get_fw_version()
1351 self->aq_hw_ops->hw_set_loopback(self->aq_hw, in aq_nic_set_loopback()
1356 self->aq_hw_ops->hw_set_loopback(self->aq_hw, in aq_nic_set_loopback()
1361 self->aq_hw_ops->hw_set_loopback(self->aq_hw, in aq_nic_set_loopback()
1366 self->aq_fw_ops->set_phyloopback(self->aq_hw, in aq_nic_set_loopback()
1371 self->aq_fw_ops->set_phyloopback(self->aq_hw, in aq_nic_set_loopback()
1390 self->aq_hw_ops->hw_irq_disable(self->aq_hw, AQ_CFG_IRQ_MASK); in aq_nic_stop()
1404 return self->aq_hw_ops->hw_stop(self->aq_hw); in aq_nic_stop()
1410 self->aq_hw->aq_nic_cfg->wol) in aq_nic_set_power()
1413 self->aq_fw_ops->set_power(self->aq_hw, in aq_nic_set_power()
1441 self->aq_fw_ops->deinit(self->aq_hw); in aq_nic_deinit()
1497 aq_nic_deinit(self, !self->aq_hw->aq_nic_cfg->wol); in aq_nic_shutdown()
1562 err = self->aq_fw_ops->set_downshift(self->aq_hw, cfg->downshift_counter); in aq_nic_set_downshift()
1583 err = self->aq_fw_ops->set_media_detect(self->aq_hw, !!val); in aq_nic_set_media_detect()