| /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 | mp2869.c | 16 * the vout scale and the MFR_SVI3_IOUT_PRT(0x67) is used to identify 75 mantissa = ((s16)((word & 0x7ff) << 5)) >> 5; in mp2869_reg2data_linear11() 124 * Obtain vout scale from the register PMBUS_VOUT_SCALE_LOOP, bits 12-10 in mp2869_identify_vout_scale() 126 * 000b - 6.25mV/LSB, 001b - 5mV/LSB, 010b - 2.5mV/LSB, 011b - 2mV/LSB in mp2869_identify_vout_scale() 173 * The calculation of vout in this driver is based on direct format. in mp2869_read_byte_data() 174 * As a result, the format of vout is enforced to direct. in mp2869_read_byte_data() 562 /* Identify vout scale for rail1. */ in mp2869_identify() 567 /* Identify vout scale for rail2. */ in mp2869_identify()
|
| 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() 423 #define MP2973_OTHER_COMM 5 in mp2973_write_word_data() 731 * 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 | tps53679.c | 27 #define TPS53679_PROT_VR12_5MV 0x01 /* VR12.0 mode, 5-mV DAC */ 28 #define TPS53679_PROT_VR12_5_10MV 0x02 /* VR12.5 mode, 10-mV DAC */ 30 #define TPS53679_PROT_IMVP8_5MV 0x05 /* IMVP8 mode, 5-mV DAC */ 31 #define TPS53679_PROT_VR13_5MV 0x07 /* VR13.0 mode, 5-mV DAC */ 50 /* Read the register with VOUT scaling value.*/ in tps53679_identify_mode() 246 .pfunc[5] = PMBUS_HAVE_IOUT,
|
| /linux/drivers/media/platform/ti/omap/ |
| H A D | omap_vout.c | 200 static int omap_vout_calculate_offset(struct omap_vout_device *vout) in omap_vout_calculate_offset() argument 203 struct v4l2_rect *crop = &vout->crop; in omap_vout_calculate_offset() 204 struct v4l2_pix_format *pix = &vout->pix; in omap_vout_calculate_offset() 205 int *cropped_offset = &vout->cropped_offset; in omap_vout_calculate_offset() 208 ovid = &vout->vid_info; in omap_vout_calculate_offset() 211 omap_vout_calculate_vrfb_offset(vout); in omap_vout_calculate_offset() 213 vout->line_length = line_length = pix->width; in omap_vout_calculate_offset() 223 vout->ps = ps; in omap_vout_calculate_offset() 229 v4l2_dbg(1, debug, &vout->vid_dev->v4l2_dev, "%s Offset:%x\n", in omap_vout_calculate_offset() 230 __func__, vout->cropped_offset); in omap_vout_calculate_offset() [all …]
|
| /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 | 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/drivers/media/pci/ivtv/ |
| H A D | ivtv-ioctl.c | 149 data[5] = 0; in ivtv_set_speed() 182 data[0], data[1], data[2], data[3], data[4], data[5], data[6]); in ivtv_set_speed() 754 static int ivtv_s_audio(struct file *file, void *fh, const struct v4l2_audio *vout) in ivtv_s_audio() argument 758 if (vout->index >= itv->nof_audio_inputs) in ivtv_s_audio() 761 itv->audio_input = vout->index; in ivtv_s_audio() 783 static int ivtv_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout) in ivtv_s_audout() argument 787 if (itv->card->video_outputs == NULL || vout->index != 0) in ivtv_s_audout() 800 static int ivtv_enum_output(struct file *file, void *fh, struct v4l2_output *vout) in ivtv_enum_output() argument 804 return ivtv_get_output(itv, vout->index, vout); in ivtv_enum_output() 1532 static const char * const output_modes[5] = { in ivtv_log_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/arch/arm/boot/dts/st/ |
| H A D | stm32mp15xc-lxa-tac.dtsi | 103 reg_5v: regulator-5v { 105 regulator-name = "5V"; 121 reg_pb_5v: regulator-pb-5v { 123 regulator-name = "5V_POWERBOARD"; 141 vout-supply = <®_iobus_12v>; 146 vout-supply = <&v3v3_hdmi>; 194 "", "USB_RESET", "", "", "", /* 5 */ 201 "TP39", "", "", "TP41", "TP42", /* 5 */ 208 "", "", "", "", "", /* 5 */ 215 "", "", "", "", "", /* 5 */ [all …]
|
| /linux/Documentation/misc-devices/ |
| H A D | max6875.rst | 33 - vin gpi vout 36 MAX6875 4 3 5
|