Lines Matching +defs:bit +defs:offset
37 # define xgpio_readreg(offset) readl(offset) argument
38 # define xgpio_writereg(offset, val) writel(val, offset) argument
40 # define xgpio_readreg(offset) __raw_readl(offset) argument
41 # define xgpio_writereg(offset, val) __raw_writel(val, offset) argument
86 static void xgpio_read_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_read_ch()
94 static void xgpio_write_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_write_ch()
105 int bit; in xgpio_read_ch_all() local
114 int bit; in xgpio_write_ch_all() local
134 unsigned long bit = find_nth_bit(chip->map, 64, gpio); in xgpio_get() local
155 unsigned long bit = find_nth_bit(chip->map, 64, gpio); in xgpio_set() local
216 unsigned long bit = find_nth_bit(chip->map, 64, gpio); in xgpio_dir_in() local
245 unsigned long bit = find_nth_bit(chip->map, 64, gpio); in xgpio_dir_out() local
272 static int xgpio_request(struct gpio_chip *chip, unsigned int offset) in xgpio_request()
284 static void xgpio_free(struct gpio_chip *chip, unsigned int offset) in xgpio_free()
377 unsigned long bit = find_nth_bit(chip->map, 64, irq_offset), enable; in xgpio_irq_mask() local
405 unsigned long bit = find_nth_bit(chip->map, 64, irq_offset), enable; in xgpio_irq_unmask() local
445 unsigned long bit = find_nth_bit(chip->map, 64, irq_offset); in xgpio_set_irq_type() local