Lines Matching refs:aux_dev
26 struct auxiliary_device_wrapper, aux_dev.dev); in gp_auxiliary_device_release()
28 ida_free(&gp_client_ida, aux_device_wrapper->aux_dev.id); in gp_auxiliary_device_release()
54 aux_bus->aux_device_wrapper[0]->aux_dev.name = aux_dev_otp_e2p_name; in gp_aux_bus_probe()
55 aux_bus->aux_device_wrapper[0]->aux_dev.dev.parent = &pdev->dev; in gp_aux_bus_probe()
56 aux_bus->aux_device_wrapper[0]->aux_dev.dev.release = gp_auxiliary_device_release; in gp_aux_bus_probe()
57 aux_bus->aux_device_wrapper[0]->aux_dev.id = retval; in gp_aux_bus_probe()
62 retval = auxiliary_device_init(&aux_bus->aux_device_wrapper[0]->aux_dev); in gp_aux_bus_probe()
66 retval = auxiliary_device_add(&aux_bus->aux_device_wrapper[0]->aux_dev); in gp_aux_bus_probe()
81 aux_bus->aux_device_wrapper[1]->aux_dev.name = aux_dev_gpio_name; in gp_aux_bus_probe()
82 aux_bus->aux_device_wrapper[1]->aux_dev.dev.parent = &pdev->dev; in gp_aux_bus_probe()
83 aux_bus->aux_device_wrapper[1]->aux_dev.dev.release = gp_auxiliary_device_release; in gp_aux_bus_probe()
84 aux_bus->aux_device_wrapper[1]->aux_dev.id = retval; in gp_aux_bus_probe()
101 retval = auxiliary_device_init(&aux_bus->aux_device_wrapper[1]->aux_dev); in gp_aux_bus_probe()
105 retval = auxiliary_device_add(&aux_bus->aux_device_wrapper[1]->aux_dev); in gp_aux_bus_probe()
115 auxiliary_device_uninit(&aux_bus->aux_device_wrapper[1]->aux_dev); in gp_aux_bus_probe()
119 ida_free(&gp_client_ida, aux_bus->aux_device_wrapper[1]->aux_dev.id); in gp_aux_bus_probe()
125 auxiliary_device_uninit(&aux_bus->aux_device_wrapper[0]->aux_dev); in gp_aux_bus_probe()
129 ida_free(&gp_client_ida, aux_bus->aux_device_wrapper[0]->aux_dev.id); in gp_aux_bus_probe()
142 auxiliary_device_delete(&aux_bus->aux_device_wrapper[0]->aux_dev); in gp_aux_bus_remove()
143 auxiliary_device_uninit(&aux_bus->aux_device_wrapper[0]->aux_dev); in gp_aux_bus_remove()
144 auxiliary_device_delete(&aux_bus->aux_device_wrapper[1]->aux_dev); in gp_aux_bus_remove()
145 auxiliary_device_uninit(&aux_bus->aux_device_wrapper[1]->aux_dev); in gp_aux_bus_remove()