Lines Matching refs:gpio_chip

18 	struct gpio_chip	gpio_chip;  member
44 virq = irq_find_mapping(gpio->gpio_chip.irq.domain, offset); in max77620_gpio_irqhandler()
53 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in max77620_gpio_irq_mask()
61 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in max77620_gpio_irq_unmask()
69 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in max77620_gpio_set_irq_type()
98 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in max77620_gpio_bus_lock()
106 struct gpio_chip *chip = irq_data_get_irq_chip_data(data); in max77620_gpio_bus_sync_unlock()
132 static int max77620_gpio_dir_input(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_dir_input()
146 static int max77620_gpio_get(struct gpio_chip *gc, unsigned int offset) in max77620_gpio_get()
164 static int max77620_gpio_dir_output(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_dir_output()
223 static void max77620_gpio_set(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_set()
239 static int max77620_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in max77620_gpio_set_config()
263 static int max77620_gpio_irq_init_hw(struct gpio_chip *gc) in max77620_gpio_irq_init_hw()
309 mgpio->gpio_chip.label = pdev->name; in max77620_gpio_probe()
310 mgpio->gpio_chip.parent = pdev->dev.parent; in max77620_gpio_probe()
311 mgpio->gpio_chip.direction_input = max77620_gpio_dir_input; in max77620_gpio_probe()
312 mgpio->gpio_chip.get = max77620_gpio_get; in max77620_gpio_probe()
313 mgpio->gpio_chip.direction_output = max77620_gpio_dir_output; in max77620_gpio_probe()
314 mgpio->gpio_chip.set = max77620_gpio_set; in max77620_gpio_probe()
315 mgpio->gpio_chip.set_config = max77620_gpio_set_config; in max77620_gpio_probe()
316 mgpio->gpio_chip.ngpio = MAX77620_GPIO_NR; in max77620_gpio_probe()
317 mgpio->gpio_chip.can_sleep = 1; in max77620_gpio_probe()
318 mgpio->gpio_chip.base = -1; in max77620_gpio_probe()
320 girq = &mgpio->gpio_chip.irq; in max77620_gpio_probe()
333 ret = devm_gpiochip_add_data(&pdev->dev, &mgpio->gpio_chip, mgpio); in max77620_gpio_probe()