/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | max8973-regulator.c | 161 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_dcdc_get_voltage_sel() local 165 ret = regmap_read(max->regmap, max->curr_vout_reg, &data); in max8973_dcdc_get_voltage_sel() 167 dev_err(max->dev, "register %d read failed, err = %d\n", in max8973_dcdc_get_voltage_sel() 168 max->curr_vout_reg, ret); in max8973_dcdc_get_voltage_sel() 177 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_dcdc_set_voltage_sel() local 180 int vout_reg = max->curr_vout_reg; in max8973_dcdc_set_voltage_sel() 181 int gpio_val = max->curr_gpio_val; in max8973_dcdc_set_voltage_sel() 187 if (gpio_is_valid(max->dvs_gpio)) in max8973_dcdc_set_voltage_sel() 188 found = find_voltage_set_register(max, vse in max8973_dcdc_set_voltage_sel() 213 struct max8973_chip *max = rdev_get_drvdata(rdev); max8973_dcdc_set_mode() local 241 struct max8973_chip *max = rdev_get_drvdata(rdev); max8973_dcdc_get_mode() local 258 struct max8973_chip *max = rdev_get_drvdata(rdev); max8973_set_current_limit() local 281 struct max8973_chip *max = rdev_get_drvdata(rdev); max8973_get_current_limit() local 318 max8973_init_dcdc(struct max8973_chip *max, struct max8973_regulator_platform_data *pdata) max8973_init_dcdc() argument 596 struct max8973_chip *max; max8973_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | max8973-regulator.c | 174 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_dcdc_get_voltage_sel() local 178 ret = regmap_read(max->regmap, max->curr_vout_reg, &data); in max8973_dcdc_get_voltage_sel() 180 dev_err(max->dev, "register %d read failed, err = %d\n", in max8973_dcdc_get_voltage_sel() 181 max->curr_vout_reg, ret); in max8973_dcdc_get_voltage_sel() 190 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_dcdc_set_voltage_sel() local 193 int vout_reg = max->curr_vout_reg; in max8973_dcdc_set_voltage_sel() 194 int gpio_val = max->curr_gpio_val; in max8973_dcdc_set_voltage_sel() 200 if (gpio_is_valid(max->dvs_gpio)) in max8973_dcdc_set_voltage_sel() 201 found = find_voltage_set_register(max, vse in max8973_dcdc_set_voltage_sel() 226 struct max8973_chip *max = rdev_get_drvdata(rdev); max8973_dcdc_set_mode() local 254 struct max8973_chip *max = rdev_get_drvdata(rdev); max8973_dcdc_get_mode() local 271 struct max8973_chip *max = rdev_get_drvdata(rdev); max8973_set_ramp_delay() local 298 struct max8973_chip *max = rdev_get_drvdata(rdev); max8973_set_current_limit() local 321 struct max8973_chip *max = rdev_get_drvdata(rdev); max8973_get_current_limit() local 354 max8973_init_dcdc(struct max8973_chip *max, struct max8973_regulator_platform_data *pdata) max8973_init_dcdc() argument 632 struct max8973_chip *max; max8973_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ipa/data/ |
H A D | ipa_data-v3.1.c | 190 .min = 3, .max = 255, 193 .min = 3, .max = 255, 196 .min = 1, .max = 255, 199 .min = 1, .max = 255, 202 .min = 2, .max = 255, 207 .min = 0, .max = 255, 210 .min = 0, .max = 255, 213 .min = 0, .max = 255, 216 .min = 0, .max = 255, 219 .min = 0, .max [all...] |
H A D | ipa_data-v3.5.1.c | 182 .min = 1, .max = 63, 185 .min = 1, .max = 63, 188 .min = 1, .max = 63, 193 .min = 10, .max = 10, 196 .min = 10, .max = 10, 199 .min = 8, .max = 8, 204 .min = 12, .max = 12, 207 .min = 14, .max = 14, 210 .min = 8, .max = 8, 215 .min = 0, .max [all...] |
H A D | ipa_data-v5.0.c | 53 .max_reads = 0, /* no limit (hardware max) */ 58 .max_reads = 0, /* no limit (hardware max) */ 188 .min = 3, .max = 9, 191 .min = 4, .max = 10, 194 .min = 1, .max = 63, 197 .min = 0, .max = 63, 202 .min = 9, .max = 9, 205 .min = 12, .max = 12, 208 .min = 10, .max = 10, 213 .min = 9, .max [all...] |
H A D | ipa_data-v4.9.c | 46 .max_reads = 0, /* no limit (hardware max) */ 176 .min = 1, .max = 12, 179 .min = 1, .max = 1, 182 .min = 1, .max = 12, 187 .min = 20, .max = 20, 190 .min = 2, .max = 2, 193 .min = 3, .max = 3, 198 .min = 38, .max = 38, 201 .min = 4, .max = 4, 204 .min = 8, .max [all...] |
/kernel/linux/linux-5.10/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 [all...] |
/kernel/linux/linux-6.6/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 [all...] |
/kernel/linux/linux-6.6/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 [all...] |
H A D | sama7g5.c | 111 { .min = 2343750, .max = 1000000002 }, 116 { .min = 2343750, .max = 1200000000 }, 121 .input = { .min = 12000000, .max = 50000000 }, 128 .input = { .min = 12000000, .max = 50000000 }, 446 * @PCK_PARENT_HW_MAX: max identifier 482 { .n = "asrc_clk", .p = PCK_PARENT_HW_MCK1, .id = 30, .r = { .max = 200000000, }, }, 484 { .n = "csi_clk", .p = PCK_PARENT_HW_MCK3, .id = 33, .r = { .max = 266000000, }, .chgp = 1, }, 485 { .n = "csi2dc_clk", .p = PCK_PARENT_HW_MCK3, .id = 34, .r = { .max = 266000000, }, .chgp = 1, }, 502 { .n = "isc_clk", .p = PCK_PARENT_HW_MCK3, .id = 56, .r = { .max = 266000000, }, .chgp = 1, }, 503 { .n = "i2smcc0_clk", .p = PCK_PARENT_HW_MCK1, .id = 57, .r = { .max [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_dpll.c | 32 int min, max; member 41 .dot = { .min = 25000, .max = 350000 }, 42 .vco = { .min = 908000, .max = 1512000 }, 43 .n = { .min = 2, .max = 16 }, 44 .m = { .min = 96, .max = 140 }, 45 .m1 = { .min = 18, .max = 26 }, 46 .m2 = { .min = 6, .max = 16 }, 47 .p = { .min = 4, .max = 128 }, 48 .p1 = { .min = 2, .max = 33 }, 54 .dot = { .min = 25000, .max [all...] |
/kernel/linux/linux-5.10/drivers/clk/at91/ |
H A D | sama7g5.c | 307 { .n = "asrc_clk", .p = "mck1", .id = 30, .r = { .max = 200000000, }, }, 309 { .n = "csi_clk", .p = "mck3", .id = 33, .r = { .max = 266000000, }, .chgp = 1, }, 310 { .n = "csi2dc_clk", .p = "mck3", .id = 34, .r = { .max = 266000000, }, .chgp = 1, }, 327 { .n = "isc_clk", .p = "mck3", .id = 56, .r = { .max = 266000000, }, .chgp = 1, }, 328 { .n = "i2smcc0_clk", .p = "mck1", .id = 57, .r = { .max = 200000000, }, }, 329 { .n = "i2smcc1_clk", .p = "mck1", .id = 58, .r = { .max = 200000000, }, }, 331 { .n = "mcan0_clk", .p = "mck1", .id = 61, .r = { .max = 200000000, }, }, 332 { .n = "mcan1_clk", .p = "mck1", .id = 62, .r = { .max = 200000000, }, }, 333 { .n = "mcan2_clk", .p = "mck1", .id = 63, .r = { .max = 200000000, }, }, 334 { .n = "mcan3_clk", .p = "mck1", .id = 64, .r = { .max [all...] |
H A D | sama5d2.c | 11 .output = { .min = 124000000, .max = 166000000 }, 20 { .min = 600000000, .max = 1200000000 }, 24 .input = { .min = 12000000, .max = 24000000 }, 58 { .n = "macb0_clk", .id = 5, .r = { .min = 0, .max = 83000000 }, }, 59 { .n = "tdes_clk", .id = 11, .r = { .min = 0, .max = 83000000 }, }, 62 { .n = "pioA_clk", .id = 18, .r = { .min = 0, .max = 83000000 }, }, 63 { .n = "flx0_clk", .id = 19, .r = { .min = 0, .max = 83000000 }, }, 64 { .n = "flx1_clk", .id = 20, .r = { .min = 0, .max = 83000000 }, }, 65 { .n = "flx2_clk", .id = 21, .r = { .min = 0, .max = 83000000 }, }, 66 { .n = "flx3_clk", .id = 22, .r = { .min = 0, .max [all...] |
/kernel/linux/linux-5.10/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() 67 struct wf_6690_sensor *max; in wf_max6690_probe() local 89 max = kzalloc(sizeof(struct wf_6690_sensor), GFP_KERNEL); in wf_max6690_probe() 90 if (max == NULL) { in wf_max6690_probe() 96 max->i2c = client; in wf_max6690_probe() 97 max in wf_max6690_probe() 109 struct wf_6690_sensor *max = i2c_get_clientdata(client); wf_max6690_remove() local [all...] |
/kernel/linux/linux-6.6/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 in wf_max6690_probe() 108 struct wf_6690_sensor *max = i2c_get_clientdata(client); wf_max6690_remove() local [all...] |
/kernel/linux/linux-6.6/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() 213 * of zero but without a sign bit. min is the minimum register value, max i 223 int max; snd_soc_info_volsw_sx() local 263 int max = mc->max; snd_soc_get_volsw() local 323 int max = mc->max; snd_soc_put_volsw() local 405 int max = mc->max; snd_soc_get_volsw_sx() local 443 int max = mc->max; snd_soc_put_volsw_sx() local 540 int max = mc->max; snd_soc_put_volsw_range() local 613 int max = mc->max; snd_soc_get_volsw_range() local 651 snd_soc_limit_volume(struct snd_soc_card *card, const char *name, int max) snd_soc_limit_volume() argument 890 long max = mc->max; snd_soc_get_xr_sx() local 934 long max = mc->max; snd_soc_put_xr_sx() local [all...] |
/kernel/linux/linux-5.10/fs/cachefiles/ |
H A D | key.c | 38 int loop, len, max, seg, mark, print; in cachefiles_cook_key() local 54 max = keylen - 2; in cachefiles_cook_key() 55 max += 2; /* two base64'd length chars on the front */ in cachefiles_cook_key() 56 max += 5; /* @checksum/M */ in cachefiles_cook_key() 57 max += 3 * 2; /* maximum number of segment dividers (".../M") in cachefiles_cook_key() 60 max += 1; /* NUL on end */ in cachefiles_cook_key() 65 max = keylen * 4; in cachefiles_cook_key() 66 max += 5; /* @checksum/M */ in cachefiles_cook_key() 67 max += 3 * 2; /* maximum number of segment dividers (".../M") in cachefiles_cook_key() 70 max in cachefiles_cook_key() [all...] |
/kernel/linux/linux-5.10/sound/soc/ |
H A D | soc-ops.c | 183 mc->platform_max = mc->max; in snd_soc_info_volsw() 193 uinfo->value.integer.max = platform_max - mc->min; in snd_soc_info_volsw() 220 uinfo->value.integer.max += mc->min; in snd_soc_info_volsw_sx() 246 int max = mc->max; in snd_soc_get_volsw() local 249 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw() 264 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw() 279 max - ucontrol->value.integer.value[1]; in snd_soc_get_volsw() 306 int max = mc->max; in snd_soc_put_volsw() local 388 int max = mc->max; snd_soc_get_volsw_sx() local 426 int max = mc->max; snd_soc_put_volsw_sx() local 516 int max = mc->max; snd_soc_put_volsw_range() local 589 int max = mc->max; snd_soc_get_volsw_range() local 627 snd_soc_limit_volume(struct snd_soc_card *card, const char *name, int max) snd_soc_limit_volume() argument 867 long max = mc->max; snd_soc_get_xr_sx() local 912 long max = mc->max; snd_soc_put_xr_sx() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | bridge_mdb_max.sh | 373 local max=$1; shift 375 bridge link set dev $(locus_dev $locus) mcast_max_groups $max 397 local max=$1; shift 399 bridge vlan set $locus mcast_max_groups $max 564 local max 566 max=$(bridge_${context}_maxgroups_get "$locus") 567 ((max == 0)) 568 check_err $? "Max groups on $locus should be 0, but $max reported" 571 check_err $? "Failed to set max to 100" 572 max [all...] |
/kernel/linux/linux-6.6/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 in sof_ipc3_pcm_dai_link_fixup() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | bitfield.h | 110 * which contains bits [min,max). 123 #define EFX_EXTRACT_NATIVE(native_element, min, max, low, high) \ 124 ((low) > (max) || (high) < (min) ? 0 : \ 131 * element which contains bits [min,max) 133 #define EFX_EXTRACT64(element, min, max, low, high) \ 134 EFX_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high) 138 * element which contains bits [min,max) 140 #define EFX_EXTRACT32(element, min, max, low, high) \ 141 EFX_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high) 240 * the range [min,max) [all...] |
/kernel/linux/linux-5.10/drivers/net/ipa/ |
H A D | ipa_data-sdm845.c | 149 .max = 63, 153 .max = 63, 160 .max = 10, 164 .max = 10, 171 .max = 12, 175 .max = 14, 182 .max = 63, 186 .max = 63, 193 .max = 14, 197 .max [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | maple_tree.h | 22 __field(unsigned long, max) 31 __entry->max = mas->max; 41 (unsigned long) __entry->max, 55 __field(unsigned long, max) 64 __entry->max = mas->max; 74 (unsigned long) __entry->max, 90 __field(unsigned long, max) 101 __entry->max [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_display.c | 36 .dot = {.min = 20000, .max = 115500}, 37 .vco = {.min = 1800000, .max = 3600000}, 38 .n = {.min = 2, .max = 6}, 39 .m = {.min = 60, .max = 160}, 40 .m1 = {.min = 0, .max = 0}, 41 .m2 = {.min = 58, .max = 158}, 42 .p = {.min = 28, .max = 140}, 43 .p1 = {.min = 2, .max = 10}, 48 .dot = {.min = 20000, .max = 115500}, 49 .vco = {.min = 1800000, .max [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_display.c | 37 .dot = {.min = 20000, .max = 115500}, 38 .vco = {.min = 1800000, .max = 3600000}, 39 .n = {.min = 2, .max = 6}, 40 .m = {.min = 60, .max = 160}, 41 .m1 = {.min = 0, .max = 0}, 42 .m2 = {.min = 58, .max = 158}, 43 .p = {.min = 28, .max = 140}, 44 .p1 = {.min = 2, .max = 10}, 49 .dot = {.min = 20000, .max = 115500}, 50 .vco = {.min = 1800000, .max [all...] |