| /linux/drivers/hwmon/pmbus/ |
| H A D | stpddc60.c | 37 * Calculate the closest absolute offset between commanded vout value 39 * Return 0 if the upper limit is lower than vout or if the lower limit 40 * is higher than vout. 42 static u8 stpddc60_get_offset(int vout, u16 limit, bool over) in stpddc60_get_offset() argument 47 v = 250 + (vout - 1) * 5; /* Convert VID to mv */ in stpddc60_get_offset() 69 m = ((s16)((word & 0x7ff) << 5)) >> 5; in stpddc60_adjust_linear() 81 * The VOUT_COMMAND register uses the VID format but the vout alarm limit 105 * The vout related registers return values in LINEAR11 format when LINEAR16 106 * is expected. Clear the top 5 bits to set the exponent part to zero to 141 * The vout under- and over-voltage limits are set as an offset relative to [all …]
|
| H A D | mp9941.c | 16 * config the vout format. The MFR_VR_MULTI_CONFIG_R1(0x0D) is 17 * used to identify the vout vid step. 59 * page = 0, MFR_RESO_SET[7:6] defines the vout format in mp9941_set_vout_format() 60 * 2'b11 set the vout format as direct in mp9941_set_vout_format() 76 * 1'b1 represents the vid step value is 5mV in mp9941_identify_vid_resolution() 87 data->vid_resolution = 5; in mp9941_identify_vid_resolution() 188 * The vout scale is set to 1mV/Lsb(using r/m/b scale). in mp9941_read_word_data() 189 * But the vout uv limit and vout max/min scale is 1VID/Lsb, in mp9941_read_word_data() 190 * so the vout uv limit and vout max/min value should be in mp9941_read_word_data()
|
| H A D | mp2891.c | 17 * is used to identify the vout scale. The READ_PIN_EST(0x94) is used 34 #define MP2891_UV_LIMIT_SCALE 5 70 mantissa = ((s16)((word & 0x7ff) << 5)) >> 5; in mp2891_reg2data_linear11() 99 * Obtain vout scale from the register MFR_VOUT_LOOP_CTRL, bits 15-14,bit 13. in mp2891_identify_vout_scale() 100 * If MFR_VOUT_LOOP_CTRL[13] = 1, the vout scale is below: in mp2891_identify_vout_scale() 102 * If MFR_VOUT_LOOP_CTRL[13] = 0, the vout scale is decided by in mp2891_identify_vout_scale() 104 * 00b - 6.25mV/LSB, 01b - 5mV/LSB, 10b - 2mV/LSB, 11b - 1mV in mp2891_identify_vout_scale() 164 case 5: in mp2891_identify_iout_scale() 179 /* Identify vout scale for rail 1. */ in mp2891_identify() 184 /* Identify vout scale for rail 2. */ in mp2891_identify() [all …]
|
| H A D | xdpe12284.c | 17 #define XDPE122_PROT_VR12_5MV 0x01 /* VR12.0 mode, 5-mV DAC */ 18 #define XDPE122_PROT_VR12_5_10MV 0x02 /* VR12.5 mode, 10-mV DAC */ 41 mantissa = ((s16)((ret & GENMASK(10, 0)) << 5)) >> 5; in xdpe122_read_word_data() 56 return 1 + DIV_ROUND_CLOSEST(val - 250, 5); in xdpe122_read_word_data() 85 switch (vout_mode >> 5) { in xdpe122_identify() 99 /* Read the register with VOUT scaling value.*/ in xdpe122_identify() 128 PMBUS_REGULATOR("vout", 0), 129 PMBUS_REGULATOR("vout", 1),
|
| H A D | mp2993.c | 42 mantissa = ((s16)((word & 0x7ff) << 5)) >> 5; in mp2993_linear11_exponent_transfer() 69 /* Set vout to direct format for rail1. */ in mp2993_identify() 74 /* Set vout to direct format for rail2. */ in mp2993_identify() 175 * and the exponent is a constant value(5'b00000), so the in mp2993_write_word_data() 176 * exponent of word parameter should be converted to 5'b00000. in mp2993_write_word_data() 187 * exponent is a 5'b00001 or 5'b00000. To ensure a larger in mp2993_write_word_data() 189 * should be converted to 5'b00001. in mp2993_write_word_data()
|
| H A D | mp2975.c | 50 #define MP2975_PROT_DEV_OV_ON 5 121 PMBUS_REGULATOR("vout", 0), 122 PMBUS_REGULATOR("vout", 1), 157 return 250 + (val - 1) * 5; in mp2975_vid2direct() 204 /* Convert to 5 bit exponent, 11 bit mantissa */ in mp2975_data2reg_linear11() 228 * 00b - 5µA/A, 01b - 8.5µA/A, 10b - 9.7µA/A, 11b - 10µA/A. in mp2975_read_phase() 265 case 4 ... 5: in mp2975_read_phases() 282 case 4 ... 5: in mp2975_read_phases() 421 #define MP2973_OTHER_COMM 5 in mp2973_write_word_data() 729 * 00b - 5µA/A, 01b - 8.5µA/A, 10b - 9.7µA/A, 11b - 10µA/A. Other in mp2975_current_sense_gain_get() [all …]
|
| H A D | mp2856.c | 107 /* Convert to 5 bit exponent, 11 bit mantissa */ in val2linear11() 131 /* convert vout result to direct format */ in mp2856_read_vout() 133 ((ret + 49) * 5) : ((ret * 1000) >> 8); in mp2856_read_vout() 177 case 4 ... 5: in mp2856_read_phases() 235 /* Enforce VOUT direct format. */ in mp2856_read_byte_data() 309 * 00b - 5µA/A, 01b - 8.5µA/A, 10b - 9.7µA/A, 11b - 10µA/A. Other in mp2856_current_sense_gain_get() 434 /* Identify vout format. */ in mp2856_probe()
|
| H A D | max20730.c | 75 #define MAX20730_MFR_DEVSET1_OCP_MASK (BIT(5) | BIT(6)) 82 #define MAX20730_MFR_DEVSET1_OCP_BIT_POS 5 88 #define MAX20730_MFR_DEVSET2_OCPM_MASK BIT(5) 93 #define MAX20730_MFR_DEVSET2_OCPM_BIT_POS 5 141 else if (val == 5) in max20730_debugfs_read() 439 static u32 max_current[][5] = { 469 max_c = max_current[data->id][(data->mfr_devset1 >> 5) & 0x3]; in max20730_read_word_data() 509 devset1 &= ~(BIT(5) | BIT(6)); in max20730_write_word_data() 513 devset1 |= (idx << 5); in max20730_write_word_data() 580 * for the relationship between Vin and Vout. [all …]
|
| H A D | mp2888.c | 43 /* Enforce VOUT direct format. */ in mp2888_read_byte_data() 58 * 00b - 5µA/A, 01b - 8.5µA/A, 10b - 9.7µA/A, 11b - 10µA/A. Other in mp2888_current_sense_gain_and_resolution_get() 112 * 00b - 8.5µA/A, 01b - 9.7µA/A, 1b - 10µA/A, 11b - 5µA/A. in mp2888_read_phase() 139 case 4 ... 5: in mp2888_read_phases() 344 .pfunc[5] = PMBUS_HAVE_IOUT,
|
| /linux/Documentation/devicetree/bindings/leds/ |
| H A D | leds-lp55xx.yaml | 60 - 1 # D1~6 with VDD, D7~9 with VOUT 61 - 2 # D1~6 with VOUT, D7~9 with VDD 62 - 3 # D1~9 are connected to VOUT 146 - 5 # LED output D6 186 pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */ 224 led@5 { 225 reg = <5>;
|
| /linux/drivers/regulator/ |
| H A D | max8973-regulator.c | 51 #define MAX8973_NFSR_ENABLE BIT(5) 64 #define MAX8973_DISCH_ENBABLE BIT(5) 116 * find_voltage_set_register: Find new voltage configuration register (VOUT). 117 * The finding of the new VOUT register will be based on the LRU mechanism. 118 * Each VOUT register will have different voltage configured . This 119 * Function will look if any of the VOUT register have requested voltage set 123 * the VOUT register but need to set the proper gpios to select this 124 * VOUT register. 126 * recently mechanism to get new VOUT register for new configuration 127 * and will return not_found so that caller need to set new VOUT [all …]
|
| H A D | rt6190-regulator.c | 48 #define RT6190_ALERT_UVPEVT BIT(5) 106 * From off to on, vout config will restore to IC default. in rt6190_out_enable() 107 * Read vout configs before enable, and restore them after enable in rt6190_out_enable() 357 /* Config default VOUT ratio to be higher */ in rt6190_init_registers()
|
| /linux/Documentation/hwmon/ |
| H A D | bel-pfe.rst | 94 in[3-8]_label "vout[1-3,5-7]" 96 in[3-4]_alarm vout[1-2] output voltage alarm 111 - curr3, fan2, vout[2-7], vcap, pin2, pout2 and temp3 attributes only
|
| H A D | mp2856.rst | 30 - Can configured VOUT readout in direct or VID format and allows 32 protocols are available: AMD SVI3 mode with 5-mV/LSB. 63 - indexes 2, 3 for "vout";
|
| H A D | mp2975.rst | 30 - Can configured VOUT readout in direct or VID format and allows 32 protocols are available: VR13 mode with 5-mV DAC; VR13 mode with 33 10-mV DAC, IMVP9 mode with 5-mV DAC. 84 - indexes n+1, n+2 for "vout";
|
| H A D | xdpe12284.rst | 41 - VR12.0 mode, 5-mV DAC - 0x01. 42 - VR12.5 mode, 10-mV DAC - 0x02. 43 - IMVP9 mode, 5-mV DAC - 0x03. 69 indexes 1, 2 are for "vin" and 3, 4 for "vout":
|
| H A D | max31785.rst | 25 readings in attributes fan[5-8]_input. By contrast the MAX31785 only exposes 40 fan[1-8]_input Fan RPM. On the MAX31785A, inputs 5-8 correspond to the 47 in[1-6]_label "vout[18-23]"
|
| H A D | lt7182s.rst | 67 in[3-5]_label "vmon[1-3]" 68 in[3-5]_input Measured voltage on ITH1/ITH2/EXTVCC pins 72 in[3-4|6-7]_label "vout[1-2]"
|
| H A D | ucd9200.rst | 73 in[2-5]_label "vout[1-4]". 74 in[2-5]_input Measured voltage. From READ_VOUT register. 75 in[2-5]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. 76 in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. 77 in[2-5]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. 78 in[2-5]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT 80 in[2-5]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. 81 in[2-5]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. 82 in[2-5]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT 84 in[2-5]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT [all …]
|
| /linux/Documentation/devicetree/bindings/iio/addac/ |
| H A D | adi,ad74115.yaml | 65 5 - Current input, loop-powered 196 either source or sink for VOUT and 4mA sink for IOUT. 197 When present, the limit is 16mA in either source or sink for VOUT, 270 5 - Monitor HART EOM status 272 maximum: 5 284 5 - Monitor HART SOM status 286 maximum: 5 298 5 - Monitor HART TX complete status 300 maximum: 5 312 5 - Monitor HART CD complete status [all …]
|
| /linux/Documentation/devicetree/bindings/iio/afe/ |
| H A D | temperature-sense-rtd.yaml | 29 5V0 33 | R 5k | 38 +---- Vout 97 excitation-current-microamp = <1000>; /* i = U/R = 5 / 5000 */
|
| /linux/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-delta-ahe50dc.dts | 10 vout-supply = <&efuse##n>; \ 21 efuse##num: vout { \ 75 <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; 258 /* lm25066 efuses @ 10-17, 40-47, 50-57, 59, 5a */ 284 EFUSE(5a, 50);
|
| /linux/Documentation/misc-devices/ |
| H A D | max6875.rst | 33 - vin gpi vout 36 MAX6875 4 3 5
|
| /linux/drivers/phy/rockchip/ |
| H A D | phy-rockchip-inno-usb2.c | 824 bool is_dcd, tmout, vout; in rockchip_chg_detect_work() local 861 vout = property_enabled(rphy->grf, in rockchip_chg_detect_work() 864 if (vout) { in rockchip_chg_detect_work() 883 vout = property_enabled(rphy->grf, in rockchip_chg_detect_work() 887 if (vout) in rockchip_chg_detect_work() 1638 .utmi_bvalid = { 0x014c, 5, 5, 0, 1 }, 1650 .opmode = { 0x017c, 3, 0, 5, 1 }, 1652 .dcp_det = { 0x02c0, 5, 5, 0, 1 }, 1679 .idrise_det_en = { 0x0680, 5, 5, 0, 1 }, 1680 .idrise_det_st = { 0x0690, 5, 5, 0, 1 }, [all …]
|
| /linux/drivers/pmdomain/starfive/ |
| H A D | jh71xx-pmu.c | 40 #define JH71XX_PMU_INT_HW_FAIL GENMASK(5, 4) 400 .name = "VOUT", 405 .bit = 5,
|