/linux/drivers/hwmon/ |
H A 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()
|
H A 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()
|
H A 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)
|
H A 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/tools/testing/selftests/resctrl/ |
H A D | resctrl_val.c | 17 #define SCALE 0.00006103515625 macro 395 reads += r->return_value.value * of_mul_read * SCALE; in get_mem_bw_imc() 396 writes += w->return_value.value * of_mul_write * SCALE; in get_mem_bw_imc()
|
/linux/tools/perf/tests/ |
H A D | stat.c | 37 TEST_ASSERT_VAL("wrong scale", HAS(SCALE, 1)); in process_stat_config_event()
|
/linux/arch/m68k/fpsp040/ |
H A 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
|
H A 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)
|
H A D | scale.S | 27 |SCALE idnt 2,1 | Motorola 040 Floating Point Software Package
|
/linux/net/wireless/ |
H A D | util.c | 1491 #define SCALE 6144 in cfg80211_calculate_bitrate_he() macro 1562 tmp *= SCALE; in cfg80211_calculate_bitrate_he() 1576 #define SCALE 6144 in cfg80211_calculate_bitrate_eht() macro 1693 tmp *= SCALE; in cfg80211_calculate_bitrate_eht()
|
/linux/tools/perf/util/ |
H A D | event.c | 163 CASE(SCALE, scale) in perf_event__read_stat_config()
|
H A D | synthetic-events.c | 1393 ADD(SCALE, config->scale) in perf_event__synthesize_stat_config()
|
/linux/Documentation/input/devices/ |
H A D | atarikbd.rst | 321 SET MOUSE SCALE
|
/linux/arch/m68k/ifpsp060/src/ |
H A 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
|
H A 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)
|