/linux-6.12.1/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 …]
|
/linux-6.12.1/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() 368 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
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_heci_gsc.c | 85 struct auxiliary_device *aux_dev = to_auxiliary_dev(dev); in heci_gsc_release_dev() local 86 struct mei_aux_device *adev = auxiliary_dev_to_mei_aux_dev(aux_dev); in heci_gsc_release_dev() 99 struct auxiliary_device *aux_dev = &heci_gsc->adev->aux_dev; in xe_heci_gsc_fini() local 101 auxiliary_device_delete(aux_dev); in xe_heci_gsc_fini() 102 auxiliary_device_uninit(aux_dev); in xe_heci_gsc_fini() 133 struct auxiliary_device *aux_dev; in heci_gsc_add_device() local 148 aux_dev = &adev->aux_dev; in heci_gsc_add_device() 149 aux_dev->name = def->name; in heci_gsc_add_device() 150 aux_dev->id = (pci_domain_nr(pdev->bus) << 16) | in heci_gsc_add_device() 152 aux_dev->dev.parent = &pdev->dev; in heci_gsc_add_device() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/ |
D | intel_gsc.c | 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() [all …]
|
/linux-6.12.1/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() 514 dev = &pdsv->vdpa_aux->padev->aux_dev.dev; in pds_vdpa_reset() 626 dev = &vdpa_aux->padev->aux_dev.dev; in pds_vdpa_dev_add() 783 dev_info(&vdpa_aux->padev->aux_dev.dev, "Removed vdpa device\n"); in pds_vdpa_dev_del() 808 dev = &vdpa_aux->padev->aux_dev.dev; in pds_vdpa_get_mgmt_info()
|
/linux-6.12.1/drivers/firmware/qcom/ |
D | qcom_qseecom.c | 26 client = container_of(dev, struct qseecom_client, aux_dev.dev); in qseecom_client_release() 34 auxiliary_device_delete(&client->aux_dev); in qseecom_client_remove() 35 auxiliary_device_uninit(&client->aux_dev); in qseecom_client_remove() 57 client->aux_dev.name = desc->dev_name; in qseecom_client_register() 58 client->aux_dev.dev.parent = &qseecom_dev->dev; in qseecom_client_register() 59 client->aux_dev.dev.release = qseecom_client_release; in qseecom_client_register() 62 ret = auxiliary_device_init(&client->aux_dev); in qseecom_client_register() 68 ret = auxiliary_device_add(&client->aux_dev); in qseecom_client_register() 70 auxiliary_device_uninit(&client->aux_dev); in qseecom_client_register()
|
D | qcom_qseecom_uefisecapp.c | 283 return &qcuefi->client->aux_dev.dev; in qcuefi_dev() 804 static int qcom_uefisecapp_probe(struct auxiliary_device *aux_dev, in qcom_uefisecapp_probe() argument 811 qcuefi = devm_kzalloc(&aux_dev->dev, sizeof(*qcuefi), GFP_KERNEL); in qcom_uefisecapp_probe() 815 qcuefi->client = container_of(aux_dev, struct qseecom_client, aux_dev); in qcom_uefisecapp_probe() 817 auxiliary_set_drvdata(aux_dev, qcuefi); in qcom_uefisecapp_probe() 832 qcuefi->mempool = devm_qcom_tzmem_pool_new(&aux_dev->dev, &pool_config); in qcom_uefisecapp_probe() 839 static void qcom_uefisecapp_remove(struct auxiliary_device *aux_dev) in qcom_uefisecapp_remove() argument 841 struct qcuefi_client *qcuefi = auxiliary_get_drvdata(aux_dev); in qcom_uefisecapp_remove()
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ulp.c | 246 adev = &aux_priv->aux_dev; in bnxt_ulp_stop() 284 adev = &aux_priv->aux_dev; in bnxt_ulp_start() 376 adev = &aux_priv->aux_dev; in bnxt_rdma_aux_device_uninit() 383 container_of(dev, struct bnxt_aux_priv, aux_dev.dev); in bnxt_aux_dev_release() 399 auxiliary_device_delete(&bp->aux_priv->aux_dev); in bnxt_rdma_aux_device_del() 427 struct auxiliary_device *aux_dev; in bnxt_rdma_aux_device_add() local 433 aux_dev = &bp->aux_priv->aux_dev; in bnxt_rdma_aux_device_add() 434 rc = auxiliary_device_add(aux_dev); in bnxt_rdma_aux_device_add() 437 auxiliary_device_uninit(aux_dev); in bnxt_rdma_aux_device_add() 444 struct auxiliary_device *aux_dev; in bnxt_rdma_aux_device_init() local [all …]
|
/linux-6.12.1/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() 157 pm_runtime_disable(&aux_dev->dev); in mei_gsc_remove() 161 devm_free_irq(&aux_dev->dev, hw->irq, dev); in mei_gsc_remove() 178 struct auxiliary_device *aux_dev; in mei_gsc_pm_resume() local 184 aux_dev = to_auxiliary_dev(device); in mei_gsc_pm_resume() 185 adev = auxiliary_dev_to_mei_aux_dev(aux_dev); in mei_gsc_pm_resume()
|
/linux-6.12.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_client.c | 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() [all …]
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/power/reset/ |
D | ep93xx-restart.c | 25 struct ep93xx_regmap_adev *aux_dev; member 34 struct ep93xx_regmap_adev *aux = priv->aux_dev; in ep93xx_restart_handle() 60 priv->aux_dev = rdev; in ep93xx_reboot_probe()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_ptp.c | 2903 ice_ptp_aux_dev_to_aux_pf(struct auxiliary_device *aux_dev) in ice_ptp_aux_dev_to_aux_pf() argument 2908 aux_port = container_of(aux_dev, struct ice_ptp_port, aux_dev); in ice_ptp_aux_dev_to_aux_pf() 2919 ice_ptp_aux_dev_to_owner_pf(struct auxiliary_device *aux_dev) in ice_ptp_aux_dev_to_owner_pf() argument 2925 if (!aux_dev->dev.driver) in ice_ptp_aux_dev_to_owner_pf() 2928 aux_drv = to_auxiliary_drv(aux_dev->dev.driver); in ice_ptp_aux_dev_to_owner_pf() 2940 static int ice_ptp_auxbus_probe(struct auxiliary_device *aux_dev, in ice_ptp_auxbus_probe() argument 2943 struct ice_pf *owner_pf = ice_ptp_aux_dev_to_owner_pf(aux_dev); in ice_ptp_auxbus_probe() 2944 struct ice_pf *aux_pf = ice_ptp_aux_dev_to_aux_pf(aux_dev); in ice_ptp_auxbus_probe() 2962 static void ice_ptp_auxbus_remove(struct auxiliary_device *aux_dev) in ice_ptp_auxbus_remove() argument 2964 struct ice_pf *owner_pf = ice_ptp_aux_dev_to_owner_pf(aux_dev); in ice_ptp_auxbus_remove() [all …]
|
/linux-6.12.1/include/linux/ |
D | mei_aux.h | 21 struct auxiliary_device aux_dev; member 29 container_of(auxiliary_dev, struct mei_aux_device, aux_dev)
|
/linux-6.12.1/sound/soc/sunxi/ |
D | sun4i-codec.c | 1400 static struct snd_soc_aux_dev aux_dev = { variable 1413 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_a23_codec_create_card() 1416 if (!aux_dev.dlc.of_node) { in sun8i_a23_codec_create_card() 1432 card->aux_dev = &aux_dev; in sun8i_a23_codec_create_card() 1452 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_h3_codec_create_card() 1455 if (!aux_dev.dlc.of_node) { in sun8i_h3_codec_create_card() 1471 card->aux_dev = &aux_dev; in sun8i_h3_codec_create_card() 1491 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_v3s_codec_create_card() 1494 if (!aux_dev.dlc.of_node) { in sun8i_v3s_codec_create_card() 1510 card->aux_dev = &aux_dev; in sun8i_v3s_codec_create_card()
|
/linux-6.12.1/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()
|
/linux-6.12.1/include/linux/net/intel/ |
D | i40e_client.h | 78 struct auxiliary_device *aux_dev; member 102 struct auxiliary_device aux_dev; member
|
/linux-6.12.1/include/linux/pds/ |
D | pds_auxbus.h | 10 struct auxiliary_device aux_dev; member
|