Home
last modified time | relevance | path

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

12345678

/linux-6.1.9/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.c54 kfree(map[i].data.configs.configs); in ltq_pinctrl_dt_free_map()
72 unsigned long configs[3]; in ltq_pinctrl_dt_subnode_to_map() local
107 configs[num_configs++] = in ltq_pinctrl_dt_subnode_to_map()
116 (*map)->data.configs.configs = kmemdup(configs, in ltq_pinctrl_dt_subnode_to_map()
121 (*map)->data.configs.group_or_pin = pin; in ltq_pinctrl_dt_subnode_to_map()
122 (*map)->data.configs.num_configs = num_configs; in ltq_pinctrl_dt_subnode_to_map()
126 (*map)->data.configs.configs = kmemdup(configs, in ltq_pinctrl_dt_subnode_to_map()
131 (*map)->data.configs.group_or_pin = group; in ltq_pinctrl_dt_subnode_to_map()
132 (*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.h23 unsigned long *configs, size_t nconfigs);
62 unsigned long *configs, size_t nconfigs) in pinconf_set_config() argument
129 unsigned long **configs,
/linux-6.1.9/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.1.9/drivers/pinctrl/renesas/
Dpinctrl.c40 struct sh_pfc_pin_config *configs; member
83 unsigned long *configs, in sh_pfc_map_add_config() argument
88 cfgs = kmemdup(configs, num_configs * sizeof(*cfgs), in sh_pfc_map_add_config()
94 map->data.configs.group_or_pin = group_or_pin; in sh_pfc_map_add_config()
95 map->data.configs.configs = cfgs; in sh_pfc_map_add_config()
96 map->data.configs.num_configs = num_configs; in sh_pfc_map_add_config()
113 unsigned long *configs; in sh_pfc_dt_subnode_to_map() local
147 ret = pinconf_generic_parse_dt_config(np, NULL, &configs, &num_configs); in sh_pfc_dt_subnode_to_map()
187 if (configs) in sh_pfc_dt_subnode_to_map()
208 if (configs) { in sh_pfc_dt_subnode_to_map()
[all …]
/linux-6.1.9/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.1.9/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.1.9/Documentation/usb/
Dgadget_configfs.rst99 $ mkdir configs/<name>.<number>
104 $ mkdir configs/c.1
113 $ mkdir configs/c.1/strings/0x409
117 $ echo <configuration> > configs/c.1/strings/0x409/configuration
121 $ echo 120 > configs/c.1/MaxPower
154 $ ln -s functions/<name>.<instance name> configs/<name>.<number>
158 $ ln -s functions/ncm.usb0 configs/c.1
178 ./configs
179 ./configs/c.1
180 ./configs/c.1/ncm.usb0 -> ../../../../usb_gadget/g1/functions/ncm.usb0
[all …]
/linux-6.1.9/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.1.9/tools/testing/selftests/rcutorture/bin/
Dtorture.sh101 --config-rcutorture|--configs-rcutorture)
102 checkarg --configs-rcutorture "(list of config files)" "$#" "$2" '^[^/]\+$' '^--'
106 --config-locktorture|--configs-locktorture)
107 checkarg --configs-locktorture "(list of config files)" "$#" "$2" '^[^/]\+$' '^--'
111 --config-scftorture|--configs-scftorture)
112 checkarg --configs-scftorture "(list of config files)" "$#" "$2" '^[^/]\+$' '^--'
350 …ests/rcutorture/bin/kvm.sh --allcpus --duration "$duration_rcutorture" --configs "$configs_rcutort…
356 …bin/kvm.sh --torture lock --allcpus --duration "$duration_locktorture" --configs "$configs_locktor…
362 …e/bin/kvm.sh --torture scf --allcpus --duration "$duration_scftorture" --configs "$configs_scftort…
369 …ests/rcutorture/bin/kvm.sh --allcpus --duration "$duration_rcutorture" --configs "TREE03" --trust-…
[all …]
Dkvm.sh54 configs=""
115 --configs|--config)
116 checkarg --configs "(list of config files)" "$#" "$2" '^[^/.a-z]\+$' '^--'
117 configs="$configs $2"
271 CONFIGFRAG=${RCUTORTURE}/configs/${TORTURE_SUITE}; export CONFIGFRAG
274 if test -z "$configs"
276 configs=$defaultconfigs
286 for CF in $configs
/linux-6.1.9/drivers/pinctrl/sunplus/
Dsppctl.c605 unsigned long *configs, unsigned int num_configs) in sppctl_pin_config_set() argument
611 if (configs[0] == SPPCTL_IOP_CONFIGS) { in sppctl_pin_config_set()
617 if (configs[i] & SPPCTL_PCTL_L_OUT) in sppctl_pin_config_set()
619 if (configs[i] & SPPCTL_PCTL_L_OU1) in sppctl_pin_config_set()
621 if (configs[i] & SPPCTL_PCTL_L_INV) in sppctl_pin_config_set()
623 if (configs[i] & SPPCTL_PCTL_L_ONV) in sppctl_pin_config_set()
625 if (configs[i] & SPPCTL_PCTL_L_ODR) in sppctl_pin_config_set()
832 unsigned long *configs; in sppctl_dt_node_to_map() local
887 (*map)[i].data.configs.num_configs = 1; in sppctl_dt_node_to_map()
888 (*map)[i].data.configs.group_or_pin = pin_get_name(pctldev, pin_num); in sppctl_dt_node_to_map()
[all …]
/linux-6.1.9/drivers/pinctrl/freescale/
Dpinctrl-imx.c122 new_map[j].data.configs.group_or_pin = in imx_dt_node_to_map()
130 new_map[j].data.configs.configs = in imx_dt_node_to_map()
132 new_map[j].data.configs.num_configs = 2; in imx_dt_node_to_map()
134 new_map[j].data.configs.configs = in imx_dt_node_to_map()
136 new_map[j].data.configs.num_configs = 1; in imx_dt_node_to_map()
295 unsigned long *configs, in imx_pinconf_decode_generic_config() argument
308 param = pinconf_to_config_param(configs[i]); in imx_pinconf_decode_generic_config()
309 param_val = pinconf_to_config_argument(configs[i]); in imx_pinconf_decode_generic_config()
324 info->fixup(configs, num_configs, &raw_config); in imx_pinconf_decode_generic_config()
335 unsigned long *configs; in imx_pinconf_parse_generic_config() local
[all …]
Dpinctrl-imx.h109 void (*fixup)(unsigned long *configs, unsigned int num_configs,
119 unsigned long *configs, unsigned int num_configs);
155 unsigned long *configs, unsigned num_configs);
/linux-6.1.9/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.1.9/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/$@ $(srctree)/arch/$(SRCARCH)/configs/$@)
105 $(Q)KCONFIG_ALLCONFIG=kernel/configs/tiny-base.config $(MAKE) -f $(srctree)/Makefile allnoconfig
/linux-6.1.9/drivers/pinctrl/aspeed/
Dpinctrl-aspeed.c480 if (param == pdata->configs[i].param && in find_pinconf_config()
481 pin_in_config_range(offset, &pdata->configs[i])) in find_pinconf_config()
482 return &pdata->configs[i]; in find_pinconf_config()
562 unsigned long *configs, unsigned int num_configs) in aspeed_pin_config_set() argument
577 param = pinconf_to_config_param(configs[i]); in aspeed_pin_config_set()
578 arg = pinconf_to_config_argument(configs[i]); in aspeed_pin_config_set()
627 unsigned long *configs, in aspeed_pin_config_group_set() argument
642 rc = aspeed_pin_config_set(pctldev, pins[i], configs, in aspeed_pin_config_group_set()
Dpinctrl-aspeed.h75 const struct aspeed_pin_config *configs; member
110 unsigned long *configs, unsigned int num_configs);
116 unsigned long *configs,
/linux-6.1.9/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c756 kfree(maps[i].data.configs.configs); in bcm2835_pctl_dt_free_map()
785 unsigned long *configs; in bcm2835_pctl_dt_node_to_map_pull() local
792 configs = kzalloc(sizeof(*configs), GFP_KERNEL); in bcm2835_pctl_dt_node_to_map_pull()
793 if (!configs) in bcm2835_pctl_dt_node_to_map_pull()
795 configs[0] = pinconf_to_config_packed(BCM2835_PINCONF_PARAM_PULL, pull); in bcm2835_pctl_dt_node_to_map_pull()
798 map->data.configs.group_or_pin = bcm2835_gpio_pins[pin].name; in bcm2835_pctl_dt_node_to_map_pull()
799 map->data.configs.configs = configs; in bcm2835_pctl_dt_node_to_map_pull()
800 map->data.configs.num_configs = 1; in bcm2835_pctl_dt_node_to_map_pull()
1026 unsigned int pin, unsigned long *configs, in bcm2835_pinconf_set() argument
1034 param = pinconf_to_config_param(configs[i]); in bcm2835_pinconf_set()
[all …]
/linux-6.1.9/drivers/pinctrl/samsung/
Dpinctrl-samsung.c117 const char *group, unsigned long *configs, in add_map_configs() argument
125 dup_configs = kmemdup(configs, num_configs * sizeof(*dup_configs), in add_map_configs()
131 (*map)[*num_maps].data.configs.group_or_pin = group; in add_map_configs()
132 (*map)[*num_maps].data.configs.configs = dup_configs; in add_map_configs()
133 (*map)[*num_maps].data.configs.num_configs = num_configs; in add_map_configs()
139 static int add_config(struct device *dev, unsigned long **configs, in add_config() argument
146 new_configs = krealloc(*configs, sizeof(*new_configs) * new_num, in add_config()
153 *configs = new_configs; in add_config()
167 kfree(map[i].data.configs.configs); in samsung_dt_free_map()
182 unsigned long *configs = NULL; in samsung_dt_subnode_to_map() local
[all …]
/linux-6.1.9/drivers/pinctrl/cirrus/
Dpinctrl-madera-core.c821 unsigned long *configs, unsigned int num_configs) in madera_pin_conf_set() argument
831 dev_dbg(priv->dev, "%s config 0x%lx\n", __func__, *configs); in madera_pin_conf_set()
833 switch (pinconf_to_config_param(*configs)) { in madera_pin_conf_set()
861 val = pinconf_to_config_argument(*configs); in madera_pin_conf_set()
873 val = pinconf_to_config_argument(*configs); in madera_pin_conf_set()
880 val = pinconf_to_config_argument(*configs); in madera_pin_conf_set()
888 val = pinconf_to_config_argument(*configs); in madera_pin_conf_set()
905 val = pinconf_to_config_argument(*configs); in madera_pin_conf_set()
919 ++configs; in madera_pin_conf_set()
948 unsigned long *configs, in madera_pin_conf_group_set() argument
[all …]
/linux-6.1.9/tools/usb/usbip/vudc/
Dvudc_server_example.sh58 mkdir configs/c.1
59 ln -s ${FUNC_DIR} configs/c.1

12345678