/linux-6.1.9/drivers/hwmon/ |
D | atxp1.c | 47 u8 vrm; /* Detected CPU VRM */ member 84 data->vrm)); in cpu0_vid_show() 107 vid = vid_to_reg(vcore, data->vrm); in cpu0_vid_store() 258 data->vrm = vid_which_vrm(); in atxp1_probe() 259 if (data->vrm != 90 && data->vrm != 91) { in atxp1_probe() 261 data->vrm / 10, data->vrm % 10); in atxp1_probe() 274 dev_info(dev, "Using VRM: %d.%d\n", data->vrm / 10, data->vrm % 10); in atxp1_probe()
|
D | hwmon-vid.c | 69 int vid_from_reg(int val, u8 vrm) in vid_from_reg() argument 73 switch (vrm) { in vid_from_reg() 139 if (vrm == 131 && val == 0x3f) in vid_from_reg() 147 if (vrm) in vid_from_reg() 149 (unsigned int)vrm); in vid_from_reg()
|
D | via-cputemp.c | 40 u8 vrm; member 89 return sprintf(buf, "%d\n", vid_from_reg(~edx & 0x7f, data->vrm)); in cpu0_vid_show() 160 data->vrm = vid_which_vrm(); in via_cputemp_probe() 162 if (data->vrm) { in via_cputemp_probe() 179 if (data->vrm) in via_cputemp_probe() 190 if (data->vrm) in via_cputemp_remove()
|
D | adm1025.c | 111 u8 vrm; member 355 return sprintf(buf, "%u\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 363 return sprintf(buf, "%u\n", data->vrm); in vrm_show() 379 data->vrm = val; in vrm_store() 382 static DEVICE_ATTR_RW(vrm); 484 data->vrm = vid_which_vrm(); in adm1025_init_client()
|
D | smsc47m192.c | 101 u8 vrm; member 404 return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 412 return sprintf(buf, "%d\n", data->vrm); in vrm_show() 428 data->vrm = val; in vrm_store() 431 static DEVICE_ATTR_RW(vrm); 602 data->vrm = vid_which_vrm(); in smsc47m192_probe()
|
D | adm9240.c | 131 u8 vrm; /* -- vrm set on startup, no accessor */ member 230 return sprintf(buf, "%d\n", vid_from_reg(vid, data->vrm)); in cpu0_vid_show() 327 data->vrm = vid_which_vrm(); /* need this to report vid as mV */ in adm9240_init_client() 329 dev_info(data->dev, "Using VRM: %d.%d\n", data->vrm / 10, in adm9240_init_client() 330 data->vrm % 10); in adm9240_init_client()
|
D | asb100.c | 202 u8 vrm; member 476 return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 486 return sprintf(buf, "%d\n", data->vrm); in vrm_show() 503 data->vrm = val; in vrm_store() 508 static DEVICE_ATTR_RW(vrm); 928 data->vrm = vid_which_vrm(); in asb100_init_client()
|
D | lm87.c | 168 u8 vrm; member 596 return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 604 return sprintf(buf, "%d\n", data->vrm); in vrm_show() 620 data->vrm = val; in vrm_store() 623 static DEVICE_ATTR_RW(vrm); 964 data->vrm = vid_which_vrm(); in lm87_probe()
|
D | vt1211.c | 128 u8 vrm; member 861 return sprintf(buf, "%d\n", data->vrm); in show_vrm() 878 data->vrm = val; in set_vrm() 888 return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); in show_vid() 1078 __ATTR(vrm, S_IRUGO | S_IWUSR, show_vrm, set_vrm), 1091 data->vrm = vid_which_vrm(); in vt1211_init_device()
|
D | lm85.c | 314 u8 vrm; /* VRM version */ member 608 vid = vid_from_reg(data->vid & 0x3f, data->vrm); in cpu0_vid_show() 611 vid = vid_from_reg(data->vid & 0x1f, data->vrm); in cpu0_vid_show() 623 return sprintf(buf, "%ld\n", (long) data->vrm); in vrm_show() 640 data->vrm = val; in vrm_store() 644 static DEVICE_ATTR_RW(vrm); 1589 data->vrm = vid_which_vrm(); in lm85_probe()
|
D | w83791d.c | 312 u8 vrm; /* hwmon-vid */ member 1137 return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 1146 return sprintf(buf, "%d\n", data->vrm); in vrm_show() 1169 data->vrm = val; in vrm_store() 1173 static DEVICE_ATTR_RW(vrm); 1472 data->vrm = vid_which_vrm(); in w83791d_init_client() 1647 dev_dbg(dev, "vrm is: 0x%02x\n", data->vrm); in w83791d_print_debug()
|
D | pc87360.c | 214 u8 vrm; member 605 return sprintf(buf, "%u\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 613 return sprintf(buf, "%u\n", data->vrm); in vrm_show() 630 data->vrm = val; in vrm_store() 633 static DEVICE_ATTR_RW(vrm); 1513 data->vrm = vid_which_vrm(); in pc87360_probe()
|
D | adt7475.c | 218 u8 vrm; member 1055 return sprintf(buf, "%d\n", (int)data->vrm); in vrm_show() 1068 data->vrm = val; in vrm_store() 1081 return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 1177 static DEVICE_ATTR_RW(vrm); 1780 data->vrm = vid_which_vrm(); in adt7475_probe()
|
D | w83627hf.c | 382 u8 vrm; member 1569 return sprintf(buf, "%ld\n", (long) vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 1578 return sprintf(buf, "%ld\n", (long) data->vrm); in vrm_show() 1595 data->vrm = val; in vrm_store() 1600 static DEVICE_ATTR_RW(vrm); 1779 data->vrm = vid_which_vrm(); in w83627hf_probe()
|
D | w83781d.c | 234 u8 vrm; member 409 return sprintf(buf, "%ld\n", (long) vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 418 return sprintf(buf, "%ld\n", (long) data->vrm); in vrm_show() 432 data->vrm = clamp_val(val, 0, 255); in vrm_store() 437 static DEVICE_ATTR_RW(vrm); 1386 data->vrm = vid_which_vrm(); in w83781d_init_device()
|
D | nct6775.h | 161 u8 vrm; member
|
D | gl520sm.c | 71 u8 vrm; member 193 return sprintf(buf, "%u\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 828 data->vrm = vid_which_vrm(); in gl520_init_client()
|
D | adm1026.c | 279 u8 vrm; /* VRM version */ member 1076 return sprintf(buf, "%d\n", vid_from_reg(vid, data->vrm)); in cpu0_vid_show() 1085 return sprintf(buf, "%d\n", data->vrm); in vrm_show() 1102 data->vrm = val; in vrm_store() 1106 static DEVICE_ATTR_RW(vrm); 1834 data->vrm = vid_which_vrm(); in adm1026_probe()
|
D | w83793.c | 214 u8 vrm; member 315 return sprintf(buf, "%d\n", data->vrm); in vrm_show() 326 return sprintf(buf, "%d\n", vid_from_reg(data->vid[index], data->vrm)); in show_vid() 344 data->vrm = val; in vrm_store() 1157 static DEVICE_ATTR_RW(vrm); 1777 data->vrm = vid_which_vrm(); in w83793_probe()
|
D | w83627ehf.c | 367 u8 vrm; member 1082 return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 1871 data->vrm = vid_which_vrm(); in w83627ehf_probe() 1900 if ((en_vrm10 & 0x08) && data->vrm == 90) { in w83627ehf_probe() 1907 && data->vrm == 100) { in w83627ehf_probe()
|
/linux-6.1.9/include/linux/ |
D | hwmon-vid.h | 14 int vid_from_reg(int val, u8 vrm); 21 static inline int vid_to_reg(int val, u8 vrm) in vid_to_reg() argument 23 switch (vrm) { in vid_to_reg()
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | aspeed-bmc-opp-zaius.dts | 347 vrm@64 { 352 vrm@40 { 357 vrm@60 { 362 vrm@43 { 367 vrm@41 { 406 vrm@64 { 411 vrm@40 { 416 vrm@41 { 421 vrm@42 { 426 vrm@60 {
|
D | nuvoton-npcm730-gbs.dts | 827 vrm@60 { 837 vrm@61 { 847 vrm@63 { 857 vrm@45 { 945 vrm@5d { 949 vrm@5e {
|
/linux-6.1.9/Documentation/hwmon/ |
D | corsair-psu.rst | 72 temp1_input Temperature of the psu vrm component 73 temp1_crit Temperature max cirtical value of the psu vrm component
|
D | smsc47m192.rst | 112 vrm CPU VID standard used for decoding CPU voltage 115 The `*_min`, `*_max`, `*_offset` and `vrm` files can be read and written,
|