/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/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 | 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 | 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 | 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 …]
|
/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/arm64/boot/dts/mediatek/ |
H A D | mt6358.dtsi | 29 regulator-max-microvolt = <2087500>; 39 regulator-max-microvolt = <1293750>; 49 regulator-max-microvolt = <3650000>; 58 regulator-max-microvolt = <1293750>; 68 regulator-max-microvolt = <1293750>; 78 regulator-max-microvolt = <1293750>; 87 regulator-max-microvolt = <2087500>; 96 regulator-max-microvolt = <1293750>; 106 regulator-max-microvolt = <2587500>; 115 regulator-max-microvolt = <1800000>; [all …]
|
H A D | mt6357.dtsi | 22 regulator-max-microvolt = <1312500>; 31 regulator-max-microvolt = <1312500>; 40 regulator-max-microvolt = <1193750>; 48 regulator-max-microvolt = <2200000>; 57 regulator-max-microvolt = <3650000>; 66 regulator-max-microvolt = <2800000>; 73 regulator-max-microvolt = <2400000>; 81 regulator-max-microvolt = <1800000>; 89 regulator-max-microvolt = <1200000>; 96 regulator-max-microvolt = <3300000>; [all …]
|
H A D | mt6331.dtsi | 20 regulator-max-microvolt = <1493750>; 30 regulator-max-microvolt = <1493750>; 40 regulator-max-microvolt = <1493750>; 50 regulator-max-microvolt = <1493750>; 60 regulator-max-microvolt = <1493750>; 70 regulator-max-microvolt = <1800000>; 80 regulator-max-microvolt = <2800000>; 89 regulator-max-microvolt = <2800000>; 98 regulator-max-microvolt = <3200000>; 107 regulator-max-microvolt = <3200000>; [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
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 | qcom-msm8974pro-htc-m8.dts | 44 regulator-max-microvolt = <3150000>; 61 regulator-max-microvolt = <3600000>; 104 regulator-max-microvolt = <1050000>; 109 regulator-max-microvolt = <1050000>; 114 regulator-max-microvolt = <1050000>; 119 regulator-max-microvolt = <900000>; 138 regulator-max-microvolt = <1300000>; 145 regulator-max-microvolt = <2150000>; 151 regulator-max-microvolt = <1800000>; 158 regulator-max-microvolt = <1225000>; [all …]
|
H A D | qcom-msm8226-samsung-ms013g.dts | 73 regulator-max-microvolt = <3300000>; 86 regulator-max-microvolt = <3300000>; 106 max-microvolt = <3300000>; 160 regulator-max-microvolt = <1300000>; 165 regulator-max-microvolt = <2200000>; 170 regulator-max-microvolt = <1150000>; 175 regulator-max-microvolt = <1225000>; 180 regulator-max-microvolt = <1200000>; 185 regulator-max-microvolt = <1337500>; 190 regulator-max-microvolt = <1200000>; [all …]
|
H A D | qcom-msm8960-cdp.dts | 43 spi-max-frequency = <5400000>; 127 regulator-max-microvolt = <1225000>; 134 regulator-max-microvolt = <1300000>; 141 regulator-max-microvolt = <1150000>; 149 regulator-max-microvolt = <1800000>; 157 regulator-max-microvolt = <1150000>; 165 regulator-max-microvolt = <2050000>; 174 regulator-max-microvolt = <1050000>; 180 regulator-max-microvolt = <1200000>; 186 regulator-max-microvolt = <3075000>; [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dpll.c | 36 int min, max; member 45 .dot = { .min = 25000, .max = 350000 }, 46 .vco = { .min = 908000, .max = 1512000 }, 47 .n = { .min = 2, .max = 16 }, 48 .m = { .min = 96, .max = 140 }, 49 .m1 = { .min = 18, .max = 26 }, 50 .m2 = { .min = 6, .max = 16 }, 51 .p = { .min = 4, .max = 128 }, 52 .p1 = { .min = 2, .max = 33 }, 58 .dot = { .min = 25000, .max = 350000 }, [all …]
|
/linux/sound/soc/ |
H A D | soc-ops.c | 181 int max; in snd_soc_info_volsw() local 183 max = uinfo->value.integer.max = mc->max - mc->min; in snd_soc_info_volsw() 184 if (mc->platform_max && mc->platform_max < max) in snd_soc_info_volsw() 185 max = mc->platform_max; in snd_soc_info_volsw() 187 if (max == 1) { in snd_soc_info_volsw() 200 uinfo->value.integer.max = max; in snd_soc_info_volsw() 224 int max; in snd_soc_info_volsw_sx() local 227 max = mc->platform_max; in snd_soc_info_volsw_sx() 229 max = mc->max; in snd_soc_info_volsw_sx() 231 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 …]
|
H A D | mt6323-regulator.txt | 26 regulator-max-microvolt = <1350000>; 35 regulator-max-microvolt = <2987500>; 44 regulator-max-microvolt = <3650000>; 50 regulator-max-microvolt = <2800000>; 59 regulator-max-microvolt = <2800000>; 66 regulator-max-microvolt = <3600000>; 73 regulator-max-microvolt = <3600000>; 80 regulator-max-microvolt = <2800000>; 89 regulator-max-microvolt = <2800000>; 96 regulator-max-microvolt = <2800000>; [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 …]
|
/linux/sound/soc/sof/ |
H A D | ipc3-pcm.c | 259 rate->max = private->dai_config[dai->current_config].ssp.fsync_rate; in sof_ipc3_pcm_dai_link_fixup() 261 channels->max = private->dai_config[dai->current_config].ssp.tdm_slots; in sof_ipc3_pcm_dai_link_fixup() 263 dev_dbg(component->dev, "rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup() 265 channels->min, channels->max); in sof_ipc3_pcm_dai_link_fixup() 294 channels->max = private->dai_config->alh.channels; in sof_ipc3_pcm_dai_link_fixup() 298 rate->max = private->dai_config->esai.fsync_rate; in sof_ipc3_pcm_dai_link_fixup() 300 channels->max = private->dai_config->esai.tdm_slots; in sof_ipc3_pcm_dai_link_fixup() 302 dev_dbg(component->dev, "rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup() 304 channels->min, channels->max); in sof_ipc3_pcm_dai_link_fixup() 308 rate->max = private->dai_config->afe.rate; in sof_ipc3_pcm_dai_link_fixup() [all …]
|