/linux/arch/riscv/kernel/ |
H A D | kexec_relocate.S | 24 mv s0, a0 25 mv s1, a1 26 mv s2, a2 27 mv s3, a3 28 mv s4, a4 29 mv s5, zero 30 mv s6, zero 102 mv a0, s3 103 mv a1, s2 104 mv a2, s1 [all …]
|
/linux/Documentation/hwmon/ |
H A D | ina209.rst | 40 in0_input shunt voltage (mV) 41 in0_input_highest shunt voltage historical maximum reading (mV) 42 in0_input_lowest shunt voltage historical minimum reading (mV) 44 in0_max shunt voltage max alarm limit (mV) 45 in0_min shunt voltage min alarm limit (mV) 46 in0_crit_max shunt voltage crit max alarm limit (mV) 47 in0_crit_min shunt voltage crit min alarm limit (mV) 53 in1_input bus voltage (mV) 54 in1_input_highest bus voltage historical maximum reading (mV) 55 in1_input_lowest bus voltage historical minimum reading (mV) [all …]
|
H A D | ltc4245.rst | 52 in1_input 12v input voltage (mV) 53 in2_input 5v input voltage (mV) 54 in3_input 3v input voltage (mV) 55 in4_input Vee (-12v) input voltage (mV) 72 in5_input 12v output voltage (mV) 73 in6_input 5v output voltage (mV) 74 in7_input 3v output voltage (mV) 75 in8_input Vee (-12v) output voltage (mV)
|
H A D | ina238.rst | 35 in0_input Shunt voltage (mV) 36 in0_min Minimum shunt voltage threshold (mV) 38 in0_max Maximum shunt voltage threshold (mV) 41 in1_input Bus voltage (mV) 42 in1_min Minimum bus voltage threshold (mV) 44 in1_max Maximum bus voltage threshold (mV)
|
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
H A D | smu13_driver_if_aldebaran.h | 292 uint16_t MaxVoltageGfx; // In mV(Q2) Maximum Voltage allowable of VDD_GFX 293 uint16_t MaxVoltageSoc; // In mV(Q2) Maximum Voltage allowable of VDD_SOC 342 int16_t GFX_Guardband_Voltage_Cold[8]; // mV [signed] 343 int16_t GFX_Guardband_Voltage_Mid[8]; // mV [signed] 344 int16_t GFX_Guardband_Voltage_Hot[8]; // mV [signed] 347 int16_t SOC_Guardband_Voltage_Cold[8]; // mV [signed] 348 int16_t SOC_Guardband_Voltage_Mid[8]; // mV [signed] 349 int16_t SOC_Guardband_Voltage_Hot[8]; // mV [signed] 353 int16_t DcBtcMin; // mV [signed] 354 int16_t DcBtcMax; // mV [signed] [all …]
|
H A D | smu11_driver_if_sienna_cichlid.h | 633 uint16_t SmnclkDpmVoltage [NUM_SMNCLK_DPM_LEVELS]; // mV(Q2) 636 uint16_t PerPartDroopVsetGfxDfll[NUM_PIECE_WISE_LINEAR_DROOP_MODEL_VF_POINTS]; //In mV(Q2) 646 uint16_t UlvVoltageOffsetSoc; // In mV(Q2) 647 uint16_t UlvVoltageOffsetGfx; // In mV(Q2) 649 uint16_t MinVoltageUlvGfx; // In mV(Q2) Minimum Voltage ("Vmin") of VDD_GFX in ULV mode 650 uint16_t MinVoltageUlvSoc; // In mV(Q2) Minimum Voltage ("Vmin") of VDD_SOC in ULV mode 652 uint16_t SocLIVmin; // In mV(Q2) Long Idle Vmin (deep ULV), for VDD_SOC 659 uint16_t MinVoltageGfx; // In mV(Q2) Minimum Voltage ("Vmin") of VDD_GFX 660 uint16_t MinVoltageSoc; // In mV(Q2) Minimum Voltage ("Vmin") of VDD_SOC 661 uint16_t MaxVoltageGfx; // In mV(Q2) Maximum Voltage allowable of VDD_GFX [all …]
|
H A D | smu11_driver_if_arcturus.h | 497 uint16_t UlvVoltageOffsetGfx; // In mV(Q2) 504 uint16_t MinVoltageGfx; // In mV(Q2) Minimum Voltage ("Vmin") of VDD_GFX 505 uint16_t MinVoltageSoc; // In mV(Q2) Minimum Voltage ("Vmin") of VDD_SOC 506 uint16_t MaxVoltageGfx; // In mV(Q2) Maximum Voltage allowable of VDD_GFX 507 uint16_t MaxVoltageSoc; // In mV(Q2) Maximum Voltage allowable of VDD_SOC 526 uint16_t Mp0DpmVoltage [NUM_MP0CLK_DPM_LEVELS]; // mV(Q2) 583 uint16_t DcTol[AVFS_VOLTAGE_COUNT]; // mV Q2 588 uint16_t DcBtcMin[AVFS_VOLTAGE_COUNT]; // mV Q2 589 uint16_t DcBtcMax[AVFS_VOLTAGE_COUNT]; // mV Q2 591 uint16_t DcBtcGb[AVFS_VOLTAGE_COUNT]; // mV Q2 [all …]
|
H A D | smu11_driver_if_navi10.h | 558 uint16_t UlvVoltageOffsetSoc; // In mV(Q2) 559 uint16_t UlvVoltageOffsetGfx; // In mV(Q2) 569 uint16_t MinVoltageUlvGfx; // In mV(Q2) Minimum Voltage ("Vmin") of VDD_GFX in ULV mode 570 uint16_t MinVoltageUlvSoc; // In mV(Q2) Minimum Voltage ("Vmin") of VDD_SOC in ULV mode 574 uint16_t MinVoltageGfx; // In mV(Q2) Minimum Voltage ("Vmin") of VDD_GFX 575 uint16_t MinVoltageSoc; // In mV(Q2) Minimum Voltage ("Vmin") of VDD_SOC 576 uint16_t MaxVoltageGfx; // In mV(Q2) Maximum Voltage allowable of VDD_GFX 577 uint16_t MaxVoltageSoc; // In mV(Q2) Maximum Voltage allowable of VDD_SOC 603 uint16_t Mp0DpmVoltage [NUM_MP0CLK_DPM_LEVELS]; // mV(Q2) 604 uint16_t MemVddciVoltage [NUM_UCLK_DPM_LEVELS]; // mV(Q2) [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | cs35l33.txt | 22 0, then VBST = VP. If greater than 0, the boost voltage will be 3300mV with 23 a value of 1 and will increase at a step size of 100mV until a maximum of 24 8000mV. 62 stage enters LDO operation. Starts as a default value of 50mV for a value 63 of 1 and increases with a step size of 50mV to a maximum of 750mV (value of 80 The reference voltage starts at 3000mV with a value of 0x3 and is increased 81 by 100mV per step to a maximum of 5500mV. 91 1800mV with a step size of 50mV up to a maximum value of 1750mV. 92 Default is 1800mV. 109 cirrus,boost-ctl = <0x30>; /* VBST = 8000mV */
|
/linux/include/linux/usb/ |
H A D | pd.h | 232 #define PDO_FIXED_VOLT_SHIFT 10 /* 50mV units */ 235 #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT) argument 238 #define PDO_FIXED(mv, ma, flags) \ argument 240 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) 242 #define VSAFE5V 5000 /* mv units */ 244 #define PDO_BATT_MAX_VOLT_SHIFT 20 /* 50mV units */ 245 #define PDO_BATT_MIN_VOLT_SHIFT 10 /* 50mV units */ 248 #define PDO_BATT_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MIN_VOLT_SHIFT) argument 249 #define PDO_BATT_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MAX_VOLT_SHIFT) argument 256 #define PDO_VAR_MAX_VOLT_SHIFT 20 /* 50mV units */ [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gk20a.c | 54 int mv; in gk20a_volt_get_cvb_voltage() local 56 mv = DIV_ROUND_CLOSEST(coef->c2 * speedo, s_scale); in gk20a_volt_get_cvb_voltage() 57 mv = DIV_ROUND_CLOSEST((mv + coef->c1) * speedo, s_scale) + coef->c0; in gk20a_volt_get_cvb_voltage() 58 return mv; in gk20a_volt_get_cvb_voltage() 70 int cvb_mv, mv; in gk20a_volt_get_cvb_t_voltage() local 74 mv = DIV_ROUND_CLOSEST(coef->c3 * speedo, s_scale) + coef->c4 + in gk20a_volt_get_cvb_t_voltage() 76 mv = DIV_ROUND_CLOSEST(mv * temp, t_scale) + cvb_mv; in gk20a_volt_get_cvb_t_voltage() 77 return mv; in gk20a_volt_get_cvb_t_voltage() 84 int mv; in gk20a_volt_calc_voltage() local 86 mv = gk20a_volt_get_cvb_t_voltage(speedo, -10, 100, 10, coef); in gk20a_volt_calc_voltage() [all …]
|
/linux/drivers/clk/tegra/ |
H A D | cvb.c | 17 int mv; in get_cvb_voltage() local 19 /* apply only speedo scale: output mv = cvb_mv * v_scale */ in get_cvb_voltage() 20 mv = DIV_ROUND_CLOSEST(cvb->c2 * speedo, s_scale); in get_cvb_voltage() 21 mv = DIV_ROUND_CLOSEST((mv + cvb->c1) * speedo, s_scale) + cvb->c0; in get_cvb_voltage() 22 return mv; in get_cvb_voltage() 25 static int round_cvb_voltage(int mv, int v_scale, in round_cvb_voltage() argument 33 uv = max(mv * 1000, offset) - offset; in round_cvb_voltage() 43 static int round_voltage(int mv, const struct rail_alignment *align, int up) in round_voltage() argument 48 uv = max(mv * 1000, align->offset_uv) - align->offset_uv; in round_voltage() 52 return mv; in round_voltage()
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | maxim,max8952.yaml | 46 - 0: 32mV/us 47 - 1: 16mV/us 48 - 2: 8mV/us 49 - 3: 4mV/us 50 - 4: 2mV/us 51 - 5: 1mV/us 52 - 6: 0.5mV/us 53 - 7: 0.25mV/us 54 Defaults to 32mV/us if not specified.
|
H A D | tps51632-regulator.txt | 9 - ti,dvfs-step-20mV: The 20mV step voltage when PWM DVFS enabled. Missing this 10 will set 10mV step voltage in PWM DVFS mode. In normal mode, the voltage 11 step is 10mV as per datasheet. 26 ti,dvfs-step-20mV;
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_ddi_buf_trans.c | 53 /* Idx NT mV d T mV d db */ 126 /* Idx NT mV d T mV df db */ 362 /* Idx NT mV diff db */ 381 /* Idx NT mV diff db */ 403 /* Idx NT mV diff db */ 424 /* NT mV Trans mV db */ 443 /* NT mV Trans mV db */ 462 /* NT mV Trans mV db */ 479 /* NT mV Trans mV db */ 498 /* NT mV Trans mV db */ [all …]
|
/linux/arch/sh/kernel/ |
H A D | machvec.c | 22 #define for_each_mv(mv) \ argument 23 for ((mv) = (struct sh_machine_vector *)__machvec_start; \ 24 (mv) && (unsigned long)(mv) < (unsigned long)__machvec_end; \ 25 (mv)++) 29 struct sh_machine_vector *mv; in get_mv_byname() local 31 for_each_mv(mv) in get_mv_byname() 32 if (strcasecmp(name, mv->mv_name) == 0) in get_mv_byname() 33 return mv; in get_mv_byname()
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_vp9_req_lat_if.c | 340 * @mv: mv working buffer 359 struct vdec_vp9_slice_mem mv[2]; member 429 * @mv: mv working buffer 468 * mv[0]/seg[0]/tile/prob/counts is used for LAT 469 * mv[1]/seg[1] is used for CORE 471 struct mtk_vcodec_mem mv[2]; member 592 if (instance->mv[i].va) in vdec_vp9_slice_alloc_working_buffer() 593 mtk_vcodec_mem_free(ctx, &instance->mv[i]); in vdec_vp9_slice_alloc_working_buffer() 594 instance->mv[i].size = size; in vdec_vp9_slice_alloc_working_buffer() 595 if (mtk_vcodec_mem_alloc(ctx, &instance->mv[i])) in vdec_vp9_slice_alloc_working_buffer() [all …]
|
/linux/arch/riscv/lib/ |
H A D | tishift.S | 20 mv a1,a2 27 mv a1,a2 43 mv a1,a2 50 mv a1,a2 66 mv a0,a2 73 mv a0,a2
|
/linux/include/dt-bindings/usb/ |
H A D | pd.h | 26 #define PDO_FIXED_VOLT_SHIFT 10 /* 50mV units */ 29 #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT) argument 32 #define PDO_FIXED(mv, ma, flags) \ argument 34 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) 36 #define VSAFE5V 5000 /* mv units */ 38 #define PDO_BATT_MAX_VOLT_SHIFT 20 /* 50mV units */ 39 #define PDO_BATT_MIN_VOLT_SHIFT 10 /* 50mV units */ 42 #define PDO_BATT_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MIN_VOLT_SHIFT) argument 43 #define PDO_BATT_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MAX_VOLT_SHIFT) argument 50 #define PDO_VAR_MAX_VOLT_SHIFT 20 /* 50mV units */ [all …]
|
/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_g2_vp9_dec.c | 74 * probs in a special way. All probs which need updating, except MV-related, in start_prepare_run() 78 * inv_map_table[]), or zero to indicate no update. All MV-related probs which need in start_prepare_run() 638 struct hantro_g2_mv_probs *mv; in config_probs() local 715 mv = &adaptive->mv; in config_probs() 717 memcpy(mv->joint, probs->mv.joint, sizeof(mv->joint)); in config_probs() 718 memcpy(mv->sign, probs->mv.sign, sizeof(mv->sign)); in config_probs() 719 memcpy(mv->class0_bit, probs->mv.class0_bit, sizeof(mv->class0_bit)); in config_probs() 720 memcpy(mv->fr, probs->mv.fr, sizeof(mv->fr)); in config_probs() 721 memcpy(mv->class0_hp, probs->mv.class0_hp, sizeof(mv->class0_hp)); in config_probs() 722 memcpy(mv->hp, probs->mv.hp, sizeof(mv->hp)); in config_probs() [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | board-n8x0.c | 166 int mV; in n8x0_mmc_set_power_menelaus() local 179 mV = 3100; in n8x0_mmc_set_power_menelaus() 182 mV = 3000; in n8x0_mmc_set_power_menelaus() 185 mV = 2800; in n8x0_mmc_set_power_menelaus() 188 mV = 1850; in n8x0_mmc_set_power_menelaus() 193 return menelaus_set_vmmc(mV); in n8x0_mmc_set_power_menelaus() 200 mV = 3300; in n8x0_mmc_set_power_menelaus() 204 mV = 3000; in n8x0_mmc_set_power_menelaus() 208 mV = 2800; in n8x0_mmc_set_power_menelaus() 212 mV = 2400; in n8x0_mmc_set_power_menelaus() [all …]
|
/linux/include/linux/mfd/ |
H A D | menelaus.h | 21 extern int menelaus_set_vmem(unsigned int mV); 22 extern int menelaus_set_vio(unsigned int mV); 23 extern int menelaus_set_vmmc(unsigned int mV); 24 extern int menelaus_set_vaux(unsigned int mV); 25 extern int menelaus_set_vdcdc(int dcdc, unsigned int mV);
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | ti,drv260x.yaml | 67 vib-rated-mv: 71 If this is not set then the value will be defaulted to 3200 mV. 74 vib-overdrive-mv: 78 If this is not set then the value will be defaulted to 3200 mV. 106 vib-rated-mv = <3200>; 107 vib-overdrive-mv = <3200>;
|
/linux/drivers/staging/media/rkvdec/ |
H A D | rkvdec-vp9.c | 69 } mv; member 289 /* mv related 6 x 128 */ in init_inter_probs() 290 memcpy(rkprobs->mv.joint, probs->mv.joint, in init_inter_probs() 291 sizeof(rkprobs->mv.joint)); in init_inter_probs() 292 memcpy(rkprobs->mv.sign, probs->mv.sign, in init_inter_probs() 293 sizeof(rkprobs->mv.sign)); in init_inter_probs() 294 memcpy(rkprobs->mv.classes, probs->mv.classes, in init_inter_probs() 295 sizeof(rkprobs->mv.classes)); in init_inter_probs() 296 memcpy(rkprobs->mv.class0_bit, probs->mv.class0_bit, in init_inter_probs() 297 sizeof(rkprobs->mv.class0_bit)); in init_inter_probs() [all …]
|
/linux/drivers/scsi/ |
H A D | ch.c | 711 struct changer_move mv; in ch_ioctl() local 713 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl() 716 if (0 != ch_checkrange(ch, mv.cm_fromtype, mv.cm_fromunit) || in ch_ioctl() 717 0 != ch_checkrange(ch, mv.cm_totype, mv.cm_tounit )) { in ch_ioctl() 724 ch->firsts[mv.cm_fromtype] + mv.cm_fromunit, in ch_ioctl() 725 ch->firsts[mv.cm_totype] + mv.cm_tounit, in ch_ioctl() 726 mv.cm_flags & CM_INVERT); in ch_ioctl() 733 struct changer_exchange mv; in ch_ioctl() local 735 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl() 738 if (0 != ch_checkrange(ch, mv.ce_srctype, mv.ce_srcunit ) || in ch_ioctl() [all …]
|