Lines Matching defs:adnp
21 struct adnp { struct
37 static int adnp_read(struct adnp *adnp, unsigned offset, uint8_t *value) in adnp_read()
52 static int adnp_write(struct adnp *adnp, unsigned offset, uint8_t value) in adnp_write()
68 struct adnp *adnp = gpiochip_get_data(chip); in adnp_gpio_get() local
81 static void __adnp_gpio_set(struct adnp *adnp, unsigned offset, int value) in __adnp_gpio_set()
102 struct adnp *adnp = gpiochip_get_data(chip); in adnp_gpio_set() local
111 struct adnp *adnp = gpiochip_get_data(chip); in adnp_gpio_direction_input() local
148 struct adnp *adnp = gpiochip_get_data(chip); in adnp_gpio_direction_output() local
185 struct adnp *adnp = gpiochip_get_data(chip); in adnp_gpio_dbg_show() local
244 struct adnp *adnp = data; in adnp_irq() local
305 struct adnp *adnp = gpiochip_get_data(gc); in adnp_irq_mask() local
316 struct adnp *adnp = gpiochip_get_data(gc); in adnp_irq_unmask() local
327 struct adnp *adnp = gpiochip_get_data(gc); in adnp_irq_set_type() local
357 struct adnp *adnp = gpiochip_get_data(gc); in adnp_irq_bus_lock() local
365 struct adnp *adnp = gpiochip_get_data(gc); in adnp_irq_bus_unlock() local
388 static int adnp_irq_setup(struct adnp *adnp) in adnp_irq_setup()
445 static int adnp_gpio_setup(struct adnp *adnp, unsigned int num_gpios, in adnp_gpio_setup()
497 struct adnp *adnp; in adnp_i2c_probe() local