Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.h278 struct aq_fw_ops;
282 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops);
322 extern const struct aq_fw_ops aq_fw_1x_ops;
323 extern const struct aq_fw_ops aq_fw_2x_ops;
Dhw_atl_utils.c55 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl_utils_initfw()
82 self->aq_fw_ops = *fw_ops; in hw_atl_utils_initfw()
83 err = self->aq_fw_ops->init(self); in hw_atl_utils_initfw()
828 const struct aq_fw_ops aq_fw_1x_ops = {
Dhw_atl_b0.c96 self->aq_fw_ops->set_state(self, MPI_RESET); in hw_atl_b0_hw_reset()
390 self->aq_fw_ops->set_link_speed(self, aq_nic_cfg->link_speed_msk); in hw_atl_b0_hw_init()
391 self->aq_fw_ops->set_state(self, MPI_INIT); in hw_atl_b0_hw_init()
410 self->aq_fw_ops->update_stats(self); in hw_atl_b0_hw_init()
Dhw_atl_a0.c110 self->aq_fw_ops->set_state(self, MPI_RESET); in hw_atl_a0_hw_reset()
359 self->aq_fw_ops->set_link_speed(self, aq_nic_cfg->link_speed_msk); in hw_atl_a0_hw_init()
360 self->aq_fw_ops->set_state(self, MPI_INIT); in hw_atl_a0_hw_init()
371 self->aq_fw_ops->update_stats(self); in hw_atl_a0_hw_init()
Dhw_atl_utils_fw2x.c240 const struct aq_fw_ops aq_fw_2x_ops = {
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/
Daq_hw.h112 const struct aq_fw_ops *aq_fw_ops; member
210 struct aq_fw_ops { struct
Daq_nic.h71 const struct aq_fw_ops *aq_fw_ops; member
Daq_ethtool.c292 if (unlikely(!aq_nic->aq_fw_ops->renegotiate)) in aq_ethtool_nway_reset()
296 return aq_nic->aq_fw_ops->renegotiate(aq_nic->aq_hw); in aq_ethtool_nway_reset()
320 if (!aq_nic->aq_fw_ops->set_flow_control) in aq_ethtool_set_pauseparam()
336 err = aq_nic->aq_fw_ops->set_flow_control(aq_nic->aq_hw); in aq_ethtool_set_pauseparam()
Daq_nic.c126 int err = self->aq_fw_ops->update_link_status(self->aq_hw); in aq_nic_update_link_status()
168 if (self->aq_fw_ops->update_stats) in aq_nic_service_timer_cb()
169 self->aq_fw_ops->update_stats(self->aq_hw); in aq_nic_service_timer_cb()
204 err = hw_atl_utils_initfw(self->aq_hw, &self->aq_fw_ops); in aq_nic_ndev_register()
208 err = self->aq_fw_ops->get_mac_permanent(self->aq_hw, in aq_nic_ndev_register()
832 err = self->aq_fw_ops->set_link_speed(self->aq_hw, rate); in aq_nic_set_link_ksettings()
893 (void)self->aq_fw_ops->deinit(self->aq_hw); in aq_nic_deinit()