Home
last modified time | relevance | path

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

123

/linux-6.1.9/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.1.9/drivers/regulator/
Dqcom_smd-regulator.c213 .linear_ranges = (struct linear_range[]) {
223 .linear_ranges = (struct linear_range[]) {
233 .linear_ranges = (struct linear_range[]) {
244 .linear_ranges = (struct linear_range[]) {
257 .linear_ranges = (struct linear_range[]) {
267 .linear_ranges = (struct linear_range[]) {
277 .linear_ranges = (struct linear_range[]) {
288 .linear_ranges = (struct linear_range[]) {
301 .linear_ranges = (struct linear_range[]) {
311 .linear_ranges = (struct linear_range[]) {
[all …]
Dtps65086-regulator.c66 static const struct linear_range tps65086_10mv_ranges[] = {
71 static const struct linear_range tps65086_buck126_25mv_ranges[] = {
77 static const struct linear_range tps65086_buck345_25mv_ranges[] = {
82 static const struct linear_range tps65086_ldoa1_ranges[] = {
90 static const struct linear_range tps65086_ldoa23_ranges[] = {
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 struct linear_range voutS1_ocw_ranges_internal[] = {
77 static struct linear_range voutS1_ocw_ranges[] = {
83 static struct linear_range voutS1_ocp_ranges_internal[] = {
89 static 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.c265 static const struct linear_range bd718xx_dvs_buck_volts[] = {
276 static const struct linear_range bd71837_buck5_volts[] = {
298 static const struct linear_range bd71847_buck3_volts[] = {
315 static const struct linear_range bd71847_buck4_volts[] = {
326 static const struct linear_range bd71837_buck6_volts[] = {
350 static const struct linear_range bd718xx_4th_nodvs_buck_volts[] = {
358 static const struct linear_range bd718xx_ldo1_volts[] = {
377 static const struct linear_range bd718xx_ldo3_volts[] = {
385 static const struct linear_range bd718xx_ldo4_volts[] = {
393 static const struct linear_range bd71837_ldo5_volts[] = {
[all …]
D88pg86x.c14 static const struct linear_range pg86x_buck1_ranges[] = {
20 static const struct linear_range pg86x_buck2_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;
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[] = {
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[] = {
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[] = {
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[] = {
Dpca9450-regulator.c106 static const struct linear_range pca9450_dvs_buck_volts[] = {
114 static const struct linear_range pca9450_buck_volts[] = {
123 static const struct linear_range pca9450_ldo1_volts[] = {
132 static const struct linear_range pca9450_ldo2_volts[] = {
140 static const struct linear_range pca9450_ldo34_volts[] = {
149 static const struct linear_range pca9450_ldo5_volts[] = {
Dtps65912-regulator.c41 static const struct linear_range tps65912_dcdc_ranges[] = {
45 static const struct linear_range tps65912_ldo_ranges[] = {
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[] = {
Dlp873x-regulator.c49 static const struct linear_range buck0_buck1_ranges[] = {
56 static const struct linear_range ldo0_ldo1_ranges[] = {
Dtps68470-regulator.c49 static const struct linear_range tps68470_ldo_ranges[] = {
53 static const struct linear_range tps68470_core_ranges[] = {
Dtps65218-regulator.c51 static const struct linear_range dcdc1_dcdc2_ranges[] = {
56 static const struct linear_range ldo1_dcdc3_ranges[] = {
61 static const struct linear_range dcdc4_ranges[] = {
Dtps65219-regulator.c122 static const struct linear_range bucks_ranges[] = {
128 static const struct linear_range ldos_1_2_ranges[] = {
133 static const struct linear_range ldos_3_4_ranges[] = {
Dhelpers.c136 const struct linear_range *r = rdev->desc->linear_ranges; in regulator_get_voltage_sel_pickable_regmap()
181 const struct linear_range *r; in regulator_set_voltage_sel_pickable_regmap()
410 const struct linear_range *range; in regulator_map_voltage_linear_range()
459 const struct linear_range *range; in regulator_map_voltage_pickable_linear_range()
567 const struct linear_range *range; in regulator_list_voltage_pickable_linear_range()
Dbd71828-regulator.c68 static const struct linear_range bd71828_buck1267_volts[] = {
73 static const struct linear_range bd71828_buck3_volts[] = {
78 static const struct linear_range bd71828_buck4_volts[] = {
83 static const struct linear_range bd71828_buck5_volts[] = {
88 static const struct linear_range bd71828_ldo_volts[] = {
/linux-6.1.9/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.1.9/drivers/power/supply/
Dbd99954-charger.c770 static const struct linear_range input_current_limit_ranges[] = {
780 static const struct linear_range charging_current_ranges[] = {
798 static const struct linear_range charge_voltage_regulation_ranges[] = {
818 static const struct linear_range vsys_voltage_regulation_ranges[] = {
838 static const struct linear_range trickle_to_pre_threshold_ranges[] = {
858 static const struct linear_range fast_charge_current_ranges[] = {
870 const struct linear_range *range;
877 const struct linear_range *range;
973 const struct linear_range *range = battery_inits[i].range; in bd9995x_fw_probe()

123