Lines Matching defs:sgpio
408 sirfsoc_gpio_to_bank(struct sirfsoc_gpio_chip *sgpio, unsigned int offset) in sirfsoc_gpio_to_bank()
421 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(gc); in sirfsoc_gpio_irq_ack() local
438 static void __sirfsoc_gpio_irq_mask(struct sirfsoc_gpio_chip *sgpio, in __sirfsoc_gpio_irq_mask()
460 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(gc); in sirfsoc_gpio_irq_mask() local
469 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(gc); in sirfsoc_gpio_irq_unmask() local
490 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(gc); in sirfsoc_gpio_irq_type() local
551 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(gc); in sirfsoc_gpio_handle_irq() local
597 static inline void sirfsoc_gpio_set_input(struct sirfsoc_gpio_chip *sgpio, in sirfsoc_gpio_set_input()
609 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(chip); in sirfsoc_gpio_request() local
632 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(chip); in sirfsoc_gpio_free() local
648 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(chip); in sirfsoc_gpio_direction_input() local
665 static inline void sirfsoc_gpio_set_output(struct sirfsoc_gpio_chip *sgpio, in sirfsoc_gpio_set_output()
691 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(chip); in sirfsoc_gpio_direction_output() local
710 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(chip); in sirfsoc_gpio_get_value() local
727 struct sirfsoc_gpio_chip *sgpio = to_sirfsoc_gpio(chip); in sirfsoc_gpio_set_value() local
744 static void sirfsoc_gpio_set_pullup(struct sirfsoc_gpio_chip *sgpio, in sirfsoc_gpio_set_pullup()
761 static void sirfsoc_gpio_set_pulldown(struct sirfsoc_gpio_chip *sgpio, in sirfsoc_gpio_set_pulldown()
781 static struct sirfsoc_gpio_chip *sgpio; in sirfsoc_gpio_probe() local