Lines Matching defs:config
67 unsigned long config = 0;
74 /* Check for pin config node which has no 'reg' property */
80 config = val | MA_PRESENT;
83 config |= val << VOL_SHIFT | VOL_PRESENT;
86 config |= val << PULL_SHIFT | PULL_PRESENT;
88 /* Check for group node which has both mux and config settings */
89 if (!purecfg && config)
111 if (config) {
112 pconfig = kmemdup(&config, sizeof(config), GFP_KERNEL);
231 unsigned pin, unsigned long *config)
244 unsigned group, unsigned long *config)
248 *config = d->soc->groups[group].config;
264 unsigned long config;
267 config = configs[n];
269 ma = CONFIG_TO_MA(config);
270 vol = CONFIG_TO_VOL(config);
271 pull = CONFIG_TO_PULL(config);
282 if (config & MA_PRESENT) {
288 if (config & VOL_PRESENT) {
297 if (config & PULL_PRESENT) {
308 /* cache the config value for mxs_pinconf_group_get() */
309 g->config = config;
311 } /* for each config */
325 unsigned long config;
327 if (!mxs_pinconf_group_get(pctldev, group, &config))
328 seq_printf(s, "0x%lx", config);