Searched refs:xgpio_instance (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/gpio/ |
D | gpio-xilinx.c | 61 struct xgpio_instance { struct 77 static inline int xgpio_from_bit(struct xgpio_instance *chip, int bit) in xgpio_from_bit() argument 82 static inline int xgpio_to_bit(struct xgpio_instance *chip, int gpio) in xgpio_to_bit() 104 static inline int xgpio_regoffset(struct xgpio_instance *chip, int ch) in xgpio_regoffset() 116 static void xgpio_read_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_read_ch() 123 static void xgpio_write_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_write_ch() 130 static void xgpio_read_ch_all(struct xgpio_instance *chip, int reg, unsigned long *a) in xgpio_read_ch_all() 138 static void xgpio_write_ch_all(struct xgpio_instance *chip, int reg, unsigned long *a) in xgpio_write_ch_all() 159 struct xgpio_instance *chip = gpiochip_get_data(gc); in xgpio_get() 180 struct xgpio_instance *chip = gpiochip_get_data(gc); in xgpio_set() [all …]
|