/kernel/linux/linux-5.10/drivers/pinctrl/ |
D | pinconf.c | 40 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 …]
|
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()
|
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()
|
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()
|
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,
|
/kernel/linux/linux-5.10/scripts/dtc/ |
D | dt_to_config | 376 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 …]
|
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/ |
D | pinctrl.c | 41 struct sh_pfc_pin_config *configs; member 84 unsigned long *configs, in sh_pfc_map_add_config() argument 89 cfgs = kmemdup(configs, num_configs * sizeof(*cfgs), in sh_pfc_map_add_config() 95 map->data.configs.group_or_pin = group_or_pin; in sh_pfc_map_add_config() 96 map->data.configs.configs = cfgs; in sh_pfc_map_add_config() 97 map->data.configs.num_configs = num_configs; in sh_pfc_map_add_config() 114 unsigned long *configs; in sh_pfc_dt_subnode_to_map() local 148 ret = pinconf_generic_parse_dt_config(np, NULL, &configs, &num_configs); in sh_pfc_dt_subnode_to_map() 188 if (configs) in sh_pfc_dt_subnode_to_map() 209 if (configs) { in sh_pfc_dt_subnode_to_map() [all …]
|
/kernel/linux/linux-5.10/tools/testing/ktest/examples/ |
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
|
/kernel/linux/linux-5.10/drivers/pinctrl/vt8500/ |
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() 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 …]
|
/kernel/linux/linux-5.10/Documentation/usb/ |
D | gadget_configfs.rst | 99 $ 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 …]
|
/kernel/liteos_m/ |
D | liteos.gni | 83 configs = [] 107 forward_variables_from(invoker, "*", [ "configs" ]) 108 configs += invoker.configs 131 forward_variables_from(invoker, [ "configs" ]) 150 configs = [] 152 configs += [ "$m:public" ] 154 if (defined(invoker.configs)) { 155 configs += invoker.configs 161 configs = [
|
D | BUILD.gn | 107 configs = [ 131 configs = [ 140 configs += [ "//device/board/$device_company:public" ] 141 configs += [ "//device/soc/$LOSCFG_SOC_COMPANY:public" ] 144 configs += [ "$device_path:public" ] 191 configs += [
|
/kernel/linux/linux-5.10/include/linux/pinctrl/ |
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, \
|
/kernel/linux/linux-5.10/drivers/pinctrl/freescale/ |
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 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 …]
|
/kernel/linux/linux-5.10/drivers/clk/tegra/ |
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()
|
/kernel/linux/linux-5.10/scripts/kconfig/ |
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})) {
|
/kernel/liteos_a/ |
D | liteos.gni | 56 configs = [] 103 forward_variables_from(invoker, [ "configs" ]) 122 configs = [] 124 configs += [ "$m:public" ] 126 if (defined(invoker.configs)) { 127 configs += invoker.configs 133 configs = [
|
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/ |
D | kvm.sh | 45 configs="" 99 --configs|--config) 100 checkarg --configs "(list of config files)" "$#" "$2" '^[^/]*$' '^--' 101 configs="$2" 231 CONFIGFRAG=${KVM}/configs/${TORTURE_SUITE}; export CONFIGFRAG 234 if test -z "$configs" 236 configs=$defaultconfigs 246 for CF in $configs
|
/kernel/linux/linux-5.10/drivers/pinctrl/aspeed/ |
D | pinctrl-aspeed.c | 488 if (param == pdata->configs[i].param && in find_pinconf_config() 489 pin_in_config_range(offset, &pdata->configs[i])) in find_pinconf_config() 490 return &pdata->configs[i]; in find_pinconf_config() 570 unsigned long *configs, unsigned int num_configs) in aspeed_pin_config_set() argument 585 param = pinconf_to_config_param(configs[i]); in aspeed_pin_config_set() 586 arg = pinconf_to_config_argument(configs[i]); in aspeed_pin_config_set() 635 unsigned long *configs, in aspeed_pin_config_group_set() argument 650 rc = aspeed_pin_config_set(pctldev, pins[i], configs, in aspeed_pin_config_group_set()
|
D | pinctrl-aspeed.h | 75 const struct aspeed_pin_config *configs; member 110 unsigned long *configs, unsigned int num_configs); 116 unsigned long *configs,
|
/kernel/linux/linux-5.10/drivers/pinctrl/bcm/ |
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() 768 configs[0] = pinconf_to_config_packed(BCM2835_PINCONF_PARAM_PULL, pull); in bcm2835_pctl_dt_node_to_map_pull() 771 map->data.configs.group_or_pin = bcm2835_gpio_pins[pin].name; 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() [all …]
|
/kernel/linux/linux-5.10/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.c | 118 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 …]
|
/kernel/liteos_a/testsuites/unittest/libc/ |
D | BUILD.gn | 50 configs = [ "..:public_config_for_door" ] 51 configs += [ ":libc_config" ] 64 configs = [ "..:public_config_for_all" ] 65 configs += [ ":libc_config" ]
|
/kernel/linux/linux-5.10/tools/usb/usbip/vudc/ |
D | vudc_server_example.sh | 58 mkdir configs/c.1 59 ln -s ${FUNC_DIR} configs/c.1
|
/kernel/linux/linux-5.10/drivers/pinctrl/cirrus/ |
D | pinctrl-madera-core.c | 819 unsigned long *configs, unsigned int num_configs) in madera_pin_conf_set() argument 829 dev_dbg(priv->dev, "%s config 0x%lx\n", __func__, *configs); in madera_pin_conf_set() 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 [all …]
|