Home
last modified time | relevance | path

Searched refs:xgpio_instance (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-xilinx.c45 * struct xgpio_instance - Stores information about GPIO device
61 struct xgpio_instance { struct
77 static inline int xgpio_from_bit(struct xgpio_instance *chip, int bit) in xgpio_from_bit()
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 *chi in xgpio_get()
[all...]
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-xilinx.c34 * struct xgpio_instance - Stores information about GPIO device
42 struct xgpio_instance { struct
51 static inline int xgpio_index(struct xgpio_instance *chip, int gpio) in xgpio_index()
59 static inline int xgpio_regoffset(struct xgpio_instance *chip, int gpio) in xgpio_regoffset()
67 static inline int xgpio_offset(struct xgpio_instance *chip, int gpio) in xgpio_offset()
88 struct xgpio_instance *chip = gpiochip_get_data(gc); in xgpio_get()
109 struct xgpio_instance *chip = gpiochip_get_data(gc); in xgpio_set()
140 struct xgpio_instance *chip = gpiochip_get_data(gc); in xgpio_set_multiple()
186 struct xgpio_instance *chip = gpiochip_get_data(gc); in xgpio_dir_in()
217 struct xgpio_instance *chi in xgpio_dir_out()
[all...]

Completed in 2 milliseconds