Lines Matching full:gpiochip
613 struct gpio_chip *gpiochip; in msc313_gpio_probe() local
647 gpiochip = devm_kzalloc(dev, sizeof(*gpiochip), GFP_KERNEL); in msc313_gpio_probe()
648 if (!gpiochip) in msc313_gpio_probe()
651 gpiochip->label = DRIVER_NAME; in msc313_gpio_probe()
652 gpiochip->parent = dev; in msc313_gpio_probe()
653 gpiochip->request = gpiochip_generic_request; in msc313_gpio_probe()
654 gpiochip->free = gpiochip_generic_free; in msc313_gpio_probe()
655 gpiochip->direction_input = msc313_gpio_direction_input; in msc313_gpio_probe()
656 gpiochip->direction_output = msc313_gpio_direction_output; in msc313_gpio_probe()
657 gpiochip->get = msc313_gpio_get; in msc313_gpio_probe()
658 gpiochip->set = msc313_gpio_set; in msc313_gpio_probe()
659 gpiochip->base = -1; in msc313_gpio_probe()
660 gpiochip->ngpio = gpio->gpio_data->num; in msc313_gpio_probe()
661 gpiochip->names = gpio->gpio_data->names; in msc313_gpio_probe()
663 gpioirqchip = &gpiochip->irq; in msc313_gpio_probe()
672 return devm_gpiochip_add_data(dev, gpiochip, gpio); in msc313_gpio_probe()