Lines Matching refs:aux_dev
134 struct auxiliary_device *aux_dev = to_auxiliary_dev(dev); in gsc_release_dev() local
135 struct mei_aux_device *adev = auxiliary_dev_to_mei_aux_dev(aux_dev); in gsc_release_dev()
146 struct auxiliary_device *aux_dev = &intf->adev->aux_dev; in gsc_destroy_one() local
150 aux_dev->dev.bus); in gsc_destroy_one()
152 auxiliary_device_delete(aux_dev); in gsc_destroy_one()
153 auxiliary_device_uninit(aux_dev); in gsc_destroy_one()
169 struct auxiliary_device *aux_dev; in gsc_init_one() local
246 aux_dev = &adev->aux_dev; in gsc_init_one()
247 aux_dev->name = def->name; in gsc_init_one()
248 aux_dev->id = (pci_domain_nr(pdev->bus) << 16) | in gsc_init_one()
250 aux_dev->dev.parent = &pdev->dev; in gsc_init_one()
251 aux_dev->dev.release = gsc_release_dev; in gsc_init_one()
253 ret = auxiliary_device_init(aux_dev); in gsc_init_one()
264 aux_dev->dev.bus); in gsc_init_one()
266 ret = auxiliary_device_add(aux_dev); in gsc_init_one()
271 aux_dev->dev.bus); in gsc_init_one()
275 auxiliary_device_uninit(aux_dev); in gsc_init_one()