Lines Matching refs:aq_nic
30 struct aq_nic_s *aq_nic = dev_get_drvdata(dev); in aq_hwmon_read() local
34 if (!aq_nic) in aq_hwmon_read()
42 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()
50 !aq_nic->aq_hw_ops->hw_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()
56 err = aq_nic->aq_hw_ops->hw_get_mac_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read()
70 struct aq_nic_s *aq_nic = dev_get_drvdata(dev); in aq_hwmon_read_string() local
72 if (!aq_nic) in aq_hwmon_read_string()
139 struct aq_nic_s *aq_nic = netdev_priv(ndev); in aq_drvinfo_init() local
140 struct device *dev = &aq_nic->pdev->dev; in aq_drvinfo_init()
146 aq_nic, in aq_drvinfo_init()