Searched refs:xgpio_instance (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/gpio/ |
D | gpio-xilinx.c | 61 struct xgpio_instance { struct 78 static inline int xgpio_from_bit(struct xgpio_instance *chip, int bit) in xgpio_from_bit() argument 83 static inline int xgpio_to_bit(struct xgpio_instance *chip, int gpio) in xgpio_to_bit() 105 static inline int xgpio_regoffset(struct xgpio_instance *chip, int ch) in xgpio_regoffset() 117 static void xgpio_read_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_read_ch() 124 static void xgpio_write_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_write_ch() 131 static void xgpio_read_ch_all(struct xgpio_instance *chip, int reg, unsigned long *a) in xgpio_read_ch_all() 139 static void xgpio_write_ch_all(struct xgpio_instance *chip, int reg, unsigned long *a) in xgpio_write_ch_all() 160 struct xgpio_instance *chip = gpiochip_get_data(gc); in xgpio_get() 181 struct xgpio_instance *chip = gpiochip_get_data(gc); in xgpio_set() [all …]
|