/kernel/linux/linux-5.10/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 | 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); 930 data->vrm = vid_which_vrm(); in asb100_init_client()
|
D | adm9240.c | 144 u8 vrm; /* -- vrm set on startup, no accessor */ member 614 return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 778 data->vrm = vid_which_vrm(); /* need this to report vid as mV */ in adm9240_init_client() 780 dev_info(&client->dev, "Using VRM: %d.%d\n", data->vrm / 10, in adm9240_init_client() 781 data->vrm % 10); in adm9240_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 | 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); 1474 data->vrm = vid_which_vrm(); in w83791d_init_client() 1649 dev_dbg(dev, "vrm is: 0x%02x\n", data->vrm); in w83791d_print_debug()
|
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 | pc87360.c | 202 u8 vrm; member 585 return sprintf(buf, "%u\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 593 return sprintf(buf, "%u\n", data->vrm); in vrm_show() 609 data->vrm = val; in vrm_store() 612 static DEVICE_ATTR_RW(vrm); 1271 data->vrm = vid_which_vrm(); in pc87360_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); 1388 data->vrm = vid_which_vrm(); in w83781d_init_device()
|
D | adt7475.c | 216 u8 vrm; member 1053 return sprintf(buf, "%d\n", (int)data->vrm); in vrm_show() 1066 data->vrm = val; in vrm_store() 1079 return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 1175 static DEVICE_ATTR_RW(vrm); 1687 data->vrm = vid_which_vrm(); in adt7475_probe()
|
D | w83627hf.c | 382 u8 vrm; member 802 return sprintf(buf, "%ld\n", (long) vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 810 return sprintf(buf, "%ld\n", (long) data->vrm); in vrm_show() 826 data->vrm = val; in vrm_store() 830 static DEVICE_ATTR_RW(vrm); 1507 data->vrm = vid_which_vrm(); in w83627hf_probe()
|
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 | 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); 1779 data->vrm = vid_which_vrm(); in w83793_probe()
|
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 | w83627ehf.c | 367 u8 vrm; member 1084 return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 1881 data->vrm = vid_which_vrm(); in w83627ehf_probe() 1910 if ((en_vrm10 & 0x08) && data->vrm == 90) { in w83627ehf_probe() 1917 && data->vrm == 100) { in w83627ehf_probe()
|
D | dme1737.c | 226 u8 vrm; member 1468 return sprintf(buf, "%d\n", data->vrm); in vrm_show() 1485 data->vrm = val; in vrm_store() 1494 return sprintf(buf, "%d\n", vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 1639 static DEVICE_ATTR_RW(vrm); 2371 data->vrm = vid_which_vrm(); in dme1737_init_device()
|
D | it87.c | 539 u8 vrm; member 1920 return sprintf(buf, "%u\n", data->vrm); in vrm_show() 1932 data->vrm = val; in vrm_store() 1936 static DEVICE_ATTR_RW(vrm); 1943 return sprintf(buf, "%ld\n", (long)vid_from_reg(data->vid, data->vrm)); in cpu0_vid_show() 3156 data->vrm = vid_which_vrm(); in it87_probe()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 {
|
/kernel/linux/linux-5.10/Documentation/hwmon/ |
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,
|
D | w83792d.rst | 123 - The function of vid and vrm has not been finished, because I'm NOT
|