/drivers/gpu/drm/display/ |
D | drm_dp_aux_dev.c | 62 struct drm_dp_aux_dev *aux_dev = NULL; in drm_dp_aux_dev_get_by_minor() local 65 aux_dev = idr_find(&aux_idr, index); in drm_dp_aux_dev_get_by_minor() 66 if (aux_dev && !kref_get_unless_zero(&aux_dev->refcount)) in drm_dp_aux_dev_get_by_minor() 67 aux_dev = NULL; in drm_dp_aux_dev_get_by_minor() 70 return aux_dev; in drm_dp_aux_dev_get_by_minor() 75 struct drm_dp_aux_dev *aux_dev; in alloc_drm_dp_aux_dev() local 78 aux_dev = kzalloc(sizeof(*aux_dev), GFP_KERNEL); in alloc_drm_dp_aux_dev() 79 if (!aux_dev) in alloc_drm_dp_aux_dev() 81 aux_dev->aux = aux; in alloc_drm_dp_aux_dev() 82 atomic_set(&aux_dev->usecount, 1); in alloc_drm_dp_aux_dev() [all …]
|
/drivers/misc/mchp_pci1xxxx/ |
D | mchp_pci1xxxx_gp.c | 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() [all …]
|
D | mchp_pci1xxxx_gpio.c | 38 struct auxiliary_device *aux_dev; member 338 gchip->label = dev_name(&priv->aux_dev->dev); in pci1xxxx_gpio_setup() 339 gchip->parent = &priv->aux_dev->dev; in pci1xxxx_gpio_setup() 352 retval = devm_request_threaded_irq(&priv->aux_dev->dev, irq, in pci1xxxx_gpio_setup() 370 static int pci1xxxx_gpio_probe(struct auxiliary_device *aux_dev, in pci1xxxx_gpio_probe() argument 380 container_of(aux_dev, struct auxiliary_device_wrapper, aux_dev); in pci1xxxx_gpio_probe() 387 priv = devm_kzalloc(&aux_dev->dev, sizeof(struct pci1xxxx_gpio), GFP_KERNEL); in pci1xxxx_gpio_probe() 392 priv->aux_dev = aux_dev; in pci1xxxx_gpio_probe() 394 if (!devm_request_mem_region(&aux_dev->dev, pdata->region_start, 0x800, aux_dev->name)) in pci1xxxx_gpio_probe() 397 priv->reg_base = devm_ioremap(&aux_dev->dev, pdata->region_start, 0x800); in pci1xxxx_gpio_probe() [all …]
|
D | mchp_pci1xxxx_otpe2p.c | 320 static int pci1xxxx_otp_eeprom_probe(struct auxiliary_device *aux_dev, in pci1xxxx_otp_eeprom_probe() argument 329 aux_dev_wrapper = container_of(aux_dev, struct auxiliary_device_wrapper, in pci1xxxx_otp_eeprom_probe() 330 aux_dev); in pci1xxxx_otp_eeprom_probe() 335 priv = devm_kzalloc(&aux_dev->dev, sizeof(*priv), GFP_KERNEL); in pci1xxxx_otp_eeprom_probe() 339 priv->pdev = aux_dev; in pci1xxxx_otp_eeprom_probe() 341 if (!devm_request_mem_region(&aux_dev->dev, pdata->region_start + in pci1xxxx_otp_eeprom_probe() 344 aux_dev->name)) in pci1xxxx_otp_eeprom_probe() 347 priv->reg_base = devm_ioremap(&aux_dev->dev, pdata->region_start + in pci1xxxx_otp_eeprom_probe() 362 dev_set_drvdata(&aux_dev->dev, priv); in pci1xxxx_otp_eeprom_probe() 367 priv->nvmem_config_eeprom.dev = &aux_dev->dev; in pci1xxxx_otp_eeprom_probe() [all …]
|
D | mchp_pci1xxxx_gp.h | 24 struct auxiliary_device aux_dev; member
|
/drivers/gpu/drm/i915/gt/ |
D | intel_gsc.c | 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() [all …]
|
/drivers/vdpa/pds/ |
D | aux_drv.c | 32 static int pds_vdpa_probe(struct auxiliary_device *aux_dev, in pds_vdpa_probe() argument 37 container_of(aux_dev, struct pds_auxiliary_dev, aux_dev); in pds_vdpa_probe() 38 struct device *dev = &aux_dev->dev; in pds_vdpa_probe() 48 auxiliary_set_drvdata(aux_dev, vdpa_aux); in pds_vdpa_probe() 85 auxiliary_set_drvdata(aux_dev, NULL); in pds_vdpa_probe() 90 static void pds_vdpa_remove(struct auxiliary_device *aux_dev) in pds_vdpa_remove() argument 92 struct pds_vdpa_aux *vdpa_aux = auxiliary_get_drvdata(aux_dev); in pds_vdpa_remove() 93 struct device *dev = &aux_dev->dev; in pds_vdpa_remove() 101 auxiliary_set_drvdata(aux_dev, NULL); in pds_vdpa_remove()
|
D | cmds.c | 19 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_init_hw() 41 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_reset() 61 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_set_status() 82 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_set_mac() 105 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_set_max_vq_pairs() 129 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_init_vq() 163 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_cmd_reset_vq()
|
D | vdpa_dev.c | 31 struct device *dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_notify_handler() 45 struct device *dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_register_event_handler() 176 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_set_vq_state() 226 struct device *dev = &padev->aux_dev.dev; in pds_vdpa_get_vq_state() 508 dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_reset() 619 dev = &vdpa_aux->padev->aux_dev.dev; in pds_vdpa_dev_add() 769 dev_info(&vdpa_aux->padev->aux_dev.dev, "Removed vdpa device\n"); in pds_vdpa_dev_del() 794 dev = &vdpa_aux->padev->aux_dev.dev; in pds_vdpa_get_mgmt_info()
|
D | debugfs.c | 182 dev_name(&vdpa_aux->padev->aux_dev.dev)); in identity_show()
|
/drivers/net/ethernet/amd/pds_core/ |
D | auxbus.c | 108 __func__, dev_name(&padev->aux_dev.dev), req->opcode); in pds_client_adminq_cmd() 132 container_of(dev, struct pds_auxiliary_dev, aux_dev.dev); in pdsc_auxbus_dev_release() 142 struct auxiliary_device *aux_dev; in pdsc_auxbus_dev_register() local 153 aux_dev = &padev->aux_dev; in pdsc_auxbus_dev_register() 154 aux_dev->name = name; in pdsc_auxbus_dev_register() 155 aux_dev->id = cf->uid; in pdsc_auxbus_dev_register() 156 aux_dev->dev.parent = cf->dev; in pdsc_auxbus_dev_register() 157 aux_dev->dev.release = pdsc_auxbus_dev_release; in pdsc_auxbus_dev_register() 159 err = auxiliary_device_init(aux_dev); in pdsc_auxbus_dev_register() 167 err = auxiliary_device_add(aux_dev); in pdsc_auxbus_dev_register() [all …]
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ulp.c | 191 adev = &aux_priv->aux_dev; in bnxt_ulp_stop() 222 adev = &aux_priv->aux_dev; in bnxt_ulp_start() 314 adev = &aux_priv->aux_dev; in bnxt_rdma_aux_device_uninit() 322 container_of(dev, struct bnxt_aux_priv, aux_dev.dev); in bnxt_aux_dev_release() 357 struct auxiliary_device *aux_dev; in bnxt_rdma_aux_device_init() local 378 aux_dev = &aux_priv->aux_dev; in bnxt_rdma_aux_device_init() 379 aux_dev->id = aux_priv->id; in bnxt_rdma_aux_device_init() 380 aux_dev->name = "rdma"; in bnxt_rdma_aux_device_init() 381 aux_dev->dev.parent = &bp->pdev->dev; in bnxt_rdma_aux_device_init() 382 aux_dev->dev.release = bnxt_aux_dev_release; in bnxt_rdma_aux_device_init() [all …]
|
D | bnxt.h | 1658 struct auxiliary_device aux_dev; member
|
/drivers/misc/mei/ |
D | gsc-me.c | 46 static int mei_gsc_probe(struct auxiliary_device *aux_dev, in mei_gsc_probe() argument 49 struct mei_aux_device *adev = auxiliary_dev_to_mei_aux_dev(aux_dev); in mei_gsc_probe() 60 device = &aux_dev->dev; in mei_gsc_probe() 141 static void mei_gsc_remove(struct auxiliary_device *aux_dev) in mei_gsc_remove() argument 146 dev = dev_get_drvdata(&aux_dev->dev); in mei_gsc_remove() 160 pm_runtime_disable(&aux_dev->dev); in mei_gsc_remove() 164 devm_free_irq(&aux_dev->dev, hw->irq, dev); in mei_gsc_remove() 184 struct auxiliary_device *aux_dev; in mei_gsc_pm_resume() local 193 aux_dev = to_auxiliary_dev(device); in mei_gsc_pm_resume() 194 adev = auxiliary_dev_to_mei_aux_dev(aux_dev); in mei_gsc_pm_resume()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_client.c | 283 container_of(dev, struct i40e_auxiliary_device, aux_dev.dev); in i40e_auxiliary_dev_release() 285 ida_free(&i40e_client_ida, i40e_aux_dev->aux_dev.id); in i40e_auxiliary_dev_release() 293 struct auxiliary_device *aux_dev; in i40e_register_auxiliary_dev() local 302 aux_dev = &i40e_aux_dev->aux_dev; in i40e_register_auxiliary_dev() 303 aux_dev->name = name; in i40e_register_auxiliary_dev() 304 aux_dev->dev.parent = &pdev->dev; in i40e_register_auxiliary_dev() 305 aux_dev->dev.release = i40e_auxiliary_dev_release; in i40e_register_auxiliary_dev() 306 ldev->aux_dev = aux_dev; in i40e_register_auxiliary_dev() 313 aux_dev->id = ret; in i40e_register_auxiliary_dev() 315 ret = auxiliary_device_init(aux_dev); in i40e_register_auxiliary_dev() [all …]
|
/drivers/infiniband/hw/irdma/ |
D | i40iw_if.c | 182 static int i40iw_probe(struct auxiliary_device *aux_dev, const struct auxiliary_device_id *id) in i40iw_probe() argument 184 struct i40e_auxiliary_device *i40e_adev = container_of(aux_dev, in i40iw_probe() 186 aux_dev); in i40iw_probe() 195 static void i40iw_remove(struct auxiliary_device *aux_dev) in i40iw_remove() argument 197 struct i40e_auxiliary_device *i40e_adev = container_of(aux_dev, in i40iw_remove() 199 aux_dev); in i40iw_remove()
|
D | main.c | 209 static void irdma_remove(struct auxiliary_device *aux_dev) in irdma_remove() argument 211 struct iidc_auxiliary_dev *iidc_adev = container_of(aux_dev, in irdma_remove() 215 struct irdma_device *iwdev = auxiliary_get_drvdata(aux_dev); in irdma_remove() 257 static int irdma_probe(struct auxiliary_device *aux_dev, const struct auxiliary_device_id *id) in irdma_probe() argument 259 struct iidc_auxiliary_dev *iidc_adev = container_of(aux_dev, in irdma_probe() 305 auxiliary_set_drvdata(aux_dev, iwdev); in irdma_probe()
|
/drivers/platform/mellanox/ |
D | mlxreg-lc.c | 644 struct mlxreg_hotplug_device *main_dev, *aux_dev; in mlxreg_lc_completion_notify() local 650 aux_dev = mlxreg_lc->aux_devs; in mlxreg_lc_completion_notify() 651 for (i = 0; i < mlxreg_lc->aux_devs_num; i++, aux_dev++) { in mlxreg_lc_completion_notify() 652 aux_dev->adapter = adapters[aux_dev->nr]; in mlxreg_lc_completion_notify() 653 aux_dev->nr = adapters[aux_dev->nr]->nr; in mlxreg_lc_completion_notify()
|
/drivers/gpu/drm/i915/gt/uc/ |
D | intel_huc.c | 178 if (!intf->adev || &intf->adev->aux_dev.dev != dev) in gsc_notifier()
|
/drivers/infiniband/hw/bnxt_re/ |
D | main.c | 1617 container_of(adev, struct bnxt_aux_priv, aux_dev); in bnxt_re_add_device() 1638 aux_priv->aux_dev.name); in bnxt_re_add_device()
|