Lines Matching +defs:val +defs:offset
133 static int peb2466_write_byte(struct peb2466 *peb2466, u8 cmd, u8 val) in peb2466_write_byte()
149 static int peb2466_read_byte(struct peb2466 *peb2466, u8 cmd, u8 *val) in peb2466_read_byte()
198 static int peb2466_reg_write(void *context, unsigned int reg, unsigned int val) in peb2466_reg_write()
220 static int peb2466_reg_read(void *context, unsigned int reg, unsigned int *val) in peb2466_reg_read()
1616 static int peb2466_chip_gpio_offset_to_data_regmask(unsigned int offset, in peb2466_chip_gpio_offset_to_data_regmask()
1645 static int peb2466_chip_gpio_offset_to_dir_regmask(unsigned int offset, in peb2466_chip_gpio_offset_to_dir_regmask()
1692 unsigned int mask, unsigned int val) in peb2466_chip_gpio_update_bits()
1729 static void peb2466_chip_gpio_set(struct gpio_chip *c, unsigned int offset, int val) in peb2466_chip_gpio_set()
1760 static int peb2466_chip_gpio_get(struct gpio_chip *c, unsigned int offset) in peb2466_chip_gpio_get()
1767 unsigned int val; in peb2466_chip_gpio_get() local
1803 static int peb2466_chip_get_direction(struct gpio_chip *c, unsigned int offset) in peb2466_chip_get_direction()
1808 unsigned int val; in peb2466_chip_get_direction() local
1837 static int peb2466_chip_direction_input(struct gpio_chip *c, unsigned int offset) in peb2466_chip_direction_input()
1870 static int peb2466_chip_direction_output(struct gpio_chip *c, unsigned int offset, int val) in peb2466_chip_direction_output()