Lines Matching defs:sgpio
430 sirfsoc_gpio_to_bank(struct sirfsoc_gpio_chip *sgpio, unsigned int offset) in sirfsoc_gpio_to_bank()
443 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(gc); in sirfsoc_gpio_irq_ack() local
460 static void __sirfsoc_gpio_irq_mask(struct sirfsoc_gpio_chip *sgpio, in __sirfsoc_gpio_irq_mask()
482 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(gc); in sirfsoc_gpio_irq_mask() local
491 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(gc); in sirfsoc_gpio_irq_unmask() local
512 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(gc); in sirfsoc_gpio_irq_type() local
573 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(gc); in sirfsoc_gpio_handle_irq() local
619 static inline void sirfsoc_gpio_set_input(struct sirfsoc_gpio_chip *sgpio, in sirfsoc_gpio_set_input()
631 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(chip); in sirfsoc_gpio_request() local
654 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(chip); in sirfsoc_gpio_free() local
670 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(chip); in sirfsoc_gpio_direction_input() local
687 static inline void sirfsoc_gpio_set_output(struct sirfsoc_gpio_chip *sgpio, in sirfsoc_gpio_set_output()
713 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(chip); in sirfsoc_gpio_direction_output() local
732 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(chip); in sirfsoc_gpio_get_value() local
749 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(chip); in sirfsoc_gpio_set_value() local
766 static void sirfsoc_gpio_set_pullup(struct sirfsoc_gpio_chip *sgpio, in sirfsoc_gpio_set_pullup()
783 static void sirfsoc_gpio_set_pulldown(struct sirfsoc_gpio_chip *sgpio, in sirfsoc_gpio_set_pulldown()
803 static struct sirfsoc_gpio_chip *sgpio; in sirfsoc_gpio_probe() local