Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils_fw2x.c210 static void aq_fw2x_upd_eee_rate_bits(struct aq_hw_s *self, u32 *mpi_opts, in aq_fw2x_upd_eee_rate_bits() argument
213 *mpi_opts &= ~(HW_ATL_FW2X_CAP_EEE_1G_MASK | in aq_fw2x_upd_eee_rate_bits()
218 *mpi_opts |= eee_mask_to_fw2x(eee_speeds); in aq_fw2x_upd_eee_rate_bits()
303 u32 mpi_opts = aq_hw_read_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR); in aq_fw2x_update_stats() local
304 u32 orig_stats_val = mpi_opts & BIT(CAPS_HI_STATISTICS); in aq_fw2x_update_stats()
309 mpi_opts = mpi_opts ^ BIT(CAPS_HI_STATISTICS); in aq_fw2x_update_stats()
310 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_update_stats()
326 u32 mpi_opts = aq_hw_read_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR); in aq_fw2x_get_phy_temp() local
327 u32 temp_val = mpi_opts & HW_ATL_FW2X_CTRL_TEMPERATURE; in aq_fw2x_get_phy_temp()
337 mpi_opts = mpi_opts ^ HW_ATL_FW2X_CTRL_TEMPERATURE; in aq_fw2x_get_phy_temp()
[all …]