• Home
  • Raw
  • Download

Lines Matching refs:gpio_desc

38 struct gpio_desc {  struct
48 static struct gpio_desc gpio_desc[MFP_PIN_GPIO127 + 1]; argument
73 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio()
98 if (is_out ^ gpio_desc[gpio].dir_inverted) in __mfp_config_gpio()
106 if ((c & MFP_LPM_CAN_WAKEUP) && !gpio_desc[gpio].can_wakeup) { in __mfp_config_gpio()
123 if ((mfp > MFP_PIN_GPIO127) || !gpio_desc[gpio].valid) { in __mfp_validate()
145 gpio_desc[gpio].config = *c; in pxa2xx_mfp_config()
163 c = gpio_desc[gpio].config; in pxa2xx_mfp_set_lpm()
172 struct gpio_desc *d; in gpio_set_wake()
178 d = &gpio_desc[gpio]; in gpio_set_wake()
234 gpio_desc[i].valid = 1; in pxa25x_mfp_init()
237 gpio_desc[i].can_wakeup = 1; in pxa25x_mfp_init()
238 gpio_desc[i].mask = GPIO_bit(i); in pxa25x_mfp_init()
245 gpio_desc[i].dir_inverted = 1; in pxa25x_mfp_init()
260 struct gpio_desc *d; in keypad_set_wake()
265 d = &gpio_desc[gpio]; in keypad_set_wake()
272 mask |= gpio_desc[gpio].mask; in keypad_set_wake()
293 gpio_desc[(gpio)].can_wakeup = 1; \
294 gpio_desc[(gpio)].mask = PWER_ ## mux ## _GPIO ##gpio; \
295 gpio_desc[(gpio)].mux_mask = PWER_ ## mux ## _MASK; \
310 gpio_desc[i].valid = 1; in pxa27x_mfp_init()
316 gpio_desc[gpio].can_wakeup = 1; in pxa27x_mfp_init()
317 gpio_desc[gpio].keypad_gpio = 1; in pxa27x_mfp_init()
318 gpio_desc[gpio].mask = 1 << i; in pxa27x_mfp_init()
327 gpio_desc[i].can_wakeup = 1; in pxa27x_mfp_init()
328 gpio_desc[i].mask = GPIO_bit(i); in pxa27x_mfp_init()
331 gpio_desc[35].can_wakeup = 1; in pxa27x_mfp_init()
332 gpio_desc[35].mask = PWER_WE35; in pxa27x_mfp_init()
357 if ((gpio_desc[i].config & MFP_LPM_KEEP_OUTPUT) && in pxa2xx_mfp_suspend()
380 ((gpio_desc[i].config & MFP_LPM_KEEP_OUTPUT) && in pxa2xx_mfp_suspend()