Home
last modified time | relevance | path

Searched refs:vrm (Results 1 – 25 of 32) sorted by relevance

12

/linux-5.19.10/drivers/hwmon/
Datxp1.c47 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()
Dhwmon-vid.c69 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()
Dvia-cputemp.c40 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()
Dadm1025.c111 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()
Dsmsc47m192.c101 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()
Dadm9240.c131 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()
Dasb100.c202 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()
Dlm87.c168 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()
Dvt1211.c128 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()
Dlm85.c314 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()
Dw83791d.c312 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()
Dpc87360.c202 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()
Dadt7475.c218 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()
Dw83627hf.c382 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()
Dw83781d.c234 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()
Dnct6775.h161 u8 vrm; member
Dgl520sm.c71 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()
Dadm1026.c279 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()
Dw83793.c214 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()
Dw83627ehf.c367 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-5.19.10/include/linux/
Dhwmon-vid.h14 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-5.19.10/arch/arm/boot/dts/
Daspeed-bmc-opp-zaius.dts347 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 {
Dnuvoton-npcm730-gbs.dts827 vrm@60 {
837 vrm@61 {
847 vrm@63 {
857 vrm@45 {
945 vrm@5d {
949 vrm@5e {
/linux-5.19.10/Documentation/hwmon/
Dcorsair-psu.rst70 temp1_input Temperature of the psu vrm component
71 temp1_crit Temperature max cirtical value of the psu vrm component
Dsmsc47m192.rst112 vrm CPU VID standard used for decoding CPU voltage
115 The `*_min`, `*_max`, `*_offset` and `vrm` files can be read and written,

12