Lines Matching refs:conf
49 struct pin_info *conf, int max_pins) in broadwell_pinctrl_read_configs() argument
67 memset(conf, '\0', sizeof(*conf)); in broadwell_pinctrl_read_configs()
68 conf->node = node; in broadwell_pinctrl_read_configs()
69 conf->phandle = phandle; in broadwell_pinctrl_read_configs()
70 conf->mode_gpio = fdtdec_get_bool(blob, node, "mode-gpio"); in broadwell_pinctrl_read_configs()
72 conf->dir_input = true; in broadwell_pinctrl_read_configs()
73 conf->invert = fdtdec_get_bool(blob, node, "invert"); in broadwell_pinctrl_read_configs()
75 conf->trigger_level = true; in broadwell_pinctrl_read_configs()
77 conf->output_high = true; in broadwell_pinctrl_read_configs()
78 conf->sense_disable = fdtdec_get_bool(blob, node, in broadwell_pinctrl_read_configs()
81 conf->owner_gpio = true; in broadwell_pinctrl_read_configs()
83 conf->route_smi = true; in broadwell_pinctrl_read_configs()
84 conf->irq_enable = fdtdec_get_bool(blob, node, "irq-enable"); in broadwell_pinctrl_read_configs()
85 conf->reset_rsmrst = fdtdec_get_bool(blob, node, in broadwell_pinctrl_read_configs()
89 conf->pirq_apic_route = true; in broadwell_pinctrl_read_configs()
92 conf++; in broadwell_pinctrl_read_configs()
99 static int broadwell_pinctrl_lookup_phandle(struct pin_info *conf, in broadwell_pinctrl_lookup_phandle() argument
105 if (conf[i].phandle == phandle) in broadwell_pinctrl_lookup_phandle()
113 struct pin_info *conf, int conf_count, int gpio_conf[], in broadwell_pinctrl_read_pins() argument
142 val = broadwell_pinctrl_lookup_phandle(conf, conf_count, in broadwell_pinctrl_read_pins()
213 struct pin_info conf[12]; in broadwell_pinctrl_probe() local
243 conf_count = broadwell_pinctrl_read_configs(dev, conf, in broadwell_pinctrl_probe()
244 ARRAY_SIZE(conf)); in broadwell_pinctrl_probe()
254 ret = broadwell_pinctrl_read_pins(dev, conf, conf_count, gpio_conf, in broadwell_pinctrl_probe()
262 broadwell_pinctrl_commit(regs, conf, gpio_conf, ARRAY_SIZE(conf)); in broadwell_pinctrl_probe()