Lines Matching defs:config
70 unsigned long config = 0;
77 /* Check for pin config node which has no 'reg' property */
83 config = val | MA_PRESENT;
86 config |= val << VOL_SHIFT | VOL_PRESENT;
89 config |= val << PULL_SHIFT | PULL_PRESENT;
91 /* Check for group node which has both mux and config settings */
92 if (!purecfg && config)
114 if (config) {
115 pconfig = kmemdup(&config, sizeof(config), GFP_KERNEL);
234 unsigned pin, unsigned long *config)
247 unsigned group, unsigned long *config)
251 *config = d->soc->groups[group].config;
267 unsigned long config;
270 config = configs[n];
272 ma = PIN_CONFIG_TO_MA(config);
273 vol = PIN_CONFIG_TO_VOL(config);
274 pull = PIN_CONFIG_TO_PULL(config);
285 if (config & MA_PRESENT) {
291 if (config & VOL_PRESENT) {
300 if (config & PULL_PRESENT) {
311 /* cache the config value for mxs_pinconf_group_get() */
312 g->config = config;
314 } /* for each config */
328 unsigned long config;
330 if (!mxs_pinconf_group_get(pctldev, group, &config))
331 seq_printf(s, "0x%lx", config);