Home
last modified time | relevance | path

Searched refs:configs (Results 1 – 25 of 196) sorted by relevance

12345678

/linux-6.6.21/drivers/pinctrl/
Dpinconf.c40 if (!map->data.configs.group_or_pin) { in pinconf_validate_map()
46 if (!map->data.configs.num_configs || in pinconf_validate_map()
47 !map->data.configs.configs) { in pinconf_validate_map()
116 map->data.configs.group_or_pin); in pinconf_map_to_setting()
119 map->data.configs.group_or_pin); in pinconf_map_to_setting()
122 setting->data.configs.group_or_pin = pin; in pinconf_map_to_setting()
126 map->data.configs.group_or_pin); in pinconf_map_to_setting()
129 map->data.configs.group_or_pin); in pinconf_map_to_setting()
132 setting->data.configs.group_or_pin = pin; in pinconf_map_to_setting()
138 setting->data.configs.num_configs = map->data.configs.num_configs; in pinconf_map_to_setting()
[all …]
Dpinctrl-utils.c63 unsigned long *configs, unsigned num_configs, in pinctrl_utils_add_map_configs() argument
71 dup_configs = kmemdup(configs, num_configs * sizeof(*dup_configs), in pinctrl_utils_add_map_configs()
77 (*map)[*num_maps].data.configs.group_or_pin = group; in pinctrl_utils_add_map_configs()
78 (*map)[*num_maps].data.configs.configs = dup_configs; in pinctrl_utils_add_map_configs()
79 (*map)[*num_maps].data.configs.num_configs = num_configs; in pinctrl_utils_add_map_configs()
87 unsigned long **configs, unsigned *num_configs, in pinctrl_utils_add_config() argument
94 new_configs = krealloc(*configs, sizeof(*new_configs) * new_num, in pinctrl_utils_add_config()
103 *configs = new_configs; in pinctrl_utils_add_config()
119 kfree(map[i].data.configs.configs); in pinctrl_utils_free_map()
Dpinctrl-lantiq.c55 kfree(map[i].data.configs.configs); in ltq_pinctrl_dt_free_map()
73 unsigned long configs[3]; in ltq_pinctrl_dt_subnode_to_map() local
108 configs[num_configs++] = in ltq_pinctrl_dt_subnode_to_map()
117 (*map)->data.configs.configs = kmemdup(configs, in ltq_pinctrl_dt_subnode_to_map()
122 (*map)->data.configs.group_or_pin = pin; in ltq_pinctrl_dt_subnode_to_map()
123 (*map)->data.configs.num_configs = num_configs; in ltq_pinctrl_dt_subnode_to_map()
127 (*map)->data.configs.configs = kmemdup(configs, in ltq_pinctrl_dt_subnode_to_map()
132 (*map)->data.configs.group_or_pin = group; in ltq_pinctrl_dt_subnode_to_map()
133 (*map)->data.configs.num_configs = num_configs; in ltq_pinctrl_dt_subnode_to_map()
Dpinconf-generic.c243 unsigned long **configs, in pinconf_generic_parse_dt_config() argument
271 *configs = NULL; in pinconf_generic_parse_dt_config()
280 *configs = kmemdup(cfg, ncfg * sizeof(unsigned long), GFP_KERNEL); in pinconf_generic_parse_dt_config()
281 if (!*configs) { in pinconf_generic_parse_dt_config()
302 unsigned long *configs = NULL; in pinconf_generic_dt_subnode_to_map() local
333 ret = pinconf_generic_parse_dt_config(np, pctldev, &configs, in pinconf_generic_dt_subnode_to_map()
364 reserved_maps, num_maps, group, configs, in pinconf_generic_dt_subnode_to_map()
373 kfree(configs); in pinconf_generic_dt_subnode_to_map()
Dpinconf.h33 unsigned long *configs, size_t nconfigs);
72 unsigned long *configs, size_t nconfigs) in pinconf_set_config() argument
139 unsigned long **configs,
/linux-6.6.21/scripts/dtc/
Ddt_to_config376 my @configs = split(' && ', $config);
377 for $configs (@configs) {
378 $not = $configs =~ /^!/;
379 $configs =~ s/^!//;
381 if (($configs ne "no_config") && ($configs ne "no_makefile")) {
386 ($configs !~ /CONFIG_/) &&
387 (($configs ne "no_config") && ($configs ne "no_makefile"))) {
391 my $existing_config = $existing_config{$configs};
402 } elsif (($config_file) && ($configs =~ /CONFIG_/)) {
462 my @configs = split(' && ', $config);
[all …]
/linux-6.6.21/drivers/pinctrl/renesas/
Dpinctrl.c42 struct sh_pfc_pin_config *configs; member
81 unsigned long *configs, in sh_pfc_map_add_config() argument
86 cfgs = kmemdup(configs, num_configs * sizeof(*cfgs), in sh_pfc_map_add_config()
92 map->data.configs.group_or_pin = group_or_pin; in sh_pfc_map_add_config()
93 map->data.configs.configs = cfgs; in sh_pfc_map_add_config()
94 map->data.configs.num_configs = num_configs; in sh_pfc_map_add_config()
111 unsigned long *configs; in sh_pfc_dt_subnode_to_map() local
128 ret = pinconf_generic_parse_dt_config(np, NULL, &configs, &num_configs); in sh_pfc_dt_subnode_to_map()
168 if (configs) in sh_pfc_dt_subnode_to_map()
189 if (configs) { in sh_pfc_dt_subnode_to_map()
[all …]
/linux-6.6.21/tools/perf/tests/
Devent_groups.c15 static unsigned long configs[] = {0, 3, 0}; variable
61 configs[2] = uncore_pmus[i].config; in setup_uncore_event()
70 fd = event_open(types[2], configs[2], -1); in setup_uncore_event()
86 group_fd = event_open(types[i], configs[i], -1); in run_test()
90 sibling_fd1 = event_open(types[j], configs[j], group_fd); in run_test()
96 sibling_fd2 = event_open(types[k], configs[k], group_fd); in run_test()
128 types[i], configs[i], types[j], configs[j], in test__event_groups()
129 types[k], configs[k], r ? "Fail" : "Pass"); in test__event_groups()
/linux-6.6.21/tools/testing/ktest/examples/
DREADME1 This directory contains example configs to use ktest for various tasks.
2 The configs still need to be customized for your environment, but it
6 The configs are based off of real working configs but have been modified
25 include/ - The include directory holds default configs that can be
26 included into other configs. This is a real use example that shows how
27 to reuse configs for various machines or set ups. The files here
/linux-6.6.21/drivers/pinctrl/vt8500/
Dpinctrl-wmt.c240 unsigned long *configs; in wmt_pctl_dt_node_to_map_pull() local
254 configs = kzalloc(sizeof(*configs), GFP_KERNEL); in wmt_pctl_dt_node_to_map_pull()
255 if (!configs) in wmt_pctl_dt_node_to_map_pull()
260 configs[0] = PIN_CONFIG_BIAS_DISABLE; in wmt_pctl_dt_node_to_map_pull()
263 configs[0] = PIN_CONFIG_BIAS_PULL_DOWN; in wmt_pctl_dt_node_to_map_pull()
266 configs[0] = PIN_CONFIG_BIAS_PULL_UP; in wmt_pctl_dt_node_to_map_pull()
269 configs[0] = PIN_CONFIG_BIAS_DISABLE; in wmt_pctl_dt_node_to_map_pull()
274 map->data.configs.group_or_pin = data->groups[group]; in wmt_pctl_dt_node_to_map_pull()
275 map->data.configs.configs = configs; in wmt_pctl_dt_node_to_map_pull()
276 map->data.configs.num_configs = 1; in wmt_pctl_dt_node_to_map_pull()
[all …]
/linux-6.6.21/drivers/pinctrl/sunplus/
Dsppctl.c600 unsigned long *configs, unsigned int num_configs) in sppctl_pin_config_set() argument
606 if (configs[0] == SPPCTL_IOP_CONFIGS) { in sppctl_pin_config_set()
612 if (configs[i] & SPPCTL_PCTL_L_OUT) in sppctl_pin_config_set()
614 if (configs[i] & SPPCTL_PCTL_L_OU1) in sppctl_pin_config_set()
616 if (configs[i] & SPPCTL_PCTL_L_INV) in sppctl_pin_config_set()
618 if (configs[i] & SPPCTL_PCTL_L_ONV) in sppctl_pin_config_set()
620 if (configs[i] & SPPCTL_PCTL_L_ODR) in sppctl_pin_config_set()
827 unsigned long *configs; in sppctl_dt_node_to_map() local
881 (*map)[i].data.configs.num_configs = 1; in sppctl_dt_node_to_map()
882 (*map)[i].data.configs.group_or_pin = pin_get_name(pctldev, pin_num); in sppctl_dt_node_to_map()
[all …]
/linux-6.6.21/Documentation/usb/
Dgadget_configfs.rst109 $ mkdir configs/<name>.<number>
114 $ mkdir configs/c.1
123 $ mkdir configs/c.1/strings/0x409
127 $ echo <configuration> > configs/c.1/strings/0x409/configuration
131 $ echo 120 > configs/c.1/MaxPower
164 $ ln -s functions/<name>.<instance name> configs/<name>.<number>
168 $ ln -s functions/ncm.usb0 configs/c.1
188 ./configs
189 ./configs/c.1
190 ./configs/c.1/ncm.usb0 -> ../../../../usb_gadget/g1/functions/ncm.usb0
[all …]
/linux-6.6.21/scripts/
DMakefile.defconf12 -m -O $(objtree) $(srctree)/arch/$(ARCH)/configs/$(1) \
13 $(foreach config,$(2),$(srctree)/arch/$(ARCH)/configs/$(config).config)
26 -Q -m -O $(objtree) $(srctree)/arch/$(ARCH)/configs/$(1) \
27 $(foreach config,$(2),$(srctree)/arch/$(ARCH)/configs/$(config).config)
/linux-6.6.21/include/linux/pinctrl/
Dmachine.h49 unsigned long *configs; member
74 struct pinctrl_map_configs configs; member
114 .data.configs = { \
116 .configs = cfgs, \
136 .data.configs = { \
138 .configs = cfgs, \
/linux-6.6.21/drivers/clk/tegra/
Dclk-tegra210-emc.c96 if (!provider || !provider->configs || provider->num_configs == 0) in tegra210_clk_emc_round_rate()
100 if (provider->configs[i].rate >= rate) in tegra210_clk_emc_round_rate()
101 return provider->configs[i].rate; in tegra210_clk_emc_round_rate()
104 return provider->configs[i - 1].rate; in tegra210_clk_emc_round_rate()
131 if (!provider->configs || provider->num_configs == 0) in tegra210_clk_emc_set_rate()
135 if (provider->configs[i].rate >= rate) { in tegra210_clk_emc_set_rate()
136 config = &provider->configs[i]; in tegra210_clk_emc_set_rate()
142 config = &provider->configs[i - 1]; in tegra210_clk_emc_set_rate()
308 struct tegra210_clk_emc_config *config = &provider->configs[i]; in tegra210_clk_emc_attach()
/linux-6.6.21/scripts/kconfig/
Dstreamline_config.pl397 my %configs;
402 $configs{$conf} = $module;
462 if (!defined($configs{$conf})) {
467 $configs{$conf} = 1;
510 if (defined($configs{$conf})) {
535 $configs{$next_config} = 1;
549 foreach my $config (keys %configs) {
671 if (defined($configs{$1})) {
DMakefile28 KCONFIG_DEFCONFIG_LIST += arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)
85 ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),)
87 $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig)
94 $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig)
96 configfiles = $(wildcard $(srctree)/kernel/configs/$(1) $(srctree)/arch/$(SRCARCH)/configs/$(1))
107 $(Q)KCONFIG_ALLCONFIG=kernel/configs/tiny-base.config $(MAKE) -f $(srctree)/Makefile allnoconfig
/linux-6.6.21/drivers/pinctrl/freescale/
Dpinctrl-scu.c87 unsigned long *configs, unsigned num_configs) in imx_pinconf_set_scu() argument
92 unsigned int mux = configs[0]; in imx_pinconf_set_scu()
106 wmsg.wakeup = *configs; in imx_pinconf_set_scu()
110 pin_id, *configs); in imx_pinconf_set_scu()
118 conf = configs[1]; in imx_pinconf_set_scu()
Dpinctrl-imx.c124 new_map[j].data.configs.group_or_pin = in imx_dt_node_to_map()
132 new_map[j].data.configs.configs = in imx_dt_node_to_map()
134 new_map[j].data.configs.num_configs = 2; in imx_dt_node_to_map()
136 new_map[j].data.configs.configs = in imx_dt_node_to_map()
138 new_map[j].data.configs.num_configs = 1; in imx_dt_node_to_map()
329 unsigned pin_id, unsigned long *configs, in imx_pinconf_set_mmio() argument
351 reg |= configs[i]; in imx_pinconf_set_mmio()
356 writel(configs[i], ipctl->base + pin_reg->conf_reg); in imx_pinconf_set_mmio()
358 pin_reg->conf_reg, configs[i]); in imx_pinconf_set_mmio()
366 unsigned pin_id, unsigned long *configs, in imx_pinconf_set() argument
[all …]
/linux-6.6.21/tools/testing/selftests/rcutorture/bin/
Dtorture.sh105 --config-rcutorture|--configs-rcutorture)
106 checkarg --configs-rcutorture "(list of config files)" "$#" "$2" '^[^/]\+$' '^--'
110 --config-locktorture|--configs-locktorture)
111 checkarg --configs-locktorture "(list of config files)" "$#" "$2" '^[^/]\+$' '^--'
115 --config-scftorture|--configs-scftorture)
116 checkarg --configs-scftorture "(list of config files)" "$#" "$2" '^[^/]\+$' '^--'
394 …n/kvm.sh --datestamp "$ds/results-rcutasksflavors/$flavor" --buildonly --configs "TINY01 TREE04" -…
416 …ests/rcutorture/bin/kvm.sh --allcpus --duration "$duration_rcutorture" --configs "$configs_rcutort…
422 …bin/kvm.sh --torture lock --allcpus --duration "$duration_locktorture" --configs "$configs_locktor…
430 …e/bin/kvm.sh --torture scf --allcpus --duration "$duration_scftorture" --configs "$configs_scftort…
[all …]
Dkvm.sh53 configs=""
114 --configs|--config)
115 checkarg --configs "(list of config files)" "$#" "$2" '^[^/.a-z]\+$' '^--'
116 configs="$configs $2"
270 CONFIGFRAG=${RCUTORTURE}/configs/${TORTURE_SUITE}; export CONFIGFRAG
273 if test -z "$configs"
275 configs=$defaultconfigs
285 for CF in $configs
/linux-6.6.21/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c762 kfree(maps[i].data.configs.configs); in bcm2835_pctl_dt_free_map()
791 unsigned long *configs; in bcm2835_pctl_dt_node_to_map_pull() local
798 configs = kzalloc(sizeof(*configs), GFP_KERNEL); in bcm2835_pctl_dt_node_to_map_pull()
799 if (!configs) in bcm2835_pctl_dt_node_to_map_pull()
801 configs[0] = pinconf_to_config_packed(BCM2835_PINCONF_PARAM_PULL, pull); in bcm2835_pctl_dt_node_to_map_pull()
804 map->data.configs.group_or_pin = bcm2835_gpio_pins[pin].name; in bcm2835_pctl_dt_node_to_map_pull()
805 map->data.configs.configs = configs; in bcm2835_pctl_dt_node_to_map_pull()
806 map->data.configs.num_configs = 1; in bcm2835_pctl_dt_node_to_map_pull()
1032 unsigned int pin, unsigned long *configs, in bcm2835_pinconf_set() argument
1040 param = pinconf_to_config_param(configs[i]); in bcm2835_pinconf_set()
[all …]
/linux-6.6.21/drivers/pinctrl/samsung/
Dpinctrl-samsung.c118 const char *group, unsigned long *configs, in add_map_configs() argument
126 dup_configs = kmemdup(configs, num_configs * sizeof(*dup_configs), in add_map_configs()
132 (*map)[*num_maps].data.configs.group_or_pin = group; in add_map_configs()
133 (*map)[*num_maps].data.configs.configs = dup_configs; in add_map_configs()
134 (*map)[*num_maps].data.configs.num_configs = num_configs; in add_map_configs()
140 static int add_config(struct device *dev, unsigned long **configs, in add_config() argument
147 new_configs = krealloc(*configs, sizeof(*new_configs) * new_num, in add_config()
154 *configs = new_configs; in add_config()
168 kfree(map[i].data.configs.configs); in samsung_dt_free_map()
183 unsigned long *configs = NULL; in samsung_dt_subnode_to_map() local
[all …]
/linux-6.6.21/drivers/pinctrl/aspeed/
Dpinctrl-aspeed.h75 const struct aspeed_pin_config *configs; member
110 unsigned long *configs, unsigned int num_configs);
116 unsigned long *configs,
Dpinctrl-aspeed.c490 if (param == pdata->configs[i].param && in find_pinconf_config()
491 pin_in_config_range(offset, &pdata->configs[i])) in find_pinconf_config()
492 return &pdata->configs[i]; in find_pinconf_config()
572 unsigned long *configs, unsigned int num_configs) in aspeed_pin_config_set() argument
587 param = pinconf_to_config_param(configs[i]); in aspeed_pin_config_set()
588 arg = pinconf_to_config_argument(configs[i]); in aspeed_pin_config_set()
637 unsigned long *configs, in aspeed_pin_config_group_set() argument
652 rc = aspeed_pin_config_set(pctldev, pins[i], configs, in aspeed_pin_config_group_set()

12345678