Home
last modified time | relevance | path

Searched refs:mv (Results 1 – 25 of 152) sorted by relevance

1234567

/Zephyr-latest/include/zephyr/dt-bindings/usb-c/
Dpd.h35 #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT) argument
38 #define PDO_FIXED(mv, ma, flags) \ argument
40 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma))
48 #define PDO_BATT_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MIN_VOLT_SHIFT) argument
49 #define PDO_BATT_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MAX_VOLT_SHIFT) argument
60 #define PDO_VAR_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MIN_VOLT_SHIFT) argument
61 #define PDO_VAR_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MAX_VOLT_SHIFT) argument
82 #define PDO_PPS_APDO_MIN_VOLT(mv) \ argument
83 ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MIN_VOLT_SHIFT)
84 #define PDO_PPS_APDO_MAX_VOLT(mv) \ argument
[all …]
/Zephyr-latest/arch/riscv/core/
Dswitch.S59 mv s0, a0
61 mv a0, s0
66 mv s0, a0
68 mv a0, s0
78 mv s0, a0
80 mv a0, s0
85 mv s0, a0
87 mv a0, s0
/Zephyr-latest/tests/drivers/adc/adc_rescale/boards/
Dnative_sim.overlay33 ref-internal-mv = <3300>;
34 ref-external1-mv = <5000>;
48 zephyr,vref-mv = <3300>;
57 zephyr,vref-mv = <3300>;
66 zephyr,vref-mv = <3300>;
/Zephyr-latest/tests/drivers/adc/adc_emul/
Dapp.overlay8 ref-internal-mv = <3300>;
9 ref-external1-mv = <5000>;
/Zephyr-latest/boards/st/stm32c0116_dk/
Dstm32c0116_dk.dts52 keyup-threshold-mv = <3300>;
55 press-thresholds-mv = <0>;
60 press-thresholds-mv = <670>;
65 press-thresholds-mv = <1320>;
70 press-thresholds-mv = <2010>;
75 press-thresholds-mv = <2650>;
157 zephyr,vref-mv = <3300>;
/Zephyr-latest/drivers/sensor/lm35/
Dlm35.c53 int32_t mv = data->raw; in lm35_channel_get() local
56 cfg->adc_seq.resolution, &mv); in lm35_channel_get()
62 val->val1 = mv / 10; in lm35_channel_get()
63 val->val2 = (mv % 10) * 100000; in lm35_channel_get()
/Zephyr-latest/tests/drivers/adc/adc_api/boards/
Dfrdm_mcxc242.overlay21 zephyr,vref-mv = <3300>;
30 zephyr,vref-mv = <3300>;
Dnative_posix.overlay14 ref-internal-mv = <3300>;
15 ref-external1-mv = <5000>;
Dek_ra4w1.overlay25 zephyr,vref-mv = <3300>;
34 zephyr,vref-mv = <3300>;
Dek_ra4e2.overlay25 zephyr,vref-mv = <3300>;
34 zephyr,vref-mv = <3300>;
Dek_ra4m2.overlay25 zephyr,vref-mv = <3300>;
34 zephyr,vref-mv = <3300>;
Dek_ra6e2.overlay25 zephyr,vref-mv = <3300>;
34 zephyr,vref-mv = <3300>;
Dfpb_ra6e1.overlay25 zephyr,vref-mv = <3300>;
34 zephyr,vref-mv = <3300>;
Dfpb_ra6e2.overlay25 zephyr,vref-mv = <3300>;
34 zephyr,vref-mv = <3300>;
Dlpcxpresso55s69_lpc55s69_cpu0.overlay27 zephyr,vref-mv = <3300>;
41 zephyr,vref-mv = <3300>;
55 zephyr,vref-mv = <3300>;
Dlpcxpresso55s69_lpc55s69_cpu0_ns.overlay27 zephyr,vref-mv = <3300>;
41 zephyr,vref-mv = <3300>;
55 zephyr,vref-mv = <3300>;
Dek_ra4m3.overlay37 zephyr,vref-mv = <3300>;
46 zephyr,vref-mv = <3300>;
Dek_ra6m1.overlay37 zephyr,vref-mv = <3300>;
46 zephyr,vref-mv = <3300>;
Dek_ra6m2.overlay37 zephyr,vref-mv = <3300>;
46 zephyr,vref-mv = <3300>;
Dek_ra6m3.overlay37 zephyr,vref-mv = <3300>;
46 zephyr,vref-mv = <3300>;
Dek_ra6m4.overlay37 zephyr,vref-mv = <3300>;
46 zephyr,vref-mv = <3300>;
Dek_ra6m5.overlay37 zephyr,vref-mv = <3300>;
46 zephyr,vref-mv = <3300>;
Dek_ra8d1.overlay37 zephyr,vref-mv = <3300>;
46 zephyr,vref-mv = <3300>;
Dek_ra8m1.overlay37 zephyr,vref-mv = <3300>;
46 zephyr,vref-mv = <3300>;
/Zephyr-latest/drivers/sensor/rpi_pico_temp/
Drpi_pico_temp.c57 int32_t mv = 0; in rpi_pico_temp_channel_get() local
65 mv = data->sample; in rpi_pico_temp_channel_get()
67 data->adc_seq.resolution, &mv); in rpi_pico_temp_channel_get()
77 work = ((27 * (-cfg->vbe_slope)) - (mv * 1000 - cfg->vbe)); in rpi_pico_temp_channel_get()

1234567