Lines Matching refs:aux_dev
38 struct auxiliary_device *aux_dev; member
338 gchip->label = dev_name(&priv->aux_dev->dev); in pci1xxxx_gpio_setup()
339 gchip->parent = &priv->aux_dev->dev; in pci1xxxx_gpio_setup()
352 retval = devm_request_threaded_irq(&priv->aux_dev->dev, irq, in pci1xxxx_gpio_setup()
370 static int pci1xxxx_gpio_probe(struct auxiliary_device *aux_dev, in pci1xxxx_gpio_probe() argument
380 container_of(aux_dev, struct auxiliary_device_wrapper, aux_dev); in pci1xxxx_gpio_probe()
387 priv = devm_kzalloc(&aux_dev->dev, sizeof(struct pci1xxxx_gpio), GFP_KERNEL); in pci1xxxx_gpio_probe()
392 priv->aux_dev = aux_dev; in pci1xxxx_gpio_probe()
394 if (!devm_request_mem_region(&aux_dev->dev, pdata->region_start, 0x800, aux_dev->name)) in pci1xxxx_gpio_probe()
397 priv->reg_base = devm_ioremap(&aux_dev->dev, pdata->region_start, 0x800); in pci1xxxx_gpio_probe()
408 dev_set_drvdata(&aux_dev->dev, priv); in pci1xxxx_gpio_probe()
410 return devm_gpiochip_add_data(&aux_dev->dev, &priv->gpio, priv); in pci1xxxx_gpio_probe()