Lines Matching refs:aux_dev
281 container_of(dev, struct i40e_auxiliary_device, aux_dev.dev); in i40e_auxiliary_dev_release()
283 ida_free(&i40e_client_ida, i40e_aux_dev->aux_dev.id); in i40e_auxiliary_dev_release()
291 struct auxiliary_device *aux_dev; in i40e_register_auxiliary_dev() local
300 aux_dev = &i40e_aux_dev->aux_dev; in i40e_register_auxiliary_dev()
301 aux_dev->name = name; in i40e_register_auxiliary_dev()
302 aux_dev->dev.parent = &pdev->dev; in i40e_register_auxiliary_dev()
303 aux_dev->dev.release = i40e_auxiliary_dev_release; in i40e_register_auxiliary_dev()
304 ldev->aux_dev = aux_dev; in i40e_register_auxiliary_dev()
311 aux_dev->id = ret; in i40e_register_auxiliary_dev()
313 ret = auxiliary_device_init(aux_dev); in i40e_register_auxiliary_dev()
315 ida_free(&i40e_client_ida, aux_dev->id); in i40e_register_auxiliary_dev()
320 ret = auxiliary_device_add(aux_dev); in i40e_register_auxiliary_dev()
322 auxiliary_device_uninit(aux_dev); in i40e_register_auxiliary_dev()
499 struct auxiliary_device *aux_dev = pf->cinst->lan_info.aux_dev; in i40e_lan_del_device() local
503 auxiliary_device_delete(aux_dev); in i40e_lan_del_device()
504 auxiliary_device_uninit(aux_dev); in i40e_lan_del_device()