Lines Matching refs:configs
248 unsigned long *configs; in wmt_pctl_dt_node_to_map_pull() local
262 configs = kzalloc(sizeof(*configs), GFP_KERNEL); in wmt_pctl_dt_node_to_map_pull()
263 if (!configs) in wmt_pctl_dt_node_to_map_pull()
268 configs[0] = PIN_CONFIG_BIAS_DISABLE; in wmt_pctl_dt_node_to_map_pull()
271 configs[0] = PIN_CONFIG_BIAS_PULL_DOWN; in wmt_pctl_dt_node_to_map_pull()
274 configs[0] = PIN_CONFIG_BIAS_PULL_UP; in wmt_pctl_dt_node_to_map_pull()
277 configs[0] = PIN_CONFIG_BIAS_DISABLE; in wmt_pctl_dt_node_to_map_pull()
282 map->data.configs.group_or_pin = data->groups[group]; in wmt_pctl_dt_node_to_map_pull()
283 map->data.configs.configs = configs; in wmt_pctl_dt_node_to_map_pull()
284 map->data.configs.num_configs = 1; in wmt_pctl_dt_node_to_map_pull()
298 kfree(maps[i].data.configs.configs); in wmt_pctl_dt_free_map()
427 unsigned long *configs, unsigned num_configs) in wmt_pinconf_set() argument
445 param = pinconf_to_config_param(configs[i]); in wmt_pinconf_set()
446 arg = pinconf_to_config_argument(configs[i]); in wmt_pinconf_set()