Searched refs:REG_GET_MASK (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/thermal/tegra/ |
H A D | soctherm.c | 197 #define REG_GET_MASK(r, m) (((r) & (m)) >> (ffs(m) - 1)) macro 430 val = REG_GET_MASK(val, zone->sg->sensor_temp_mask); in tegra_thermctl_get_temp() 1305 state = REG_GET_MASK(r, SENSOR_CONFIG1_TEMP_ENABLE); in regs_show() 1315 state = REG_GET_MASK(r, SENSOR_CONFIG1_TIDDQ_EN_MASK); in regs_show() 1317 state = REG_GET_MASK(r, SENSOR_CONFIG1_TEN_COUNT_MASK); in regs_show() 1319 state = REG_GET_MASK(r, SENSOR_CONFIG1_TSAMPLE_MASK); in regs_show() 1323 state = REG_GET_MASK(r, SENSOR_STATUS1_TEMP_VALID_MASK); in regs_show() 1325 state = REG_GET_MASK(r, SENSOR_STATUS1_TEMP_MASK); in regs_show() 1329 state = REG_GET_MASK(r, SENSOR_STATUS0_VALID_MASK); in regs_show() 1331 state = REG_GET_MASK( in regs_show() [all...] |
/kernel/linux/linux-6.6/drivers/thermal/tegra/ |
H A D | soctherm.c | 197 #define REG_GET_MASK(r, m) (((r) & (m)) >> (ffs(m) - 1)) macro 430 val = REG_GET_MASK(val, zone->sg->sensor_temp_mask); in tegra_thermctl_get_temp() 1267 state = REG_GET_MASK(r, SENSOR_CONFIG1_TEMP_ENABLE); in regs_show() 1277 state = REG_GET_MASK(r, SENSOR_CONFIG1_TIDDQ_EN_MASK); in regs_show() 1279 state = REG_GET_MASK(r, SENSOR_CONFIG1_TEN_COUNT_MASK); in regs_show() 1281 state = REG_GET_MASK(r, SENSOR_CONFIG1_TSAMPLE_MASK); in regs_show() 1285 state = REG_GET_MASK(r, SENSOR_STATUS1_TEMP_VALID_MASK); in regs_show() 1287 state = REG_GET_MASK(r, SENSOR_STATUS1_TEMP_MASK); in regs_show() 1291 state = REG_GET_MASK(r, SENSOR_STATUS0_VALID_MASK); in regs_show() 1293 state = REG_GET_MASK( in regs_show() [all...] |
Completed in 6 milliseconds