Lines Matching refs:auxdev
112 dev_err(&ljca_gpio->ljca->auxdev.dev, in ljca_gpio_read()
407 static int ljca_gpio_probe(struct auxiliary_device *auxdev, in ljca_gpio_probe() argument
410 struct ljca_client *ljca = auxiliary_dev_to_ljca_client(auxdev); in ljca_gpio_probe()
415 ljca_gpio = devm_kzalloc(&auxdev->dev, sizeof(*ljca_gpio), GFP_KERNEL); in ljca_gpio_probe()
420 ljca_gpio->gpio_info = dev_get_platdata(&auxdev->dev); in ljca_gpio_probe()
421 ljca_gpio->connect_mode = devm_kcalloc(&auxdev->dev, in ljca_gpio_probe()
428 ret = devm_mutex_init(&auxdev->dev, &ljca_gpio->irq_lock); in ljca_gpio_probe()
432 ret = devm_mutex_init(&auxdev->dev, &ljca_gpio->trans_lock); in ljca_gpio_probe()
444 ljca_gpio->gc.parent = &auxdev->dev; in ljca_gpio_probe()
448 ljca_gpio->gc.label = ACPI_COMPANION(&auxdev->dev) ? in ljca_gpio_probe()
449 acpi_dev_name(ACPI_COMPANION(&auxdev->dev)) : in ljca_gpio_probe()
450 dev_name(&auxdev->dev); in ljca_gpio_probe()
453 auxiliary_set_drvdata(auxdev, ljca_gpio); in ljca_gpio_probe()
473 static void ljca_gpio_remove(struct auxiliary_device *auxdev) in ljca_gpio_remove() argument
475 struct ljca_gpio_dev *ljca_gpio = auxiliary_get_drvdata(auxdev); in ljca_gpio_remove()