Home
last modified time | relevance | path

Searched full:configs (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/linux/drivers/pinctrl/
H A Dpinconf.c42 if (!map->data.configs.group_or_pin) { in pinconf_validate_map()
48 if (!map->data.configs.num_configs || in pinconf_validate_map()
49 !map->data.configs.configs) { in pinconf_validate_map()
50 pr_err("failed to register map %s (%d): no configs given\n", in pinconf_validate_map()
118 map->data.configs.group_or_pin); in pinconf_map_to_setting()
121 map->data.configs.group_or_pin); in pinconf_map_to_setting()
124 setting->data.configs.group_or_pin = pin; in pinconf_map_to_setting()
128 map->data.configs.group_or_pin); in pinconf_map_to_setting()
131 map->data.configs.group_or_pin); in pinconf_map_to_setting()
134 setting->data.configs.group_or_pin = pin; in pinconf_map_to_setting()
[all …]
H A Dpinctrl-utils.c65 unsigned long *configs, unsigned int num_configs, in pinctrl_utils_add_map_configs() argument
73 dup_configs = kmemdup_array(configs, num_configs, in pinctrl_utils_add_map_configs()
79 (*map)[*num_maps].data.configs.group_or_pin = group; in pinctrl_utils_add_map_configs()
80 (*map)[*num_maps].data.configs.configs = dup_configs; in pinctrl_utils_add_map_configs()
81 (*map)[*num_maps].data.configs.num_configs = num_configs; in pinctrl_utils_add_map_configs()
89 unsigned long **configs, unsigned int *num_configs, in pinctrl_utils_add_config() argument
96 new_configs = krealloc(*configs, sizeof(*new_configs) * new_num, in pinctrl_utils_add_config()
99 dev_err(pctldev->dev, "krealloc(configs) failed\n"); in pinctrl_utils_add_config()
105 *configs = new_configs; in pinctrl_utils_add_config()
121 kfree(map[i].data.configs.configs); in pinctrl_utils_free_map()
H A 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()
H A Dpinconf-generic.c88 /* comma between multiple configs */ in pinconf_generic_dump_one()
328 * @configs: array with nconfigs entries containing the generic pinconf values
334 unsigned long **configs, in pinconf_generic_parse_dt_config() argument
363 /* no configs found at all */ in pinconf_generic_parse_dt_config()
365 *configs = NULL; in pinconf_generic_parse_dt_config()
371 * Now limit the number of configs to the real number of in pinconf_generic_parse_dt_config()
374 *configs = kmemdup(cfg, ncfg * sizeof(unsigned long), GFP_KERNEL); in pinconf_generic_parse_dt_config()
375 if (!*configs) { in pinconf_generic_parse_dt_config()
395 unsigned long *configs = NULL; in pinconf_generic_dt_node_to_map_pinmux() local
418 ret = pinconf_generic_parse_dt_config(np, pctldev, &configs, in pinconf_generic_dt_node_to_map_pinmux()
[all …]
H A Dpinctrl-scmi.c31 /* Define num configs, if not large than 4 use stack, else use kcalloc() */
345 unsigned long *configs, in pinctrl_scmi_pinconf_set() argument
356 if (!configs || !num_configs) in pinctrl_scmi_pinconf_set()
365 param = pinconf_to_config_param(configs[i]); in pinctrl_scmi_pinconf_set()
371 p_config_value[i] = pinconf_to_config_argument(configs[i]); in pinctrl_scmi_pinconf_set()
387 unsigned long *configs, in pinctrl_scmi_pinconf_group_set() argument
398 if (!configs || !num_configs) in pinctrl_scmi_pinconf_group_set()
407 param = pinconf_to_config_param(configs[i]); in pinctrl_scmi_pinconf_group_set()
414 p_config_value[i] = pinconf_to_config_argument(configs[i]); in pinctrl_scmi_pinconf_group_set()
H A Dpinconf.h33 unsigned long *configs, size_t nconfigs);
72 unsigned long *configs, size_t nconfigs) in pinconf_set_config() argument
139 unsigned long **configs,
149 unsigned long **configs, in pinconf_generic_parse_dt_config() argument
/linux/tools/testing/ktest/
H A Dconfig-bisect.pl16 # the good and bad configs match the bad config. It tries because of
17 # dependencies between the two configs it may not be able to change
18 # exactly half of the configs that are different between the two config
27 # so do not make that be one of the good or bad configs), and then
29 # current kernel. It will then store the configs in that result for
32 # the two configs and building them with "make oldconfig" to make sure
53 # bad configs to the .tmp versions. If a .tmp version already exists, it will
58 # without the result being equal to either the good or bad .tmp configs.
83 Note, each run will create copy of good and bad configs with ".tmp" appended.
209 # config_ignore holds the configs that were set (or unset) for
[all …]
H A Dktest.pl259 # force_config is the list of configs that we force enabled (or disabled)
260 # in a .config file. The MIN_CONFIG and ADD_CONFIG configs.
536 # config_ignore holds the configs that were set (or unset) for
537 # a good config and we will ignore these configs for the rest
538 # of a config bisect. These configs stay as they were.
541 # config_set holds what all configs were set as.
544 # config_off holds the set of configs that the bad config had disabled.
549 # config_off_tmp holds a set of configs to turn off for now
552 # config_list is the set of configs that are being tested
1314 # make sure we have all mandatory configs
[all …]
/linux/Documentation/usb/
H A 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/scripts/kconfig/
H A Dstreamline_config.pl86 "file" => "/lib/modules/$uname/kernel/kernel/configs.ko",
91 "file" => "kernel/configs.ko",
96 "file" => "kernel/configs.o",
202 # configs found
233 # Get the configs that select this config
242 # configs without prompts must be selected
297 # Read all Makefiles to map the configs to the objects
318 # Convert variables in a line (could define configs)
335 # Store configs in an array.
345 # of an array of configs.
[all …]
H A DMakefile28 KCONFIG_DEFCONFIG_LIST += arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)
93 ifneq ($(wildcard $(srctree)/arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),)
95 $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig)
102 $(Q)$< $(silent) --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig)
104 configfiles = $(wildcard $(srctree)/kernel/configs/$(1) $(srctree)/arch/$(SRCARCH)/configs/$(1))
117 $(Q)KCONFIG_ALLCONFIG=kernel/configs/tiny-base.config $(MAKE) -f $(srctree)/Makefile allnoconfig
/linux/tools/testing/ktest/examples/
H A 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/drivers/pinctrl/vt8500/
H A 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/tools/testing/ktest/examples/include/
H A Ddefaults.conf30 # THIS_DIR is used through out the configs and defaults to ${PWD} which
36 # to organize your configs, having each machine save their configs
38 CONFIG_DIR := ${THIS_DIR}/configs/${MACHINE}
98 # For things like randconfigs, there may be configs you find that
99 # are already broken, or there may be some configs that you always
101 # that set the configs you want to keep on (or off) in your build.
102 # ADD_CONFIG is usually something to add configs to all machines,
H A Dmin-config.conf8 # .config by only setting the configs in your MIN_CONFIG. The closer
9 # your MIN_CONFIG is to the true minimum set of configs needed to
14 # is truly the minimum set of configs needed to boot a box.
28 # The ${CONFIG_DIR}/config-skip (and -net) will hold the configs
30 # The config-new-min holds configs that ktest.pl could not test
/linux/include/linux/pinctrl/
H A Dmachine.h42 * @configs: a pointer to an array of config parameters/values to program into
45 * @num_configs: the number of entries in array @configs
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/net/wireless/rsi/
H A Drsi_boot_params.h58 /* structure to store configs related to TAPLL programming */
64 /* structure to store configs related to PLL960 programming */
71 /* structure to store configs related to AFEPLL programming */
76 /* structure to store configs related to pll configs */
92 /* structure to store configs related to UMAC clk programming */
153 /* dcdc modes configs */
/linux/drivers/pinctrl/freescale/
H A Dpinctrl-imx-scmi.c63 unsigned long *configs = NULL; in pinctrl_scmi_imx_dt_node_to_map() local
136 configs = kmemdup_array(cfg, ncfg, sizeof(unsigned long), GFP_KERNEL); in pinctrl_scmi_imx_dt_node_to_map()
139 new_map[i].data.configs.group_or_pin = pin_get_name(pctldev, pin_id); in pinctrl_scmi_imx_dt_node_to_map()
140 new_map[i].data.configs.configs = configs; in pinctrl_scmi_imx_dt_node_to_map()
141 new_map[i].data.configs.num_configs = ncfg; in pinctrl_scmi_imx_dt_node_to_map()
207 unsigned long *configs, in pinctrl_scmi_imx_pinconf_set() argument
218 if (!configs || !num_configs) in pinctrl_scmi_imx_pinconf_set()
229 (enum scmi_pinctrl_conf_type)pinconf_to_config_param(configs[i]); in pinctrl_scmi_imx_pinconf_set()
230 p_config_value[i] = pinconf_to_config_argument(configs[i]); in pinctrl_scmi_imx_pinconf_set()
H A 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()
H A Dpinctrl-imx.h27 * @configs: the config for this pin.
39 * @configs: the config for this pin.
101 unsigned long *configs, unsigned int num_configs);
131 unsigned long *configs, unsigned num_configs);
/linux/drivers/clk/tegra/
H A Dclk-tegra210-emc.c96 if (!provider || !provider->configs || provider->num_configs == 0) { in tegra210_clk_emc_determine_rate()
103 if (provider->configs[i].rate >= req->rate) { in tegra210_clk_emc_determine_rate()
104 req->rate = provider->configs[i].rate; in tegra210_clk_emc_determine_rate()
110 req->rate = provider->configs[i - 1].rate; in tegra210_clk_emc_determine_rate()
139 if (!provider->configs || provider->num_configs == 0) in tegra210_clk_emc_set_rate()
143 if (provider->configs[i].rate >= rate) { in tegra210_clk_emc_set_rate()
144 config = &provider->configs[i]; in tegra210_clk_emc_set_rate()
150 config = &provider->configs[i - 1]; in tegra210_clk_emc_set_rate()
316 struct tegra210_clk_emc_config *config = &provider->configs[i]; in tegra210_clk_emc_attach()
/linux/arch/powerpc/
H A DMakefile301 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/book3s_32.config \
306 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/44x.config \
311 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/8xx.config \
316 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/85xx-32bit.config \
325 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/le.config \
330 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/ppc64le.config \
335 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/85xx-64bit.config \
340 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/32-bit.config \
345 $(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/powerpc/configs/64-bit.config \
363 echo ' *_defconfig - Select default config from arch/powerpc/configs'
/linux/tools/testing/selftests/rcutorture/bin/
H A Dtorture.sh86 echo " --configs-rcutorture \"config-file list w/ repeat factor (3*TINY01)\""
87 echo " --configs-locktorture \"config-file list w/ repeat factor (10*LOCK01)\""
88 echo " --configs-scftorture \"config-file list w/ repeat factor (2*CFLIST)\""
120 --config-rcutorture|--configs-rcutorture)
121 checkarg --configs-rcutorture "(list of config files)" "$#" "$2" '^[^/]\+$' '^--'
125 --config-locktorture|--configs-locktorture)
126 checkarg --configs-locktorture "(list of config files)" "$#" "$2" '^[^/]\+$' '^--'
130 --config-scftorture|--configs-scftorture)
131 checkarg --configs-scftorture "(list of config files)" "$#" "$2" '^[^/]\+$' '^--'
475 tools/testing/selftests/rcutorture/bin/kvm.sh --datestamp "$ds/results-rcutasksflavors/$flavor" --buildonly --configs "TINY0
[all...]
H A Dkvm.sh5 # by the relevant CFLIST file, but can be overridden by the --configs
55 configs=""
69 echo " --configs \"config-file list w/ repeat factor (3*TINY01)\""
118 --configs|--config)
119 checkarg --configs "(list of config files)" "$#" "$2" '^[^/.a-z]\+$' '^--'
120 configs="$configs $2"
286 CONFIGFRAG=${RCUTORTURE}/configs/${TORTURE_SUITE}; export CONFIGFRAG
289 if test -z "$configs"
291 configs=$defaultconfigs
301 for CF in $configs
[all …]
/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rzt2h.c190 unsigned long *configs, in rzt2h_map_add_config() argument
195 cfgs = kmemdup_array(configs, num_configs, sizeof(*cfgs), GFP_KERNEL); in rzt2h_map_add_config()
200 map->data.configs.group_or_pin = group_or_pin; in rzt2h_map_add_config()
201 map->data.configs.configs = cfgs; in rzt2h_map_add_config()
202 map->data.configs.num_configs = num_configs; in rzt2h_map_add_config()
217 unsigned long *configs = NULL; in rzt2h_dt_subnode_to_map() local
254 ret = pinconf_generic_parse_dt_config(np, pctldev, &configs, &num_configs); in rzt2h_dt_subnode_to_map()
285 configs, num_configs); in rzt2h_dt_subnode_to_map()
329 configs, num_configs); in rzt2h_dt_subnode_to_map()
369 kfree(configs); in rzt2h_dt_subnode_to_map()
[all …]

12345678910>>...13