Home
last modified time | relevance | path

Searched refs:volt (Results 1 – 25 of 55) sorted by relevance

123

/device/soc/esp/esp32/components/hal/
Dtouch_sensor_hal.c28 void touch_hal_set_voltage(const touch_hal_volt_t *volt) in touch_hal_set_voltage() argument
30 touch_ll_set_voltage_high(volt->refh); in touch_hal_set_voltage()
31 touch_ll_set_voltage_low(volt->refl); in touch_hal_set_voltage()
32 touch_ll_set_voltage_attenuation(volt->atten); in touch_hal_set_voltage()
35 void touch_hal_get_voltage(touch_hal_volt_t *volt) in touch_hal_get_voltage() argument
37 touch_ll_get_voltage_high(&volt->refh); in touch_hal_get_voltage()
38 touch_ll_get_voltage_low(&volt->refl); in touch_hal_get_voltage()
39 touch_ll_get_voltage_attenuation(&volt->atten); in touch_hal_get_voltage()
/device/soc/rockchip/common/sdk_linux/include/trace/events/
Dthermal_ipa_power.h12 …TP_PROTO(u32 leakage, u32 coefficient, s32 temp, u32 temp_scaling_factor, u32 volt, u32 volt_scali…
15 … TP_ARGS(leakage, coefficient, temp, temp_scaling_factor, volt, volt_scaling_factor, static_power),
18 … __field(u32, temp_scaling_factor) __field(u32, volt) __field(u32, volt_scaling_factor)
22 __entry->temp_scaling_factor = temp_scaling_factor; __entry->volt = volt;
25 … __entry->temp, __entry->temp_scaling_factor, __entry->volt, __entry->volt_scaling_factor,
/device/board/isoftstone/yangfan/kernel/src/incl/treace/events/
Dthermal_ipa_power.h12 u32 temp_scaling_factor, u32 volt, u32 volt_scaling_factor,
15 TP_ARGS(leakage, coefficient, temp, temp_scaling_factor, volt,
23 __field(u32, volt)
33 __entry->volt = volt;
39 __entry->temp_scaling_factor, __entry->volt,
/device/soc/rockchip/rk3588/kernel/include/trace/events/
Dthermal_ipa_power.h12 u32 temp_scaling_factor, u32 volt, u32 volt_scaling_factor,
15 TP_ARGS(leakage, coefficient, temp, temp_scaling_factor, volt,
23 __field(u32, volt)
33 __entry->volt = volt;
39 __entry->temp_scaling_factor, __entry->volt,
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_iomux.h57 enum HAL_IOMUX_PIN_VOLTAGE_DOMAINS_T volt; member
65 …_iomux_set_io_voltage_domains(enum HAL_IOMUX_PIN_T pin, enum HAL_IOMUX_PIN_VOLTAGE_DOMAINS_T volt);
70 void hal_iomux_set_uart0_voltage(enum HAL_IOMUX_PIN_VOLTAGE_DOMAINS_T volt);
71 void hal_iomux_set_uart1_voltage(enum HAL_IOMUX_PIN_VOLTAGE_DOMAINS_T volt);
72 void hal_iomux_set_uart2_voltage(enum HAL_IOMUX_PIN_VOLTAGE_DOMAINS_T volt);
110 void hal_iomux_set_sdio_voltage(enum HAL_IOMUX_PIN_VOLTAGE_DOMAINS_T volt);
Dhal_gpadc.h69 typedef void (*HAL_GPADC_EVENT_CB_T)(uint16_t raw_val, HAL_GPADC_MV_T volt);
78 bool hal_gpadc_get_volt(enum HAL_GPADC_CHAN_T ch, HAL_GPADC_MV_T *volt);
Dhal_key.c223 static enum HAL_KEY_CODE_T hal_adckey_findkey(uint16_t volt) in hal_adckey_findkey() argument
228 if (volt == HAL_GPADC_BAD_VALUE) { in hal_adckey_findkey()
233 if (volt == 0) volt++; in hal_adckey_findkey()
235 if (CFG_HW_ADCKEY_ADC_KEYVOLT_BASE <= volt && volt < CFG_HW_ADCKEY_ADC_MAXVOLT) { in hal_adckey_findkey()
237 if (volt <= adckey_volt_table[index]) { in hal_adckey_findkey()
Dhal_gpadc.c449 HAL_GPADC_MV_T volt; in hal_gpadc_irq_handler() local
474 volt = hal_gpadc_adc2volt(adc_val); in hal_gpadc_irq_handler()
476 gpadc_event_cb[ch](adc_val, volt); in hal_gpadc_irq_handler()
576 bool hal_gpadc_get_volt(enum HAL_GPADC_CHAN_T ch, HAL_GPADC_MV_T *volt) in hal_gpadc_get_volt() argument
593 *volt = hal_gpadc_adc2volt(read_val); in hal_gpadc_get_volt()
/device/soc/esp/esp32/components/driver/
Dtouch_sensor_common.c73 const touch_hal_volt_t volt = { in touch_pad_set_voltage() local
79 touch_hal_set_voltage(&volt); in touch_pad_set_voltage()
87 touch_hal_volt_t volt = {0}; in touch_pad_get_voltage() local
89 touch_hal_get_voltage(&volt); in touch_pad_get_voltage()
91 *refh = volt.refh; in touch_pad_get_voltage()
92 *refl = volt.refl; in touch_pad_get_voltage()
93 *atten = volt.atten; in touch_pad_get_voltage()
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ddr_init/boot/hi3518ev300/
Dlowlevel_init_v300.c239 unsigned int volt; in set_hpm_core_volt() local
244 volt = 966; in set_hpm_core_volt()
246 volt = 796; in set_hpm_core_volt()
248 volt = 1234 - ((1445 * hpm_core_value) >> 10); in set_hpm_core_volt()
251 volt = volt + (int)((short int)(otp_vmin_core >> 16)); in set_hpm_core_volt()
253 writel(volt, SYS_CTRL_VOLT_REG); in set_hpm_core_volt()
254 duty = ((unsigned int)((1099 - volt) * 460) >> 10); in set_hpm_core_volt()
/device/soc/esp/esp32/components/hal/include/hal/
Dtouch_sensor_hal.h68 void touch_hal_set_voltage(const touch_hal_volt_t *volt);
78 void touch_hal_get_voltage(touch_hal_volt_t *volt);
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/drivers/ana/
Dpmu.h220 int pmu_debug_config_ana(uint16_t volt);
222 int pmu_debug_config_codec(uint16_t volt);
236 …d pmu_led_set_voltage_domains(enum HAL_IOMUX_PIN_T pin, enum HAL_IOMUX_PIN_VOLTAGE_DOMAINS_T volt);
/device/board/isoftstone/yangfan/kernel/src/incl/soc/
Drockchip_system_monitor.h17 int volt; /* Voltage in microvolt */ member
34 unsigned long volt; member
Drockchip_opp_select.h14 int volt; member
23 unsigned long volt);
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/
Drockchip_system_monitor.h17 int volt; /* Voltage in microvolt */ member
34 unsigned long volt; member
Drockchip_opp_select.h14 int volt; member
23 unsigned long volt);
/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/
Drockchip_system_monitor.h17 int volt; /* Voltage in microvolt */ member
34 unsigned long volt; member
Drockchip_opp_select.h14 int volt; member
20 …int (*set_read_margin)(struct device *dev, struct rockchip_opp_info *opp_info, unsigned long volt);
/device/soc/rockchip/rk3588/kernel/drivers/cpufreq/
Drockchip-cpufreq.c188 unsigned long volt) in rk3588_cpu_set_read_margin() argument
198 if (volt >= opp_info->volt_rm_tbl[i].volt) { in rk3588_cpu_set_read_margin()
348 unsigned long volt) in rockchip_cpufreq_set_read_margin() argument
351 opp_info->data->set_read_margin(dev, opp_info, volt); in rockchip_cpufreq_set_read_margin()
352 opp_info->volt_rm = volt; in rockchip_cpufreq_set_read_margin()
/device/soc/rockchip/rk3588/kernel/drivers/devfreq/
Drockchip_bus.c33 unsigned long volt; member
142 bus->freq_table[i].volt = dev_pm_opp_get_voltage(opp); in rockchip_bus_set_freq_table()
185 unsigned long target_volt = bus->freq_table[bus->max_state - 1].volt; in rockchip_bus_clkfreq_target()
190 target_volt = bus->freq_table[i].volt; in rockchip_bus_clkfreq_target()
/device/soc/rockchip/common/vendor/drivers/devfreq/
Drockchip_bus.c31 unsigned long volt; member
136 bus->freq_table[i].volt = dev_pm_opp_get_voltage(opp); in rockchip_bus_set_freq_table()
179 unsigned long target_volt = bus->freq_table[bus->max_state - 1].volt; in rockchip_bus_clkfreq_target()
184 target_volt = bus->freq_table[i].volt; in rockchip_bus_clkfreq_target()
/device/board/isoftstone/yangfan/kernel/src/driv/devfreq/
Drockchip_bus.c33 unsigned long volt; member
142 bus->freq_table[i].volt = dev_pm_opp_get_voltage(opp); in rockchip_bus_set_freq_table()
185 unsigned long target_volt = bus->freq_table[bus->max_state - 1].volt; in rockchip_bus_clkfreq_target()
190 target_volt = bus->freq_table[i].volt; in rockchip_bus_clkfreq_target()
/device/soc/rockchip/common/vendor/drivers/rockchip/
Drockchip_system_monitor.c458 of_property_read_u32_index(np, porp_name, 0x3 * i + 0x2, &volt_table[i].volt); in rockchip_get_adjust_volt_table()
462 volt_table[i].volt = INT_MAX; in rockchip_get_adjust_volt_table()
478 for (i = 0; info->low_temp_adjust_table[i].volt != INT_MAX; i++) { in rockchip_get_low_temp_volt()
480 *delta_volt = info->low_temp_adjust_table[i].volt; in rockchip_get_low_temp_volt()
518 info->opp_table[i].volt = opp->supplies[0].u_volt; in rockchip_init_temp_opp_table()
553 …g(dev, "rate=%lu, volt=%lu, low_temp_volt=%lu\n", info->opp_table[i].rate, info->opp_table[i].volt, in rockchip_init_temp_opp_table()
799 opp->supplies[0].u_volt_min = info->opp_table[i].volt; in rockchip_adjust_low_temp_opp_volt()
1082 …monitor_set_read_margin(struct device *dev, struct rockchip_opp_info *opp_info, unsigned long volt) in rockchip_monitor_set_read_margin() argument
1086 opp_info->data->set_read_margin(dev, opp_info, volt); in rockchip_monitor_set_read_margin()
1088 opp_info->volt_rm = volt; in rockchip_monitor_set_read_margin()
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
Drockchip_system_monitor.c463 &volt_table[i].volt); in rockchip_get_adjust_volt_table()
467 volt_table[i].volt = INT_MAX; in rockchip_get_adjust_volt_table()
483 for (i = 0; info->low_temp_adjust_table[i].volt != INT_MAX; i++) { in rockchip_get_low_temp_volt()
486 *delta_volt = info->low_temp_adjust_table[i].volt; in rockchip_get_low_temp_volt()
522 info->opp_table[i].volt = opp->supplies[0].u_volt; in rockchip_init_temp_opp_table()
553 info->opp_table[i].rate, info->opp_table[i].volt, in rockchip_init_temp_opp_table()
814 opp->supplies[0].u_volt_min = info->opp_table[i].volt; in rockchip_adjust_low_temp_opp_volt()
1095 unsigned long volt) in rockchip_monitor_set_read_margin() argument
1100 opp_info->data->set_read_margin(dev, opp_info, volt); in rockchip_monitor_set_read_margin()
1101 opp_info->volt_rm = volt; in rockchip_monitor_set_read_margin()
/device/board/isoftstone/yangfan/kernel/src/driv/soc/
Drockchip_system_monitor.c463 &volt_table[i].volt); in rockchip_get_adjust_volt_table()
467 volt_table[i].volt = INT_MAX; in rockchip_get_adjust_volt_table()
483 for (i = 0; info->low_temp_adjust_table[i].volt != INT_MAX; i++) { in rockchip_get_low_temp_volt()
486 *delta_volt = info->low_temp_adjust_table[i].volt; in rockchip_get_low_temp_volt()
522 info->opp_table[i].volt = opp->supplies[0].u_volt; in rockchip_init_temp_opp_table()
553 info->opp_table[i].rate, info->opp_table[i].volt, in rockchip_init_temp_opp_table()
814 opp->supplies[0].u_volt_min = info->opp_table[i].volt; in rockchip_adjust_low_temp_opp_volt()
1095 unsigned long volt) in rockchip_monitor_set_read_margin() argument
1100 opp_info->data->set_read_margin(dev, opp_info, volt); in rockchip_monitor_set_read_margin()
1101 opp_info->volt_rm = volt; in rockchip_monitor_set_read_margin()

123