Lines Matching refs:cs5535_gpio_chip
46 static struct cs5535_gpio_chip { struct
52 } cs5535_gpio_chip; argument
60 static void errata_outl(struct cs5535_gpio_chip *chip, u32 val, in errata_outl()
83 static void __cs5535_gpio_set(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_set()
96 struct cs5535_gpio_chip *chip = &cs5535_gpio_chip; in cs5535_gpio_set()
105 static void __cs5535_gpio_clear(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_clear()
118 struct cs5535_gpio_chip *chip = &cs5535_gpio_chip; in cs5535_gpio_clear()
129 struct cs5535_gpio_chip *chip = &cs5535_gpio_chip; in cs5535_gpio_isset()
167 struct cs5535_gpio_chip *chip = &cs5535_gpio_chip; in cs5535_gpio_setup_event()
205 struct cs5535_gpio_chip *chip = gpiochip_get_data(c); in chip_gpio_request()
245 struct cs5535_gpio_chip *chip = gpiochip_get_data(c); in chip_direction_input()
258 struct cs5535_gpio_chip *chip = gpiochip_get_data(c); in chip_direction_output()
286 static struct cs5535_gpio_chip cs5535_gpio_chip = { variable
330 cs5535_gpio_chip.base = res->start; in cs5535_gpio_probe()
331 cs5535_gpio_chip.pdev = pdev; in cs5535_gpio_probe()
332 spin_lock_init(&cs5535_gpio_chip.lock); in cs5535_gpio_probe()
348 return devm_gpiochip_add_data(&pdev->dev, &cs5535_gpio_chip.chip, in cs5535_gpio_probe()
349 &cs5535_gpio_chip); in cs5535_gpio_probe()