Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_drvinfo.c42 if (!aq_nic->aq_fw_ops->get_phy_temp) in aq_hwmon_read()
45 err = aq_nic->aq_fw_ops->get_phy_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read()
49 if (!aq_nic->aq_fw_ops->get_mac_temp && in aq_hwmon_read()
53 if (aq_nic->aq_fw_ops->get_mac_temp) in aq_hwmon_read()
54 err = aq_nic->aq_fw_ops->get_mac_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read()
95 if (channel == 0 && !nic->aq_fw_ops->get_phy_temp) in aq_hwmon_is_visible()
97 else if (channel == 1 && !nic->aq_fw_ops->get_mac_temp && in aq_hwmon_is_visible()
H A Daq_ethtool.c390 if (!aq_nic->aq_fw_ops->led_control) in aq_ethtool_set_phys_id()
397 ret = aq_nic->aq_fw_ops->led_control(hw, AQ_HW_LED_BLINK | in aq_ethtool_set_phys_id()
401 ret = aq_nic->aq_fw_ops->led_control(hw, AQ_HW_LED_DEFAULT); in aq_ethtool_set_phys_id()
697 if (!aq_nic->aq_fw_ops->get_eee_rate) in aq_ethtool_get_eee()
701 err = aq_nic->aq_fw_ops->get_eee_rate(aq_nic->aq_hw, &rate, in aq_ethtool_get_eee()
732 if (unlikely(!aq_nic->aq_fw_ops->get_eee_rate || in aq_ethtool_set_eee()
733 !aq_nic->aq_fw_ops->set_eee_rate)) in aq_ethtool_set_eee()
737 err = aq_nic->aq_fw_ops->get_eee_rate(aq_nic->aq_hw, &rate, in aq_ethtool_set_eee()
752 err = aq_nic->aq_fw_ops->set_eee_rate(aq_nic->aq_hw, rate); in aq_ethtool_set_eee()
763 if (unlikely(!aq_nic->aq_fw_ops->renegotiate)) in aq_ethtool_nway_reset()
[all …]
H A Daq_nic.h140 const struct aq_fw_ops *aq_fw_ops; member
H A Daq_ptp.c1172 if (!aq_nic->aq_fw_ops->enable_ptp) { in aq_ptp_init()
1221 aq_nic->aq_fw_ops->enable_ptp(aq_nic->aq_hw, 1); in aq_ptp_init()
1265 aq_nic->aq_fw_ops->enable_ptp(aq_nic->aq_hw, 0); in aq_ptp_free()
H A Daq_macsec.c1457 if (!nic->aq_fw_ops->get_link_capabilities) in aq_macsec_init()
1460 caps_lo = nic->aq_fw_ops->get_link_capabilities(nic->aq_hw); in aq_macsec_init()
1497 if (nic->aq_fw_ops->send_macsec_req) { in aq_macsec_enable()
1508 ret = nic->aq_fw_ops->send_macsec_req(hw, &msg, &resp); in aq_macsec_enable()
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2_utils.c33 int hw_atl2_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl2_utils_initfw()
47 self->aq_fw_ops = *fw_ops; in hw_atl2_utils_initfw()
48 err = self->aq_fw_ops->init(self); in hw_atl2_utils_initfw()
120 if (self->aq_fw_ops) { in hw_atl2_utils_soft_reset()
121 err = self->aq_fw_ops->init(self); in hw_atl2_utils_soft_reset()
H A Dhw_atl2_utils.h625 int hw_atl2_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops);
634 extern const struct aq_fw_ops aq_a2_fw_ops;
H A Dhw_atl2_utils_fw.c598 const struct aq_fw_ops aq_a2_fw_ops = {
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils.h581 struct aq_fw_ops;
585 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops);
640 extern const struct aq_fw_ops aq_fw_1x_ops;
641 extern const struct aq_fw_ops aq_fw_2x_ops;
H A Dhw_atl_utils.c67 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl_utils_initfw()
89 self->aq_fw_ops = *fw_ops; in hw_atl_utils_initfw()
90 err = self->aq_fw_ops->init(self); in hw_atl_utils_initfw()
1081 const struct aq_fw_ops aq_fw_1x_ops = {
H A Dhw_atl_utils_fw2x.c706 const struct aq_fw_ops aq_fw_2x_ops = {