Searched refs:aq_fw_ops (Results 1 – 16 of 16) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_drvinfo.c | 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() 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()
|
A D | aq_ethtool.c | 395 if (!aq_nic->aq_fw_ops->led_control) in aq_ethtool_set_phys_id() 402 ret = aq_nic->aq_fw_ops->led_control(hw, AQ_HW_LED_BLINK | in aq_ethtool_set_phys_id() 705 if (!aq_nic->aq_fw_ops->get_eee_rate) in aq_ethtool_get_eee() 709 err = aq_nic->aq_fw_ops->get_eee_rate(aq_nic->aq_hw, &rate, in aq_ethtool_get_eee() 740 if (unlikely(!aq_nic->aq_fw_ops->get_eee_rate || in aq_ethtool_set_eee() 741 !aq_nic->aq_fw_ops->set_eee_rate)) in aq_ethtool_set_eee() 745 err = aq_nic->aq_fw_ops->get_eee_rate(aq_nic->aq_hw, &rate, in aq_ethtool_set_eee() 771 if (unlikely(!aq_nic->aq_fw_ops->renegotiate)) in aq_ethtool_nway_reset() 776 err = aq_nic->aq_fw_ops->renegotiate(aq_nic->aq_hw); in aq_ethtool_nway_reset() 801 if (!aq_nic->aq_fw_ops->set_flow_control) in aq_ethtool_set_pauseparam() [all …]
|
A D | aq_nic.c | 164 if (self->aq_fw_ops->get_flow_control) in aq_nic_update_link_status() 248 if (self->aq_fw_ops->update_stats) in aq_nic_service_task() 249 self->aq_fw_ops->update_stats(self->aq_hw); in aq_nic_service_task() 1025 if (self->aq_fw_ops->update_stats) { in aq_nic_get_stats() 1027 self->aq_fw_ops->update_stats(self->aq_hw); in aq_nic_get_stats() 1352 !self->aq_fw_ops->set_phyloopback) in aq_nic_set_loopback() 1416 if (likely(self->aq_fw_ops->set_power)) { in aq_nic_set_power() 1418 self->aq_fw_ops->set_power(self->aq_hw, in aq_nic_set_power() 1446 self->aq_fw_ops->deinit(self->aq_hw); in aq_nic_deinit() 1557 if (!self->aq_fw_ops->set_downshift) in aq_nic_set_downshift() [all …]
|
A D | aq_hw.h | 181 const struct aq_fw_ops *aq_fw_ops; member 227 const struct aq_fw_ops **fw_ops); 345 struct aq_fw_ops { struct
|
A D | aq_nic.h | 140 const struct aq_fw_ops *aq_fw_ops; member
|
A D | aq_ptp.c | 1180 if (!aq_nic->aq_fw_ops->enable_ptp) { in aq_ptp_init() 1229 aq_nic->aq_fw_ops->enable_ptp(aq_nic->aq_hw, 1); in aq_ptp_init() 1273 aq_nic->aq_fw_ops->enable_ptp(aq_nic->aq_hw, 0); in aq_ptp_free()
|
A D | aq_macsec.c | 1457 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-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
A D | hw_atl2_utils.c | 33 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()
|
A D | hw_atl2.c | 105 self->aq_fw_ops->set_state(self, MPI_RESET); in hw_atl2_hw_reset() 561 self->aq_fw_ops->set_link_speed(self, aq_nic_cfg->link_speed_msk); in hw_atl2_hw_init() 562 self->aq_fw_ops->set_state(self, MPI_INIT); in hw_atl2_hw_init() 572 self->aq_fw_ops->update_stats(self); in hw_atl2_hw_init()
|
A D | hw_atl2_utils.h | 625 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;
|
A D | hw_atl2_utils_fw.c | 598 const struct aq_fw_ops aq_a2_fw_ops = {
|
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
A D | hw_atl_utils.h | 581 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;
|
A D | hw_atl_b0.c | 123 self->aq_fw_ops->set_state(self, MPI_RESET); in hw_atl_b0_hw_reset() 579 self->aq_fw_ops->set_link_speed(self, aq_nic_cfg->link_speed_msk); in hw_atl_b0_hw_init() 580 self->aq_fw_ops->set_state(self, MPI_INIT); in hw_atl_b0_hw_init() 599 self->aq_fw_ops->update_stats(self); in hw_atl_b0_hw_init() 1303 self->aq_fw_ops->adjust_ptp(self, self->ptp_clk_offset); in hw_atl_b0_adj_sys_clock() 1340 return self->aq_fw_ops->send_fw_request(self, &fwreq, size); in hw_atl_b0_adj_clock_freq() 1358 return self->aq_fw_ops->send_fw_request(self, &fwreq, size); in hw_atl_b0_gpio_pulse()
|
A D | hw_atl_utils.c | 67 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 = {
|
A D | hw_atl_a0.c | 116 self->aq_fw_ops->set_state(self, MPI_RESET); in hw_atl_a0_hw_reset() 367 self->aq_fw_ops->set_link_speed(self, aq_nic_cfg->link_speed_msk); in hw_atl_a0_hw_init() 368 self->aq_fw_ops->set_state(self, MPI_INIT); in hw_atl_a0_hw_init() 379 self->aq_fw_ops->update_stats(self); in hw_atl_a0_hw_init()
|
A D | hw_atl_utils_fw2x.c | 706 const struct aq_fw_ops aq_fw_2x_ops = {
|
Completed in 39 milliseconds