/linux/drivers/regulator/ |
H A D | max8973-regulator.c | 159 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_dcdc_get_voltage_sel() local 163 ret = regmap_read(max->regmap, max->curr_vout_reg, &data); in max8973_dcdc_get_voltage_sel() 165 dev_err(max->dev, "register %d read failed, err = %d\n", in max8973_dcdc_get_voltage_sel() 166 max->curr_vout_reg, ret); in max8973_dcdc_get_voltage_sel() 175 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_dcdc_set_voltage_sel() local 178 int vout_reg = max->curr_vout_reg; in max8973_dcdc_set_voltage_sel() 179 int gpio_val = max->curr_gpio_val; in max8973_dcdc_set_voltage_sel() 185 if (max->dvs_gpiod) in max8973_dcdc_set_voltage_sel() 186 found = find_voltage_set_register(max, vsel, in max8973_dcdc_set_voltage_sel() 190 ret = regmap_update_bits(max->regmap, vout_reg, in max8973_dcdc_set_voltage_sel() [all …]
|
/linux/drivers/net/ipa/data/ |
H A D | ipa_data-v3.1.c | 191 .min = 3, .max = 255, 194 .min = 3, .max = 255, 197 .min = 1, .max = 255, 200 .min = 1, .max = 255, 203 .min = 2, .max = 255, 208 .min = 0, .max = 255, 211 .min = 0, .max = 255, 214 .min = 0, .max = 255, 217 .min = 0, .max = 255, 220 .min = 0, .max = 255, [all …]
|
H A D | ipa_data-v5.0.c | 189 .min = 3, .max = 9, 192 .min = 4, .max = 10, 195 .min = 1, .max = 63, 198 .min = 0, .max = 63, 203 .min = 9, .max = 9, 206 .min = 12, .max = 12, 209 .min = 10, .max = 10, 214 .min = 9, .max = 9, 217 .min = 24, .max = 24, 220 .min = 20, .max = 20, [all …]
|
/linux/drivers/iio/pressure/ |
H A D | abp060mg.c | 35 int max; member 40 [ABP006KG] = { .min = 0, .max = 6000 }, 41 [ABP010KG] = { .min = 0, .max = 10000 }, 42 [ABP016KG] = { .min = 0, .max = 16000 }, 43 [ABP025KG] = { .min = 0, .max = 25000 }, 44 [ABP040KG] = { .min = 0, .max = 40000 }, 45 [ABP060KG] = { .min = 0, .max = 60000 }, 46 [ABP100KG] = { .min = 0, .max = 100000 }, 47 [ABP160KG] = { .min = 0, .max = 160000 }, 48 [ABP250KG] = { .min = 0, .max = 250000 }, [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt6359.dtsi | 19 regulator-max-microvolt = <2200000>; 26 regulator-max-microvolt = <1193750>; 34 regulator-max-microvolt = <1100000>; 41 regulator-max-microvolt = <1193750>; 49 regulator-max-microvolt = <1300000>; 57 regulator-max-microvolt = <1600000>; 64 regulator-max-microvolt = <3650000>; 70 regulator-max-microvolt = <1193750>; 78 regulator-max-microvolt = <1193750>; 86 regulator-max-microvolt = <1193750>; [all …]
|
H A D | mt6358.dtsi | 24 regulator-max-microvolt = <2087500>; 34 regulator-max-microvolt = <1293750>; 44 regulator-max-microvolt = <3650000>; 53 regulator-max-microvolt = <1293750>; 63 regulator-max-microvolt = <1293750>; 73 regulator-max-microvolt = <1293750>; 82 regulator-max-microvolt = <2087500>; 91 regulator-max-microvolt = <1293750>; 101 regulator-max-microvolt = <2587500>; 110 regulator-max-microvolt = <1800000>; [all …]
|
H A D | mt6357.dtsi | 17 regulator-max-microvolt = <1312500>; 26 regulator-max-microvolt = <1312500>; 35 regulator-max-microvolt = <1193750>; 43 regulator-max-microvolt = <2200000>; 52 regulator-max-microvolt = <3650000>; 61 regulator-max-microvolt = <2800000>; 68 regulator-max-microvolt = <2400000>; 76 regulator-max-microvolt = <1800000>; 84 regulator-max-microvolt = <1200000>; 91 regulator-max-microvolt = <3300000>; [all …]
|
/linux/drivers/clk/at91/ |
H A D | sama5d2.c | 13 .output = { .min = 124000000, .max = 166000000 }, 22 { .min = 600000000, .max = 1200000000 }, 26 .input = { .min = 12000000, .max = 24000000 }, 65 { .n = "macb0_clk", .id = 5, .r = { .min = 0, .max = 83000000 }, }, 66 { .n = "tdes_clk", .id = 11, .r = { .min = 0, .max = 83000000 }, }, 69 { .n = "pioA_clk", .id = 18, .r = { .min = 0, .max = 83000000 }, }, 70 { .n = "flx0_clk", .id = 19, .r = { .min = 0, .max = 83000000 }, }, 71 { .n = "flx1_clk", .id = 20, .r = { .min = 0, .max = 83000000 }, }, 72 { .n = "flx2_clk", .id = 21, .r = { .min = 0, .max = 83000000 }, }, 73 { .n = "flx3_clk", .id = 22, .r = { .min = 0, .max = 83000000 }, }, [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8992-lg-bullhead.dtsi | 93 regulator-max-microvolt = <1025000>; 102 regulator-max-microvolt = <1300000>; 107 regulator-max-microvolt = <1800000>; 114 regulator-max-microvolt = <2150000>; 119 regulator-max-microvolt = <1000000>; 126 regulator-max-microvolt = <1000000>; 131 regulator-max-microvolt = <1250000>; 136 regulator-max-microvolt = <1200000>; 141 regulator-max-microvolt = <1225000>; 148 regulator-max-microvolt = <1800000>; [all …]
|
H A D | apq8096-ifc6640.dts | 34 regulator-max-microvolt = <1050000>; 46 regulator-max-microvolt = <12000000>; 56 regulator-max-microvolt = <3300000>; 68 regulator-max-microvolt = <5000000>; 80 regulator-max-microvolt = <3800000>; 154 regulator-max-microvolt = <1300000>; 160 regulator-max-microvolt = <1800000>; 166 regulator-max-microvolt = <2150000>; 171 regulator-max-microvolt = <800000>; 177 regulator-max-microvolt = <1000000>; [all …]
|
H A D | sm6115-fxtec-pro1x.dts | 82 regulator-max-microvolt = <1456000>; 87 regulator-max-microvolt = <2040000>; 92 regulator-max-microvolt = <1304000>; 97 regulator-max-microvolt = <1152000>; 102 regulator-max-microvolt = <1000000>; 107 regulator-max-microvolt = <3056000>; 112 regulator-max-microvolt = <656000>; 117 regulator-max-microvolt = <1304000>; 122 regulator-max-microvolt = <728000>; 127 regulator-max-microvolt = <2000000>; [all …]
|
H A D | sm4250-oneplus-billie2.dts | 71 regulator-max-microvolt = <1456000>; 76 regulator-max-microvolt = <2040000>; 81 regulator-max-microvolt = <1304000>; 86 regulator-max-microvolt = <1152000>; 91 regulator-max-microvolt = <1000000>; 96 regulator-max-microvolt = <3056000>; 101 regulator-max-microvolt = <656000>; 106 regulator-max-microvolt = <1304000>; 111 regulator-max-microvolt = <728000>; 116 regulator-max-microvolt = <2000000>; [all …]
|
H A D | msm8998-mtp.dts | 45 max-speed = <3200000>; 148 regulator-max-microvolt = <1100000>; 201 regulator-max-microvolt = <1352000>; 206 regulator-max-microvolt = <1800000>; 212 regulator-max-microvolt = <2040000>; 217 regulator-max-microvolt = <1028000>; 222 regulator-max-microvolt = <880000>; 227 regulator-max-microvolt = <1200000>; 232 regulator-max-microvolt = <1000000>; 237 regulator-max-microvolt = <800000>; [all …]
|
H A D | sm6350-sony-xperia-lena-pdx213.dts | 64 regulator-max-microvolt = <1200000>; 70 regulator-max-microvolt = <2048000>; 76 regulator-max-microvolt = <1980000>; 82 regulator-max-microvolt = <3300000>; 88 regulator-max-microvolt = <801000>; 94 regulator-max-microvolt = <1980000>; 100 regulator-max-microvolt = <3544000>; 106 regulator-max-microvolt = <1980000>; 112 regulator-max-microvolt = <3544000>; 118 regulator-max-microvolt = <3401000>; [all …]
|
H A D | msm8992-xiaomi-libra.dts | 180 regulator-max-microvolt = <1180000>; 188 regulator-max-microvolt = <1225000>; 217 regulator-max-microvolt = <1300000>; 222 regulator-max-microvolt = <1800000>; 230 regulator-max-microvolt = <2150000>; 235 regulator-max-microvolt = <1000000>; 242 regulator-max-microvolt = <1000000>; 247 regulator-max-microvolt = <1250000>; 252 regulator-max-microvolt = <1200000>; 257 regulator-max-microvolt = <1225000>; [all …]
|
/linux/drivers/macintosh/ |
H A D | windfarm_max6690_sensor.c | 36 struct wf_6690_sensor *max = wf_to_6690(sr); in wf_max6690_get() local 39 if (max->i2c == NULL) in wf_max6690_get() 43 data = i2c_smbus_read_byte_data(max->i2c, MAX6690_EXTERNAL_TEMP); in wf_max6690_get() 52 struct wf_6690_sensor *max = wf_to_6690(sr); in wf_max6690_release() local 54 kfree(max); in wf_max6690_release() 66 struct wf_6690_sensor *max; in wf_max6690_probe() local 88 max = kzalloc(sizeof(struct wf_6690_sensor), GFP_KERNEL); in wf_max6690_probe() 89 if (max == NULL) { in wf_max6690_probe() 95 max->i2c = client; in wf_max6690_probe() 96 max->sens.name = name; in wf_max6690_probe() [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8926-motorola-peregrine.dts | 99 regulator-max-microvolt = <1300000>; 104 regulator-max-microvolt = <2200000>; 109 regulator-max-microvolt = <1150000>; 114 regulator-max-microvolt = <1225000>; 119 regulator-max-microvolt = <1200000>; 124 regulator-max-microvolt = <1337500>; 129 regulator-max-microvolt = <1200000>; 134 regulator-max-microvolt = <1200000>; 139 regulator-max-microvolt = <1800000>; 145 regulator-max-microvolt = <1850000>; [all …]
|
H A D | qcom-apq8026-asus-sparrow.dts | 52 regulator-max-microvolt = <2950000>; 74 max-speed = <3000000>; 95 regulator-max-microvolt = <1300000>; 99 regulator-max-microvolt = <2200000>; 103 regulator-max-microvolt = <1150000>; 108 regulator-max-microvolt = <1225000>; 112 regulator-max-microvolt = <1200000>; 116 regulator-max-microvolt = <1337500>; 120 regulator-max-microvolt = <1200000>; 124 regulator-max-microvolt = <1200000>; [all …]
|
H A D | msm8226-motorola-falcon.dts | 111 regulator-max-microvolt = <6000000>; 120 regulator-max-microvolt = <6000000>; 152 regulator-max-microvolt = <1300000>; 157 regulator-max-microvolt = <2200000>; 162 regulator-max-microvolt = <1150000>; 167 regulator-max-microvolt = <1225000>; 172 regulator-max-microvolt = <1200000>; 177 regulator-max-microvolt = <1337500>; 182 regulator-max-microvolt = <1200000>; 187 regulator-max-microvolt = <1200000>; [all …]
|
H A D | qcom-msm8974pro-samsung-klte-common.dtsi | 134 regulator-max-microvolt = <3300000>; 148 regulator-max-microvolt = <1500000>; 159 regulator-max-microvolt = <3600000>; 208 regulator-max-microvolt = <1200000>; 213 regulator-max-microvolt = <1000000>; 218 regulator-max-microvolt = <1200000>; 223 regulator-max-microvolt = <1800000>; 228 regulator-max-microvolt = <1800000>; 233 regulator-max-microvolt = <3300000>; 238 regulator-max-microvolt = <1800000>; [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dpll.c | 35 int min, max; member 44 .dot = { .min = 25000, .max = 350000 }, 45 .vco = { .min = 908000, .max = 1512000 }, 46 .n = { .min = 2, .max = 16 }, 47 .m = { .min = 96, .max = 140 }, 48 .m1 = { .min = 18, .max = 26 }, 49 .m2 = { .min = 6, .max = 16 }, 50 .p = { .min = 4, .max = 128 }, 51 .p1 = { .min = 2, .max = 33 }, 57 .dot = { .min = 25000, .max = 350000 }, [all …]
|
/linux/sound/soc/ |
H A D | soc-ops.c | 180 int max; in snd_soc_info_volsw() local 182 max = uinfo->value.integer.max = mc->max - mc->min; in snd_soc_info_volsw() 183 if (mc->platform_max && mc->platform_max < max) in snd_soc_info_volsw() 184 max = mc->platform_max; in snd_soc_info_volsw() 186 if (max == 1) { in snd_soc_info_volsw() 199 uinfo->value.integer.max = max; in snd_soc_info_volsw() 223 int max; in snd_soc_info_volsw_sx() local 226 max = mc->platform_max; in snd_soc_info_volsw_sx() 228 max = mc->max; in snd_soc_info_volsw_sx() 230 if (max == 1 && !strstr(kcontrol->id.name, " Volume")) in snd_soc_info_volsw_sx() [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | mmp2-brownstone.dts | 42 regulator-max-microvolt = <1425000>; 48 regulator-max-microvolt = <2225000>; 54 regulator-max-microvolt = <3900000>; 60 regulator-max-microvolt = <3900000>; 66 regulator-max-microvolt = <2250000>; 72 regulator-max-microvolt = <2250000>; 78 regulator-max-microvolt = <3900000>; 84 regulator-max-microvolt = <3900000>; 90 regulator-max-microvolt = <3900000>; 96 regulator-max-microvolt = <3900000>; [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | da9211.txt | 31 regulator-max-microvolt = <1570000>; 33 regulator-max-microamp = <5000000>; 51 regulator-max-microvolt = <1570000>; 53 regulator-max-microamp = <5000000>; 59 regulator-max-microvolt = <1570000>; 61 regulator-max-microamp = <5000000>; 77 regulator-max-microvolt = <1570000>; 79 regulator-max-microamp = <6000000>; 95 regulator-max-microvolt = <1570000>; 97 regulator-max-microamp = <6000000>; [all …]
|
/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt6323.dtsi | 30 regulator-max-microvolt = <1350000>; 39 regulator-max-microvolt = <2987500>; 48 regulator-max-microvolt = <3650000>; 54 regulator-max-microvolt = <2800000>; 63 regulator-max-microvolt = <2800000>; 70 regulator-max-microvolt = <3600000>; 77 regulator-max-microvolt = <3600000>; 84 regulator-max-microvolt = <2800000>; 93 regulator-max-microvolt = <2800000>; 100 regulator-max-microvolt = <2800000>; [all …]
|