Home
last modified time | relevance | path

Searched refs:linear_range (Results 1 – 25 of 79) sorted by relevance

1234

/linux-6.12.1/include/linux/
Dlinear_range.h22 struct linear_range { struct
40 unsigned int linear_range_values_in_range(const struct linear_range *r); argument
41 unsigned int linear_range_values_in_range_array(const struct linear_range *r,
43 unsigned int linear_range_get_max_value(const struct linear_range *r);
45 int linear_range_get_value(const struct linear_range *r, unsigned int selector,
47 int linear_range_get_value_array(const struct linear_range *r, int ranges,
49 int linear_range_get_selector_low(const struct linear_range *r,
52 int linear_range_get_selector_high(const struct linear_range *r,
55 void linear_range_get_selector_within(const struct linear_range *r,
57 int linear_range_get_selector_low_array(const struct linear_range *r,
/linux-6.12.1/drivers/regulator/
Dqcom_smd-regulator.c211 .linear_ranges = (struct linear_range[]) {
221 .linear_ranges = (struct linear_range[]) {
231 .linear_ranges = (struct linear_range[]) {
242 .linear_ranges = (struct linear_range[]) {
255 .linear_ranges = (struct linear_range[]) {
265 .linear_ranges = (struct linear_range[]) {
275 .linear_ranges = (struct linear_range[]) {
286 .linear_ranges = (struct linear_range[]) {
299 .linear_ranges = (struct linear_range[]) {
309 .linear_ranges = (struct linear_range[]) {
[all …]
Dqcom-rpmh-regulator.c90 const struct linear_range *voltage_ranges;
627 .voltage_ranges = (struct linear_range[]) {
640 .voltage_ranges = (struct linear_range[]) {
653 .voltage_ranges = (struct linear_range[]) {
666 .voltage_ranges = (struct linear_range[]) {
678 .voltage_ranges = (struct linear_range[]) {
690 .voltage_ranges = (struct linear_range[]) {
708 .voltage_ranges = (struct linear_range[]) {
721 .voltage_ranges = (struct linear_range[]) {
734 .voltage_ranges = (struct linear_range[]) {
[all …]
Dmt6358-regulator.c241 static const struct linear_range vdram2_ranges[] = {
247 static const struct linear_range vsim_ranges[] = {
256 static const struct linear_range vibr_ranges[] = {
269 static const struct linear_range vusb_ranges[] = {
275 static const struct linear_range vcamd_ranges[] = {
286 static const struct linear_range vefuse_ranges[] = {
293 static const struct linear_range vmch_vemc_ranges[] = {
300 static const struct linear_range vcama_ranges[] = {
310 static const struct linear_range vcn33_ranges[] = {
317 static const struct linear_range vmc_ranges[] = {
[all …]
Dstpmic1_regulator.c61 static const struct linear_range buck1_ranges[] = {
67 static const struct linear_range buck2_ranges[] = {
81 static const struct linear_range buck3_ranges[] = {
91 static const struct linear_range buck4_ranges[] = {
101 static const struct linear_range ldo1_ranges[] = {
107 static const struct linear_range ldo2_ranges[] = {
113 static const struct linear_range ldo3_ranges[] = {
121 static const struct linear_range ldo5_ranges[] = {
127 static const struct linear_range ldo6_ranges[] = {
Dfan53880.c49 .linear_ranges = (struct linear_range[]) { \
75 .linear_ranges = (struct linear_range[]) {
95 .linear_ranges = (struct linear_range[]) {
Dbd9576-regulator.c53 static const struct linear_range vout1_xvd_ranges[] = {
59 static const struct linear_range vout234_xvd_ranges[] = {
65 static const struct linear_range voutL1_xvd_ranges[] = {
71 static const struct linear_range voutS1_ocw_ranges_internal[] = {
77 static const struct linear_range voutS1_ocw_ranges[] = {
83 static const struct linear_range voutS1_ocp_ranges_internal[] = {
89 static const struct linear_range voutS1_ocp_ranges[] = {
105 const struct linear_range *xvd_ranges;
216 static int bd9576_set_limit(const struct linear_range *r, int num_ranges, in bd9576_set_limit()
317 const struct linear_range *range; in bd9576_set_ocp()
Dbd718x7-regulator.c266 static const struct linear_range bd718xx_dvs_buck_volts[] = {
277 static const struct linear_range bd71837_buck5_volts[] = {
299 static const struct linear_range bd71847_buck3_volts[] = {
316 static const struct linear_range bd71847_buck4_volts[] = {
327 static const struct linear_range bd71837_buck6_volts[] = {
351 static const struct linear_range bd718xx_4th_nodvs_buck_volts[] = {
359 static const struct linear_range bd718xx_ldo1_volts[] = {
378 static const struct linear_range bd718xx_ldo3_volts[] = {
386 static const struct linear_range bd718xx_ldo4_volts[] = {
394 static const struct linear_range bd71837_ldo5_volts[] = {
[all …]
Dqcom-pm8008-regulator.c41 const struct linear_range *voltage_range;
44 static const struct linear_range nldo_ranges[] = {
48 static const struct linear_range pldo_ranges[] = {
Daxp20x-regulator.c593 static const struct linear_range axp20x_ldo4_ranges[] = {
720 static const struct linear_range axp313a_dcdc1_ranges[] = {
726 static const struct linear_range axp313a_dcdc2_ranges[] = {
735 static const struct linear_range axp313a_dcdc3_ranges[] = {
762 static const struct linear_range axp717_dcdc1_ranges[] = {
772 static const struct linear_range axp717_dcdc2_ranges[] = {
778 static const struct linear_range axp717_dcdc3_ranges[] = {
844 static const struct linear_range axp803_dcdc234_ranges[] = {
855 static const struct linear_range axp803_dcdc5_ranges[] = {
866 static const struct linear_range axp803_dcdc6_ranges[] = {
[all …]
Dmt6357-regulator.c325 static const struct linear_range buck_volt_range1[] = {
329 static const struct linear_range buck_volt_range2[] = {
333 static const struct linear_range buck_volt_range3[] = {
337 static const struct linear_range buck_volt_range4[] = {
Dtps6594-regulator.c122 static const struct linear_range bucks_ranges[] = {
129 static const struct linear_range ldos_1_2_3_ranges[] = {
133 static const struct linear_range ldos_4_ranges[] = {
138 static const struct linear_range tps65224_bucks_1_ranges[] = {
145 static const struct linear_range tps65224_bucks_2_3_4_ranges[] = {
150 static const struct linear_range tps65224_ldos_1_ranges[] = {
154 static const struct linear_range tps65224_ldos_2_3_ranges[] = {
Dbcm590xx-regulator.c119 static const struct linear_range dcdc_csr_ranges[] = {
126 static const struct linear_range dcdc_iosr1_ranges[] = {
134 static const struct linear_range dcdc_sdsr1_ranges[] = {
146 const struct linear_range *linear_ranges;
D88pg86x.c14 static const struct linear_range pg86x_buck1_ranges[] = {
20 static const struct linear_range pg86x_buck2_ranges[] = {
Dtps65086-regulator.c86 static const struct linear_range tps65086_10mv_ranges[] = {
91 static const struct linear_range tps65086_buck126_25mv_ranges[] = {
97 static const struct linear_range tps65086_buck345_25mv_ranges[] = {
102 static const struct linear_range tps65086_ldoa1_ranges[] = {
110 static const struct linear_range tps65086_ldoa23_ranges[] = {
Drt5033-regulator.c16 static const struct linear_range rt5033_buck_ranges[] = {
21 static const struct linear_range rt5033_ldo_ranges[] = {
Dmt6360-regulator.c126 static const struct linear_range buck_vout_ranges[] = {
131 static const struct linear_range ldo_vout_ranges1[] = {
166 static const struct linear_range ldo_vout_ranges2[] = {
201 static const struct linear_range ldo_vout_ranges3[] = {
Dmax77541-regulator.c22 static const struct linear_range max77540_buck_ranges[] = {
34 static const struct linear_range max77541_buck_ranges[] = {
Das3711-regulator.c106 static const struct linear_range as3711_sd_ranges[] = {
112 static const struct linear_range as3711_aldo_ranges[] = {
117 static const struct linear_range as3711_dldo_ranges[] = {
Dmt6332-regulator.c158 static const struct linear_range boost_volt_range[] = {
162 static const struct linear_range buck_volt_range[] = {
166 static const struct linear_range buck_pa_volt_range[] = {
170 static const struct linear_range buck_rf_volt_range[] = {
Dmt6380-regulator.c155 static const struct linear_range buck_volt_range1[] = {
159 static const struct linear_range buck_volt_range2[] = {
163 static const struct linear_range buck_volt_range3[] = {
Dqcom_rpm-regulator.c151 static const struct linear_range pldo_ranges[] = {
157 static const struct linear_range nldo_ranges[] = {
161 static const struct linear_range nldo1200_ranges[] = {
166 static const struct linear_range smps_ranges[] = {
172 static const struct linear_range ftsmps_ranges[] = {
178 static const struct linear_range smb208_ranges[] = {
185 static const struct linear_range ncp_ranges[] = {
Dtps65912-regulator.c41 static const struct linear_range tps65912_dcdc_ranges[] = {
45 static const struct linear_range tps65912_ldo_ranges[] = {
/linux-6.12.1/lib/
Dlinear_ranges.c27 unsigned int linear_range_values_in_range(const struct linear_range *r) in linear_range_values_in_range()
46 unsigned int linear_range_values_in_range_array(const struct linear_range *r, in linear_range_values_in_range_array()
70 unsigned int linear_range_get_max_value(const struct linear_range *r) in linear_range_get_max_value()
87 int linear_range_get_value(const struct linear_range *r, unsigned int selector, in linear_range_get_value()
111 int linear_range_get_value_array(const struct linear_range *r, int ranges, in linear_range_get_value_array()
138 int linear_range_get_selector_low(const struct linear_range *r, in linear_range_get_selector_low()
182 int linear_range_get_selector_low_array(const struct linear_range *r, in linear_range_get_selector_low_array()
219 int linear_range_get_selector_high(const struct linear_range *r, in linear_range_get_selector_high()
255 void linear_range_get_selector_within(const struct linear_range *r, in linear_range_get_selector_within()
/linux-6.12.1/drivers/power/supply/
Dbd99954-charger.c763 static const struct linear_range input_current_limit_ranges[] = {
768 static const struct linear_range charging_current_ranges[] = {
777 static const struct linear_range charge_voltage_regulation_ranges[] = {
784 static const struct linear_range vsys_voltage_regulation_ranges[] = {
791 static const struct linear_range trickle_to_pre_threshold_ranges[] = {
798 static const struct linear_range fast_charge_current_ranges[] = {
805 const struct linear_range *range;
812 const struct linear_range *range;
908 const struct linear_range *range = battery_inits[i].range; in bd9995x_fw_probe()

1234