Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils_fw2x.c213 static void aq_fw2x_upd_eee_rate_bits(struct aq_hw_s *self, u32 *mpi_opts, in aq_fw2x_upd_eee_rate_bits() argument
216 *mpi_opts &= ~(HW_ATL_FW2X_CAP_EEE_1G_MASK | in aq_fw2x_upd_eee_rate_bits()
221 *mpi_opts |= eee_mask_to_fw2x(eee_speeds); in aq_fw2x_upd_eee_rate_bits()
306 u32 mpi_opts = aq_hw_read_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR); in aq_fw2x_update_stats() local
307 u32 orig_stats_val = mpi_opts & BIT(CAPS_HI_STATISTICS); in aq_fw2x_update_stats()
312 mpi_opts = mpi_opts ^ BIT(CAPS_HI_STATISTICS); in aq_fw2x_update_stats()
313 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_update_stats()
329 u32 mpi_opts = aq_hw_read_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR); in aq_fw2x_get_phy_temp() local
330 u32 temp_val = mpi_opts & HW_ATL_FW2X_CTRL_TEMPERATURE; in aq_fw2x_get_phy_temp()
340 mpi_opts = mpi_opts ^ HW_ATL_FW2X_CTRL_TEMPERATURE; in aq_fw2x_get_phy_temp()
[all …]