Home
last modified time | relevance | path

Searched refs:mpi_state (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils_fw2x.c189 u32 *mpi_state, u32 fc) in aq_fw2x_upd_flow_control_bits() argument
191 *mpi_state &= ~(HW_ATL_FW2X_CTRL_PAUSE | in aq_fw2x_upd_flow_control_bits()
201 *mpi_state |= HW_ATL_FW2X_CTRL_PAUSE | in aq_fw2x_upd_flow_control_bits()
205 *mpi_state |= HW_ATL_FW2X_CTRL_ASYMMETRIC_PAUSE; in aq_fw2x_upd_flow_control_bits()
224 u32 mpi_state = aq_hw_read_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR); in aq_fw2x_set_state() local
229 mpi_state &= ~BIT(CAPS_HI_LINK_DROP); in aq_fw2x_set_state()
230 aq_fw2x_upd_eee_rate_bits(self, &mpi_state, cfg->eee_speeds); in aq_fw2x_set_state()
231 aq_fw2x_upd_flow_control_bits(self, &mpi_state, in aq_fw2x_set_state()
235 mpi_state |= BIT(CAPS_HI_LINK_DROP); in aq_fw2x_set_state()
242 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_state); in aq_fw2x_set_state()
[all …]
Dhw_atl_utils.c702 u32 mpi_state; in hw_atl_utils_mpi_get_link_status() local
705 mpi_state = hw_atl_utils_mpi_get_state(self); in hw_atl_utils_mpi_get_link_status()
706 speed = mpi_state >> HW_ATL_MPI_SPEED_SHIFT; in hw_atl_utils_mpi_get_link_status()