Lines Matching refs:aux_dev
122 struct auxiliary_device *aux_dev = to_auxiliary_dev(dev); in gsc_release_dev() local
123 struct mei_aux_device *adev = auxiliary_dev_to_mei_aux_dev(aux_dev); in gsc_release_dev()
134 struct auxiliary_device *aux_dev = &intf->adev->aux_dev; in gsc_destroy_one() local
138 aux_dev->dev.bus); in gsc_destroy_one()
140 auxiliary_device_delete(aux_dev); in gsc_destroy_one()
141 auxiliary_device_uninit(aux_dev); in gsc_destroy_one()
157 struct auxiliary_device *aux_dev; in gsc_init_one() local
232 aux_dev = &adev->aux_dev; in gsc_init_one()
233 aux_dev->name = def->name; in gsc_init_one()
234 aux_dev->id = (pci_domain_nr(pdev->bus) << 16) | in gsc_init_one()
236 aux_dev->dev.parent = &pdev->dev; in gsc_init_one()
237 aux_dev->dev.release = gsc_release_dev; in gsc_init_one()
239 ret = auxiliary_device_init(aux_dev); in gsc_init_one()
250 aux_dev->dev.bus); in gsc_init_one()
252 ret = auxiliary_device_add(aux_dev); in gsc_init_one()
257 aux_dev->dev.bus); in gsc_init_one()
261 auxiliary_device_uninit(aux_dev); in gsc_init_one()