Lines Matching refs:configs
249 unsigned long *configs; in wmt_pctl_dt_node_to_map_pull() local
263 configs = kzalloc(sizeof(*configs), GFP_KERNEL); in wmt_pctl_dt_node_to_map_pull()
264 if (!configs) in wmt_pctl_dt_node_to_map_pull()
269 configs[0] = PIN_CONFIG_BIAS_DISABLE; in wmt_pctl_dt_node_to_map_pull()
272 configs[0] = PIN_CONFIG_BIAS_PULL_DOWN; in wmt_pctl_dt_node_to_map_pull()
275 configs[0] = PIN_CONFIG_BIAS_PULL_UP; in wmt_pctl_dt_node_to_map_pull()
278 configs[0] = PIN_CONFIG_BIAS_DISABLE; in wmt_pctl_dt_node_to_map_pull()
283 map->data.configs.group_or_pin = data->groups[group]; in wmt_pctl_dt_node_to_map_pull()
284 map->data.configs.configs = configs; in wmt_pctl_dt_node_to_map_pull()
285 map->data.configs.num_configs = 1; in wmt_pctl_dt_node_to_map_pull()
299 kfree(maps[i].data.configs.configs); in wmt_pctl_dt_free_map()
428 unsigned long *configs, unsigned num_configs) in wmt_pinconf_set() argument
446 param = pinconf_to_config_param(configs[i]); in wmt_pinconf_set()
447 arg = pinconf_to_config_argument(configs[i]); in wmt_pinconf_set()