Lines Matching refs:gpios
32 struct gpio gpios[WM1250_EV1_NUM_GPIOS]; member
42 ena = wm1250->gpios[WM1250_EV1_GPIO_CLK_ENA].gpio; in wm1250_ev1_set_bias_level()
88 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
90 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
94 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
96 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
100 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
102 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
106 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].gpio, in wm1250_ev1_hw_params()
108 gpio_set_value(wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].gpio, in wm1250_ev1_hw_params()
169 for (i = 0; i < ARRAY_SIZE(wm1250->gpios); i++) { in wm1250_ev1_pdata()
170 wm1250->gpios[i].gpio = pdata->gpios[i]; in wm1250_ev1_pdata()
171 wm1250->gpios[i].label = wm1250_gpio_names[i]; in wm1250_ev1_pdata()
172 wm1250->gpios[i].flags = GPIOF_OUT_INIT_LOW; in wm1250_ev1_pdata()
174 wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL0].flags = GPIOF_OUT_INIT_HIGH; in wm1250_ev1_pdata()
175 wm1250->gpios[WM1250_EV1_GPIO_CLK_SEL1].flags = GPIOF_OUT_INIT_HIGH; in wm1250_ev1_pdata()
177 ret = gpio_request_array(wm1250->gpios, ARRAY_SIZE(wm1250->gpios)); in wm1250_ev1_pdata()
196 gpio_free_array(wm1250->gpios, ARRAY_SIZE(wm1250->gpios)); in wm1250_ev1_free()