Searched refs:REG_GET_MASK (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/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(r, SENSOR_STATUS0_CAPTURE_MASK); in regs_show() [all …]
|