Lines Matching refs:REG_GET_MASK

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()
1300 state = REG_GET_MASK(r, SENSOR_CONFIG1_TEMP_ENABLE); in regs_show()
1310 state = REG_GET_MASK(r, SENSOR_CONFIG1_TIDDQ_EN_MASK); in regs_show()
1312 state = REG_GET_MASK(r, SENSOR_CONFIG1_TEN_COUNT_MASK); in regs_show()
1314 state = REG_GET_MASK(r, SENSOR_CONFIG1_TSAMPLE_MASK); in regs_show()
1318 state = REG_GET_MASK(r, SENSOR_STATUS1_TEMP_VALID_MASK); in regs_show()
1320 state = REG_GET_MASK(r, SENSOR_STATUS1_TEMP_MASK); in regs_show()
1324 state = REG_GET_MASK(r, SENSOR_STATUS0_VALID_MASK); in regs_show()
1326 state = REG_GET_MASK(r, SENSOR_STATUS0_CAPTURE_MASK); in regs_show()
1330 state = REG_GET_MASK(r, SENSOR_CONFIG0_STOP); in regs_show()
1332 state = REG_GET_MASK(r, SENSOR_CONFIG0_TALL_MASK); in regs_show()
1334 state = REG_GET_MASK(r, SENSOR_CONFIG0_TCALC_OVER); in regs_show()
1336 state = REG_GET_MASK(r, SENSOR_CONFIG0_OVER); in regs_show()
1338 state = REG_GET_MASK(r, SENSOR_CONFIG0_CPTR_OVER); in regs_show()
1342 state = REG_GET_MASK(r, SENSOR_CONFIG2_THERMA_MASK); in regs_show()
1344 state = REG_GET_MASK(r, SENSOR_CONFIG2_THERMB_MASK); in regs_show()
1358 state = REG_GET_MASK(r, SENSOR_TEMP1_CPU_TEMP_MASK); in regs_show()
1360 state = REG_GET_MASK(r, SENSOR_TEMP1_GPU_TEMP_MASK); in regs_show()
1363 state = REG_GET_MASK(r, SENSOR_TEMP2_PLLX_TEMP_MASK); in regs_show()
1365 state = REG_GET_MASK(r, SENSOR_TEMP2_MEM_TEMP_MASK); in regs_show()
1378 state = REG_GET_MASK(r, mask); in regs_show()
1384 state = REG_GET_MASK(r, mask); in regs_show()
1390 state = REG_GET_MASK(r, mask); in regs_show()
1394 state = REG_GET_MASK(r, mask); in regs_show()
1406 state = REG_GET_MASK(r, mask); in regs_show()
1418 state = REG_GET_MASK(r, mask); in regs_show()
1444 state = REG_GET_MASK(r, ttgs[0]->thermtrip_any_en_mask); in regs_show()
1447 state = REG_GET_MASK(r, ttgs[i]->thermtrip_enable_mask); in regs_show()
1449 state = REG_GET_MASK(r, ttgs[i]->thermtrip_threshold_mask); in regs_show()
1460 state = REG_GET_MASK(r, THROT_STATUS_BREACH_MASK); in regs_show()
1462 state = REG_GET_MASK(r, THROT_STATUS_STATE_MASK); in regs_show()
1464 state = REG_GET_MASK(r, THROT_STATUS_ENABLED_MASK); in regs_show()
1469 state = REG_GET_MASK(r, XPU_PSKIP_STATUS_ENABLED_MASK); in regs_show()
1472 state = REG_GET_MASK(r, XPU_PSKIP_STATUS_M_MASK); in regs_show()
1474 state = REG_GET_MASK(r, XPU_PSKIP_STATUS_N_MASK); in regs_show()
1476 state = REG_GET_MASK(r, XPU_PSKIP_STATUS_ENABLED_MASK); in regs_show()
1547 if (REG_GET_MASK(r, THROT_STATUS_STATE_MASK)) in throt_get_cdev_cur_state()
1953 r = REG_GET_MASK(r, THROT_PRIORITY_LOCK_PRIORITY_MASK); in soctherm_throttle_program()