Searched refs:toffset (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/drivers/hwmon/ |
D | da9055-hwmon.c | 180 int toffset; in da9055_tjunc_show() local 186 toffset = da9055_reg_read(hwmon->da9055, DA9055_REG_T_OFFSET); in da9055_tjunc_show() 187 if (toffset < 0) in da9055_tjunc_show() 188 return toffset; in da9055_tjunc_show() 194 return sprintf(buf, "%d\n", DIV_ROUND_CLOSEST(-4084 * (tjunc - toffset) in da9055_tjunc_show()
|
D | da9052-hwmon.c | 262 int toffset; in da9052_tjunc_show() local 268 toffset = da9052_reg_read(hwmon->da9052, DA9052_T_OFFSET_REG); in da9052_tjunc_show() 269 if (toffset < 0) in da9052_tjunc_show() 270 return toffset; in da9052_tjunc_show() 276 return sprintf(buf, "%d\n", 1708 * (tjunc - toffset) - 108800); in da9052_tjunc_show()
|
D | lm95234.c | 65 s8 toffset[4]; /* remote temperature offset */ member 136 for (i = 0; i < ARRAY_SIZE(data->toffset); i++) { in lm95234_fill_cache() 140 data->toffset[i] = ret; in lm95234_fill_cache() 415 return sprintf(buf, "%d", data->toffset[index] * 500); in offset_show() 437 data->toffset[index] = val; in offset_store()
|
/linux-5.19.10/drivers/gpu/drm/radeon/ |
D | evergreen_cs.c | 758 unsigned long toffset, moffset; in evergreen_cs_track_validate_texture() local 788 toffset = texdw[2] << 8; in evergreen_cs_track_validate_texture() 836 if (toffset & (surf.base_align - 1)) { in evergreen_cs_track_validate_texture() 838 __func__, __LINE__, toffset, surf.base_align); in evergreen_cs_track_validate_texture() 847 toffset += surf.layer_size * depth; in evergreen_cs_track_validate_texture() 849 toffset += surf.layer_size * mslice; in evergreen_cs_track_validate_texture() 851 if (toffset > radeon_bo_size(texture)) { in evergreen_cs_track_validate_texture() 2348 u32 toffset, moffset; in evergreen_packet3_check() local 2377 toffset = (u32)((reloc->gpu_offset >> 8) & 0xffffffff); in evergreen_packet3_check() 2403 ib[idx+1+(i*8)+2] += toffset; in evergreen_packet3_check()
|
D | evergreen.c | 1455 u32 temp, toffset; in evergreen_get_temp() local 1459 toffset = (RREG32(CG_THERMAL_CTRL) & TOFFSET_MASK) >> in evergreen_get_temp() 1464 if (toffset & 0x100) in evergreen_get_temp() 1465 actual_temp = temp / 2 - (0x200 - toffset); in evergreen_get_temp() 1467 actual_temp = temp / 2 + toffset; in evergreen_get_temp()
|