/linux/drivers/pinctrl/ |
A D | pinconf.c | 46 if (!map->data.configs.num_configs || in pinconf_validate_map() 47 !map->data.configs.configs) { in pinconf_validate_map() 119 map->data.configs.group_or_pin); in pinconf_map_to_setting() 129 map->data.configs.group_or_pin); in pinconf_map_to_setting() 138 setting->data.configs.num_configs = map->data.configs.num_configs; in pinconf_map_to_setting() 139 setting->data.configs.configs = map->data.configs.configs; in pinconf_map_to_setting() 167 setting->data.configs.configs, in pinconf_apply_setting() 184 setting->data.configs.configs, in pinconf_apply_setting() 229 configs[i]); in pinconf_show_config() 255 pinconf_show_config(s, pctldev, map->data.configs.configs, in pinconf_show_map() [all …]
|
A D | pinctrl-utils.c | 76 unsigned long *configs, unsigned num_configs, in pinctrl_utils_add_map_configs() argument 84 dup_configs = kmemdup(configs, num_configs * sizeof(*dup_configs), in pinctrl_utils_add_map_configs() 90 (*map)[*num_maps].data.configs.group_or_pin = group; in pinctrl_utils_add_map_configs() 91 (*map)[*num_maps].data.configs.configs = dup_configs; in pinctrl_utils_add_map_configs() 92 (*map)[*num_maps].data.configs.num_configs = num_configs; in pinctrl_utils_add_map_configs() 100 unsigned long **configs, unsigned *num_configs, in pinctrl_utils_add_config() argument 107 new_configs = krealloc(*configs, sizeof(*new_configs) * new_num, in pinctrl_utils_add_config() 116 *configs = new_configs; in pinctrl_utils_add_config() 132 kfree(map[i].data.configs.configs); in pinctrl_utils_free_map()
|
A D | pinctrl-lantiq.c | 54 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()
|
A D | pinconf-generic.c | 241 unsigned long **configs, in pinconf_generic_parse_dt_config() argument 269 *configs = NULL; in pinconf_generic_parse_dt_config() 278 *configs = kmemdup(cfg, ncfg * sizeof(unsigned long), GFP_KERNEL); in pinconf_generic_parse_dt_config() 279 if (!*configs) { in pinconf_generic_parse_dt_config() 300 unsigned long *configs = NULL; in pinconf_generic_dt_subnode_to_map() local 331 ret = pinconf_generic_parse_dt_config(np, pctldev, &configs, in pinconf_generic_dt_subnode_to_map() 362 reserved_maps, num_maps, group, configs, in pinconf_generic_dt_subnode_to_map() 371 kfree(configs); in pinconf_generic_dt_subnode_to_map()
|
A D | pinconf.h | 23 unsigned long *configs, size_t nconfigs); 62 unsigned long *configs, size_t nconfigs) in pinconf_set_config() argument 129 unsigned long **configs,
|
/linux/scripts/dtc/ |
A D | dt_to_config | 377 for $configs (@configs) { 378 $not = $configs =~ /^!/; 379 $configs =~ s/^!//; 381 if (($configs ne "no_config") && ($configs ne "no_makefile")) { 387 (($configs ne "no_config") && ($configs ne "no_makefile"))) { 465 for $configs (@configs) { 466 $configs =~ s/^!//; 489 for $configs (@configs) { 491 $configs =~ s/^!//; 709 my @configs; [all …]
|
/linux/drivers/pinctrl/renesas/ |
A D | pinctrl.c | 41 struct sh_pfc_pin_config *configs; member 84 unsigned long *configs, in sh_pfc_map_add_config() argument 96 map->data.configs.configs = cfgs; in sh_pfc_map_add_config() 114 unsigned long *configs; in sh_pfc_dt_subnode_to_map() local 188 if (configs) in sh_pfc_dt_subnode_to_map() 209 if (configs) { in sh_pfc_dt_subnode_to_map() 220 if (!configs) { in sh_pfc_dt_subnode_to_map() 237 kfree(configs); in sh_pfc_dt_subnode_to_map() 252 kfree(map[i].data.configs.configs); in sh_pfc_dt_free_map() 456 if (pin->configs) { in sh_pfc_gpio_set_direction() [all …]
|
/linux/Documentation/usb/ |
A D | gadget_configfs.rst | 99 $ mkdir configs/<name>.<number> 104 $ mkdir configs/c.1 113 $ mkdir configs/c.1/strings/0x409 178 ./configs 179 ./configs/c.1 181 ./configs/c.1/strings 182 ./configs/c.1/strings/0x409 184 ./configs/c.1/bmAttributes 185 ./configs/c.1/MaxPower 233 $ rm configs/c.1/ncm.usb0 [all …]
|
/linux/drivers/pinctrl/vt8500/ |
A D | pinctrl-wmt.c | 240 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() 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() 290 kfree(maps[i].data.configs.configs); in wmt_pctl_dt_free_map() [all …]
|
/linux/tools/testing/ktest/examples/ |
A D | README | 1 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/include/linux/pinctrl/ |
A D | machine.h | 49 unsigned long *configs; member 74 struct pinctrl_map_configs configs; member 114 .data.configs = { \ 116 .configs = cfgs, \ 136 .data.configs = { \ 138 .configs = cfgs, \
|
/linux/drivers/pinctrl/freescale/ |
A D | pinctrl-imx.c | 122 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 335 unsigned long *configs; in imx_pinconf_parse_generic_config() local 405 reg |= configs[i]; in imx_pinconf_set_mmio() 412 pin_reg->conf_reg, configs[i]); in imx_pinconf_set_mmio() 428 configs, num_configs); in imx_pinconf_set() [all …]
|
A D | pinctrl-mxs.c | 119 new_map[i].data.configs.group_or_pin = purecfg ? np->name : in mxs_dt_node_to_map() 121 new_map[i].data.configs.configs = pconfig; in mxs_dt_node_to_map() 122 new_map[i].data.configs.num_configs = 1; in mxs_dt_node_to_map() 147 kfree(map[i].data.configs.configs); in mxs_dt_free_map() 237 unsigned pin, unsigned long *configs, in mxs_pinconf_set() argument 254 unsigned group, unsigned long *configs, in mxs_pinconf_group_set() argument 267 config = configs[n]; in mxs_pinconf_group_set()
|
A D | pinctrl-imx.h | 109 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/tools/testing/selftests/rcutorture/bin/ |
A D | torture.sh | 99 --config-rcutorture|--configs-rcutorture) 100 checkarg --configs-rcutorture "(list of config files)" "$#" "$2" '^[^/]\+$' '^--' 104 --config-locktorture|--configs-locktorture) 105 checkarg --configs-locktorture "(list of config files)" "$#" "$2" '^[^/]\+$' '^--' 109 --config-scftorture|--configs-scftorture) 110 checkarg --configs-scftorture "(list of config files)" "$#" "$2" '^[^/]\+$' '^--' 342 …ests/rcutorture/bin/kvm.sh --allcpus --duration "$duration_rcutorture" --configs "$configs_rcutort… 348 …bin/kvm.sh --torture lock --allcpus --duration "$duration_locktorture" --configs "$configs_locktor… 390 …tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 45s --configs TREE03 --kconfig … 393 …tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 45s --configs TREE03 --kconfig … [all …]
|
A D | kvm.sh | 53 configs="" 111 --configs|--config) 112 checkarg --configs "(list of config files)" "$#" "$2" '^[^/.a-z]\+$' '^--' 113 configs="$configs $2" 262 CONFIGFRAG=${KVM}/configs/${TORTURE_SUITE}; export CONFIGFRAG 265 if test -z "$configs" 267 configs=$defaultconfigs 277 for CF in $configs
|
/linux/drivers/clk/tegra/ |
A D | clk-tegra210-emc.c | 96 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/scripts/kconfig/ |
A D | streamline_config.pl | 397 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})) {
|
A D | Makefile | 28 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/drivers/pinctrl/bcm/ |
A D | pinctrl-bcm2835.c | 729 kfree(maps[i].data.configs.configs); in bcm2835_pctl_dt_free_map() 758 unsigned long *configs; in bcm2835_pctl_dt_node_to_map_pull() local 765 configs = kzalloc(sizeof(*configs), GFP_KERNEL); in bcm2835_pctl_dt_node_to_map_pull() 766 if (!configs) in bcm2835_pctl_dt_node_to_map_pull() 772 map->data.configs.configs = configs; in bcm2835_pctl_dt_node_to_map_pull() 773 map->data.configs.num_configs = 1; in bcm2835_pctl_dt_node_to_map_pull() 999 unsigned int pin, unsigned long *configs, in bcm2835_pinconf_set() argument 1007 param = pinconf_to_config_param(configs[i]); in bcm2835_pinconf_set() 1008 arg = pinconf_to_config_argument(configs[i]); in bcm2835_pinconf_set() 1074 param = pinconf_to_config_param(configs[i]); in bcm2711_pinconf_set() [all …]
|
/linux/drivers/pinctrl/samsung/ |
A D | pinctrl-samsung.c | 118 const char *group, unsigned long *configs, in add_map_configs() argument 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() 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 198 ret = add_config(dev, &configs, &num_configs, config); in samsung_dt_subnode_to_map() 234 num_maps, group, configs, in samsung_dt_subnode_to_map() 244 kfree(configs); in samsung_dt_subnode_to_map() 478 unsigned long *configs, unsigned num_configs) in samsung_pinconf_set() argument [all …]
|
/linux/drivers/pinctrl/aspeed/ |
A D | pinctrl-aspeed.c | 489 if (param == pdata->configs[i].param && in find_pinconf_config() 490 pin_in_config_range(offset, &pdata->configs[i])) in find_pinconf_config() 491 return &pdata->configs[i]; in find_pinconf_config() 571 unsigned long *configs, unsigned int num_configs) in aspeed_pin_config_set() argument 586 param = pinconf_to_config_param(configs[i]); in aspeed_pin_config_set() 587 arg = pinconf_to_config_argument(configs[i]); in aspeed_pin_config_set() 636 unsigned long *configs, in aspeed_pin_config_group_set() argument 651 rc = aspeed_pin_config_set(pctldev, pins[i], configs, in aspeed_pin_config_group_set()
|
A D | pinctrl-aspeed.h | 75 const struct aspeed_pin_config *configs; member 110 unsigned long *configs, unsigned int num_configs); 116 unsigned long *configs,
|
/linux/drivers/pinctrl/cirrus/ |
A D | pinctrl-madera-core.c | 819 unsigned long *configs, unsigned int num_configs) in madera_pin_conf_set() argument 831 switch (pinconf_to_config_param(*configs)) { in madera_pin_conf_set() 859 val = pinconf_to_config_argument(*configs); in madera_pin_conf_set() 871 val = pinconf_to_config_argument(*configs); in madera_pin_conf_set() 878 val = pinconf_to_config_argument(*configs); in madera_pin_conf_set() 886 val = pinconf_to_config_argument(*configs); in madera_pin_conf_set() 903 val = pinconf_to_config_argument(*configs); in madera_pin_conf_set() 917 ++configs; in madera_pin_conf_set() 946 unsigned long *configs, in madera_pin_conf_group_set() argument 961 configs, in madera_pin_conf_group_set() [all …]
|
/linux/drivers/pinctrl/nomadik/ |
A D | pinctrl-abx500.c | 704 unsigned long *configs, unsigned num_configs) in abx500_dt_add_map_configs() argument 711 dup_configs = kmemdup(configs, num_configs * sizeof(*dup_configs), in abx500_dt_add_map_configs() 718 (*map)[*num_maps].data.configs.group_or_pin = group; in abx500_dt_add_map_configs() 719 (*map)[*num_maps].data.configs.configs = dup_configs; in abx500_dt_add_map_configs() 720 (*map)[*num_maps].data.configs.num_configs = num_configs; in abx500_dt_add_map_configs() 747 unsigned long *configs; in abx500_dt_subnode_to_map() local 791 num_maps, gpio_name, configs, 1); in abx500_dt_subnode_to_map() 844 unsigned long *configs, in abx500_pin_config_set() argument 856 param = pinconf_to_config_param(configs[i]); in abx500_pin_config_set() 857 argument = pinconf_to_config_argument(configs[i]); in abx500_pin_config_set() [all …]
|