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()
283 err = self->aq_hw_ops->hw_soft_reset(self->aq_hw); in aq_nic_hw_prepare()
287 err = self->aq_hw_ops->hw_prepare(self->aq_hw, &self->aq_fw_ops); in aq_nic_hw_prepare()
319 err = self->aq_fw_ops->get_mac_permanent(self->aq_hw, in aq_nic_ndev_register()
404 err = self->aq_hw_ops->hw_reset(self->aq_hw); in aq_nic_init()
413 err = self->aq_hw_ops->hw_init(self->aq_hw, in aq_nic_init()
418 if (ATL_HW_IS_CHIP_FEATURE(self->aq_hw, ATLANTIC) && in aq_nic_init()
420 self->aq_hw->phy_id = HW_ATL_PHY_ID_MAX; in aq_nic_init()
421 err = aq_phy_init(self->aq_hw); in aq_nic_init()
429 if (self->aq_hw->phy_id != HW_ATL_PHY_ID_MAX) in aq_nic_init()
430 aq_phy_disable_ptp(self->aq_hw); in aq_nic_init()
440 aq_vec_init(aq_vec, self->aq_hw_ops, self->aq_hw); in aq_nic_init()
472 err = self->aq_hw_ops->hw_multicast_list_set(self->aq_hw, in aq_nic_start()
478 err = self->aq_hw_ops->hw_packet_filter_set(self->aq_hw, in aq_nic_start()
496 err = self->aq_hw_ops->hw_start(self->aq_hw); in aq_nic_start()
539 err = self->aq_hw_ops->hw_irq_enable(self->aq_hw, in aq_nic_start()
757 err = self->aq_hw_ops->hw_ring_tx_xmit(self->aq_hw, in aq_nic_xmit()
769 return self->aq_hw_ops->hw_interrupt_moderation_set(self->aq_hw); in aq_nic_update_interrupt_moderation_settings()
776 err = self->aq_hw_ops->hw_packet_filter_set(self->aq_hw, flags); in aq_nic_set_packet_filter()
818 err = hw_ops->hw_multicast_list_set(self->aq_hw, in aq_nic_set_multicast_list()
837 return self->aq_hw_ops->hw_set_mac_address(self->aq_hw, ndev->dev_addr); in aq_nic_set_mac()
855 err = self->aq_hw_ops->hw_get_regs(self->aq_hw, in aq_nic_get_regs()
883 self->aq_fw_ops->update_stats(self->aq_hw); in aq_nic_get_stats()
886 stats = self->aq_hw_ops->hw_get_hw_stats(self->aq_hw); in aq_nic_get_stats()
935 struct aq_stats_s *stats = self->aq_hw_ops->hw_get_hw_stats(self->aq_hw); in aq_nic_update_ndev_stats()
1073 lp_link_speed_msk = self->aq_hw->aq_link_status.lp_link_speed_msk; in aq_nic_get_link_ksettings()
1111 if (self->aq_hw->aq_link_status.lp_flow_control & AQ_NIC_FC_RX) in aq_nic_get_link_ksettings()
1114 if (!!(self->aq_hw->aq_link_status.lp_flow_control & AQ_NIC_FC_TX) ^ in aq_nic_get_link_ksettings()
1115 !!(self->aq_hw->aq_link_status.lp_flow_control & AQ_NIC_FC_RX)) in aq_nic_get_link_ksettings()
1176 err = self->aq_fw_ops->set_link_speed(self->aq_hw, rate); in aq_nic_set_link_ksettings()
1194 return self->aq_hw_ops->hw_get_fw_version(self->aq_hw); in aq_nic_get_fw_version()
1206 self->aq_hw_ops->hw_set_loopback(self->aq_hw, in aq_nic_set_loopback()
1211 self->aq_hw_ops->hw_set_loopback(self->aq_hw, in aq_nic_set_loopback()
1216 self->aq_hw_ops->hw_set_loopback(self->aq_hw, in aq_nic_set_loopback()
1221 self->aq_fw_ops->set_phyloopback(self->aq_hw, in aq_nic_set_loopback()
1226 self->aq_fw_ops->set_phyloopback(self->aq_hw, in aq_nic_set_loopback()
1246 self->aq_hw_ops->hw_irq_disable(self->aq_hw, AQ_CFG_IRQ_MASK); in aq_nic_stop()
1261 return self->aq_hw_ops->hw_stop(self->aq_hw); in aq_nic_stop()
1267 self->aq_hw->aq_nic_cfg->wol) in aq_nic_set_power()
1270 self->aq_fw_ops->set_power(self->aq_hw, in aq_nic_set_power()
1298 self->aq_fw_ops->deinit(self->aq_hw); in aq_nic_deinit()
1354 aq_nic_deinit(self, !self->aq_hw->aq_nic_cfg->wol); in aq_nic_shutdown()
1419 err = self->aq_fw_ops->set_downshift(self->aq_hw, cfg->downshift_counter); in aq_nic_set_downshift()
1440 err = self->aq_fw_ops->set_media_detect(self->aq_hw, !!val); in aq_nic_set_media_detect()