/Linux-v6.6/drivers/hwmon/ |
D | adm9240.c | 71 static inline int SCALE(long val, int mul, int div) in SCALE() function 84 return SCALE(reg, nom_mv[n], 192); in IN_FROM_REG() 90 return SCALE(val, 192, nom_mv[n]); in IN_TO_REG() 97 return SCALE(val, 1, 1000); in TEMP_TO_REG() 109 return SCALE(1350000, 1, reg * div); in FAN_FROM_REG() 116 return SCALE(val, 255, 1250); in AOUT_TO_REG() 121 return SCALE(reg, 1250, 255); in AOUT_FROM_REG()
|
D | smsc47m192.c | 47 static inline int SCALE(long val, int mul, int div) in SCALE() function 62 return SCALE(reg, nom_mv[n], 192); in IN_FROM_REG() 68 return SCALE(val, 192, nom_mv[n]); in IN_TO_REG() 77 return SCALE(clamp_val(val, -128000, 127000), 1, 1000); in TEMP_TO_REG()
|
D | lm85.c | 124 #define SCALE(val, from, to) (((val) * (to) + ((from) / 2)) / (from)) macro 127 SCALE(clamp_val(val, 0, 255 * lm85_scaling[n] / 192), \ 131 SCALE(((val) << 4) + (ext), 192 << 4, lm85_scaling[n]) 133 #define INS_FROM_REG(n, val) SCALE((val), 192, lm85_scaling[n]) 149 SCALE(((val) << 4) + (ext), 16, 1000)
|
D | adm1026.c | 186 #define SCALE(val, from, to) (((val)*(to) + ((from)/2))/(from)) macro 188 SCALE(clamp_val(val, 0, 255 * adm1026_scaling[n] / 192), \ 190 #define INS_FROM_REG(n, val) (SCALE(val, 192, adm1026_scaling[n]))
|
/Linux-v6.6/tools/testing/selftests/resctrl/ |
D | resctrl_val.c | 17 #define SCALE 0.00006103515625 macro 367 reads += r->return_value.value * of_mul_read * SCALE; in get_mem_bw_imc() 368 writes += w->return_value.value * of_mul_write * SCALE; in get_mem_bw_imc()
|
/Linux-v6.6/tools/perf/tests/ |
D | stat.c | 37 TEST_ASSERT_VAL("wrong scale", HAS(SCALE, 1)); in process_stat_config_event()
|
/Linux-v6.6/arch/m68k/fpsp040/ |
D | bindec.S | 52 | A7. Calculate SCALE. 53 | SCALE is equal to 10^ISCALE, where ISCALE is the number 328 | A7. Calculate SCALE. 329 | SCALE is equal to 10^ISCALE, where ISCALE is the number 334 | Coonen, p. 7.23 as ref.; however, the SCALE variable is
|
D | setox.S | 531 movew %d0,SCALE(%a6) | ...SCALE is 2^(M) in extended 532 clrw SCALE+2(%a6) 533 movel #0x80000000,SCALE+4(%a6) 534 clrl SCALE+8(%a6) 567 fmulx SCALE(%a6),%fp0 | ...multiply 2^(M)
|
D | scale.S | 27 |SCALE idnt 2,1 | Motorola 040 Floating Point Software Package
|
/Linux-v6.6/net/wireless/ |
D | util.c | 1439 #define SCALE 6144 in cfg80211_calculate_bitrate_he() macro 1508 tmp *= SCALE; in cfg80211_calculate_bitrate_he() 1522 #define SCALE 6144 in cfg80211_calculate_bitrate_eht() macro 1639 tmp *= SCALE; in cfg80211_calculate_bitrate_eht()
|
/Linux-v6.6/tools/perf/util/ |
D | event.c | 163 CASE(SCALE, scale) in perf_event__read_stat_config()
|
D | synthetic-events.c | 1377 ADD(SCALE, config->scale) in perf_event__synthesize_stat_config()
|
/Linux-v6.6/Documentation/input/devices/ |
D | atarikbd.rst | 321 SET MOUSE SCALE
|
/Linux-v6.6/arch/m68k/ifpsp060/src/ |
D | fpsp.S | 7201 set SCALE,FP_SCR0 15912 mov.l (%sp)+,%d0 # return SCALE factor 15919 mov.l (%sp)+,%d0 # return SCALE factor 15948 mov.l (%sp)+,%d0 # return SCALE factor 15955 mov.l (%sp)+,%d0 # return SCALE factor
|
D | fplsp.S | 7169 mov.w %d1,SCALE(%a6) # SCALE is 2^(M) in extended 7170 mov.l &0x80000000,SCALE+4(%a6) 7171 clr.l SCALE+8(%a6) 7203 fmul.x SCALE(%a6),%fp0 # multiply 2^(M)
|
/Linux-v6.6/ |
D | MAINTAINERS | 10176 IIO LIGHT SENSOR GAIN-TIME-SCALE HELPERS
|