Lines Matching refs:sensor
58 uint16_t sensor; in mcdi_mon_decode_stats() local
88 for (sensor = 0; sensor < sensor_max; ++sensor) { in mcdi_mon_decode_stats()
94 if ((sensor % (MC_CMD_SENSOR_PAGE0_NEXT + 1)) == in mcdi_mon_decode_stats()
101 if (~(sensor_mask[page]) & (1U << sensor)) in mcdi_mon_decode_stats()
111 decode_ok = efx_mon_mcdi_to_efx_stat(sensor, &id); in mcdi_mon_decode_stats()
165 uint16_t sensor; in mcdi_mon_ev() local
174 sensor = (uint16_t)MCDI_EV_FIELD(eqp, SENSOREVT_MONITOR); in mcdi_mon_ev()
179 EFSYS_ASSERT3U(sensor, <, in mcdi_mon_ev()
181 EFSYS_ASSERT((sensor % (MC_CMD_SENSOR_PAGE0_NEXT + 1)) != in mcdi_mon_ev()
185 sensor / (MC_CMD_SENSOR_PAGE0_NEXT + 1)] & in mcdi_mon_ev()
186 (1U << (sensor % (MC_CMD_SENSOR_PAGE0_NEXT + 1)))) != 0); in mcdi_mon_ev()
189 if (!efx_mon_mcdi_to_efx_stat(sensor, &id)) { in mcdi_mon_ev()