Lines Matching refs:aux_dev
284 container_of(dev, struct i40e_auxiliary_device, aux_dev.dev); in i40e_auxiliary_dev_release()
286 ida_free(&i40e_client_ida, i40e_aux_dev->aux_dev.id); in i40e_auxiliary_dev_release()
294 struct auxiliary_device *aux_dev; in i40e_register_auxiliary_dev() local
303 aux_dev = &i40e_aux_dev->aux_dev; in i40e_register_auxiliary_dev()
304 aux_dev->name = name; in i40e_register_auxiliary_dev()
305 aux_dev->dev.parent = &pdev->dev; in i40e_register_auxiliary_dev()
306 aux_dev->dev.release = i40e_auxiliary_dev_release; in i40e_register_auxiliary_dev()
307 ldev->aux_dev = aux_dev; in i40e_register_auxiliary_dev()
314 aux_dev->id = ret; in i40e_register_auxiliary_dev()
316 ret = auxiliary_device_init(aux_dev); in i40e_register_auxiliary_dev()
318 ida_free(&i40e_client_ida, aux_dev->id); in i40e_register_auxiliary_dev()
323 ret = auxiliary_device_add(aux_dev); in i40e_register_auxiliary_dev()
325 auxiliary_device_uninit(aux_dev); in i40e_register_auxiliary_dev()
502 struct auxiliary_device *aux_dev = pf->cinst->lan_info.aux_dev; in i40e_lan_del_device() local
506 auxiliary_device_delete(aux_dev); in i40e_lan_del_device()
507 auxiliary_device_uninit(aux_dev); in i40e_lan_del_device()