Searched refs:REG_GET_MASK (Results 1 – 1 of 1) sorted by relevance
| /Linux-v4.19/drivers/thermal/tegra/ |
| D | soctherm.c | 155 #define REG_GET_MASK(r, m) (((r) & (m)) >> (ffs(m) - 1)) macro 313 val = REG_GET_MASK(val, zone->sg->sensor_temp_mask); in tegra_thermctl_get_temp() 623 state = REG_GET_MASK(r, SENSOR_CONFIG1_TEMP_ENABLE); in regs_show() 633 state = REG_GET_MASK(r, SENSOR_CONFIG1_TIDDQ_EN_MASK); in regs_show() 635 state = REG_GET_MASK(r, SENSOR_CONFIG1_TEN_COUNT_MASK); in regs_show() 637 state = REG_GET_MASK(r, SENSOR_CONFIG1_TSAMPLE_MASK); in regs_show() 641 state = REG_GET_MASK(r, SENSOR_STATUS1_TEMP_VALID_MASK); in regs_show() 643 state = REG_GET_MASK(r, SENSOR_STATUS1_TEMP_MASK); in regs_show() 647 state = REG_GET_MASK(r, SENSOR_STATUS0_VALID_MASK); in regs_show() 649 state = REG_GET_MASK(r, SENSOR_STATUS0_CAPTURE_MASK); in regs_show() [all …]
|