Home
last modified time | relevance | path

Searched refs:aq_fw_ops (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/
Daq_drvinfo.c30 if (!aq_nic->aq_fw_ops->get_phy_temp) in aq_hwmon_read()
35 err = aq_nic->aq_fw_ops->get_phy_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read()
55 if (!aq_nic->aq_fw_ops->get_phy_temp) in aq_hwmon_read_string()
Daq_ethtool.c402 if (!aq_nic->aq_fw_ops->get_eee_rate) in aq_ethtool_get_eee()
406 err = aq_nic->aq_fw_ops->get_eee_rate(aq_nic->aq_hw, &rate, in aq_ethtool_get_eee()
437 if (unlikely(!aq_nic->aq_fw_ops->get_eee_rate || in aq_ethtool_set_eee()
438 !aq_nic->aq_fw_ops->set_eee_rate)) in aq_ethtool_set_eee()
442 err = aq_nic->aq_fw_ops->get_eee_rate(aq_nic->aq_hw, &rate, in aq_ethtool_set_eee()
457 err = aq_nic->aq_fw_ops->set_eee_rate(aq_nic->aq_hw, rate); in aq_ethtool_set_eee()
468 if (unlikely(!aq_nic->aq_fw_ops->renegotiate)) in aq_ethtool_nway_reset()
473 err = aq_nic->aq_fw_ops->renegotiate(aq_nic->aq_hw); in aq_ethtool_nway_reset()
499 if (!aq_nic->aq_fw_ops->set_flow_control) in aq_ethtool_set_pauseparam()
516 err = aq_nic->aq_fw_ops->set_flow_control(aq_nic->aq_hw); in aq_ethtool_set_pauseparam()
Daq_nic.c136 int err = self->aq_fw_ops->update_link_status(self->aq_hw); in aq_nic_update_link_status()
152 if (self->aq_fw_ops->get_flow_control) in aq_nic_update_link_status()
153 self->aq_fw_ops->get_flow_control(self->aq_hw, &fc); in aq_nic_update_link_status()
203 if (self->aq_fw_ops->update_stats) in aq_nic_service_task()
204 self->aq_fw_ops->update_stats(self->aq_hw); in aq_nic_service_task()
242 err = hw_atl_utils_initfw(self->aq_hw, &self->aq_fw_ops); in aq_nic_ndev_register()
247 err = self->aq_fw_ops->get_mac_permanent(self->aq_hw, in aq_nic_ndev_register()
719 if (self->aq_fw_ops->update_stats) { in aq_nic_get_stats()
721 self->aq_fw_ops->update_stats(self->aq_hw); in aq_nic_get_stats()
913 err = self->aq_fw_ops->set_link_speed(self->aq_hw, rate); in aq_nic_set_link_ksettings()
[all …]
Daq_hw.h122 const struct aq_fw_ops *aq_fw_ops; member
241 struct aq_fw_ops { struct
Daq_nic.h93 const struct aq_fw_ops *aq_fw_ops; member
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.h433 struct aq_fw_ops;
437 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops);
485 extern const struct aq_fw_ops aq_fw_1x_ops;
486 extern const struct aq_fw_ops aq_fw_2x_ops;
Dhw_atl_utils.c61 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl_utils_initfw()
88 self->aq_fw_ops = *fw_ops; in hw_atl_utils_initfw()
89 err = self->aq_fw_ops->init(self); in hw_atl_utils_initfw()
953 const struct aq_fw_ops aq_fw_1x_ops = {
Dhw_atl_a0.c112 self->aq_fw_ops->set_state(self, MPI_RESET); in hw_atl_a0_hw_reset()
365 self->aq_fw_ops->set_link_speed(self, aq_nic_cfg->link_speed_msk); in hw_atl_a0_hw_init()
366 self->aq_fw_ops->set_state(self, MPI_INIT); in hw_atl_a0_hw_init()
377 self->aq_fw_ops->update_stats(self); in hw_atl_a0_hw_init()
Dhw_atl_b0.c97 self->aq_fw_ops->set_state(self, MPI_RESET); in hw_atl_b0_hw_reset()
408 self->aq_fw_ops->set_link_speed(self, aq_nic_cfg->link_speed_msk); in hw_atl_b0_hw_init()
409 self->aq_fw_ops->set_state(self, MPI_INIT); in hw_atl_b0_hw_init()
428 self->aq_fw_ops->update_stats(self); in hw_atl_b0_hw_init()
Dhw_atl_utils_fw2x.c536 const struct aq_fw_ops aq_fw_2x_ops = {