Lines Matching refs:gpiob
66 struct gpio_chip gpiob; /* gpio b related things */
414 vb_gpio->gpiob.label = "viperboard gpio b";
415 vb_gpio->gpiob.parent = &pdev->dev;
416 vb_gpio->gpiob.owner = THIS_MODULE;
417 vb_gpio->gpiob.base = -1;
418 vb_gpio->gpiob.ngpio = 16;
419 vb_gpio->gpiob.can_sleep = true;
420 vb_gpio->gpiob.set = vprbrd_gpiob_set;
421 vb_gpio->gpiob.get = vprbrd_gpiob_get;
422 vb_gpio->gpiob.direction_input = vprbrd_gpiob_direction_input;
423 vb_gpio->gpiob.direction_output = vprbrd_gpiob_direction_output;
424 ret = devm_gpiochip_add_data(&pdev->dev, &vb_gpio->gpiob, vb_gpio);
426 dev_err(vb_gpio->gpiob.parent, "could not add gpio b");