/linux-5.19.10/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-5.19.10/drivers/gpu/drm/i915/gt/ |
D | intel_gsc.c | 72 struct auxiliary_device *aux_dev = to_auxiliary_dev(dev); in gsc_release_dev() local 73 struct mei_aux_device *adev = auxiliary_dev_to_mei_aux_dev(aux_dev); in gsc_release_dev() 81 auxiliary_device_delete(&intf->adev->aux_dev); in gsc_destroy_one() 82 auxiliary_device_uninit(&intf->adev->aux_dev); in gsc_destroy_one() 96 struct auxiliary_device *aux_dev; in gsc_init_one() local 143 aux_dev = &adev->aux_dev; in gsc_init_one() 144 aux_dev->name = def->name; in gsc_init_one() 145 aux_dev->id = (pci_domain_nr(pdev->bus) << 16) | in gsc_init_one() 147 aux_dev->dev.parent = &pdev->dev; in gsc_init_one() 148 aux_dev->dev.release = gsc_release_dev; in gsc_init_one() [all …]
|
/linux-5.19.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_client.c | 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() [all …]
|
/linux-5.19.10/drivers/misc/mei/ |
D | gsc-me.c | 34 static int mei_gsc_probe(struct auxiliary_device *aux_dev, in mei_gsc_probe() argument 37 struct mei_aux_device *adev = auxiliary_dev_to_mei_aux_dev(aux_dev); in mei_gsc_probe() 48 device = &aux_dev->dev; in mei_gsc_probe() 109 static void mei_gsc_remove(struct auxiliary_device *aux_dev) in mei_gsc_remove() argument 114 dev = dev_get_drvdata(&aux_dev->dev); in mei_gsc_remove() 124 pm_runtime_disable(&aux_dev->dev); in mei_gsc_remove() 127 devm_free_irq(&aux_dev->dev, hw->irq, dev); in mei_gsc_remove()
|
/linux-5.19.10/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-5.19.10/include/linux/ |
D | mei_aux.h | 11 struct auxiliary_device aux_dev; member 17 container_of(auxiliary_dev, struct mei_aux_device, aux_dev)
|
/linux-5.19.10/sound/soc/sunxi/ |
D | sun4i-codec.c | 1428 static struct snd_soc_aux_dev aux_dev = { variable 1441 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_a23_codec_create_card() 1444 if (!aux_dev.dlc.of_node) { in sun8i_a23_codec_create_card() 1460 card->aux_dev = &aux_dev; in sun8i_a23_codec_create_card() 1480 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_h3_codec_create_card() 1483 if (!aux_dev.dlc.of_node) { in sun8i_h3_codec_create_card() 1499 card->aux_dev = &aux_dev; in sun8i_h3_codec_create_card() 1519 aux_dev.dlc.of_node = of_parse_phandle(dev->of_node, in sun8i_v3s_codec_create_card() 1522 if (!aux_dev.dlc.of_node) { in sun8i_v3s_codec_create_card() 1538 card->aux_dev = &aux_dev; in sun8i_v3s_codec_create_card()
|
/linux-5.19.10/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-5.19.10/include/linux/net/intel/ |
D | i40e_client.h | 78 struct auxiliary_device *aux_dev; member 102 struct auxiliary_device aux_dev; member
|
/linux-5.19.10/sound/soc/samsung/ |
D | tm2_wm5110.c | 489 .aux_dev = &tm2_speaker_amp_dev, 532 card->aux_dev[0].dlc.of_node = of_parse_phandle(dev->of_node, in tm2_probe() 534 if (!card->aux_dev[0].dlc.of_node) { in tm2_probe() 625 of_node_put(card->aux_dev[0].dlc.of_node); in tm2_probe()
|
D | neo1973_wm8753.c | 314 .aux_dev = neo1973_aux_devs,
|
D | speyside.c | 308 .aux_dev = speyside_aux_dev,
|
/linux-5.19.10/sound/soc/rockchip/ |
D | rockchip_max98090.c | 305 .aux_dev = &rk_98090_headset_dev, 333 .aux_dev = &rk_98090_headset_dev,
|
/linux-5.19.10/sound/soc/mediatek/mt8183/ |
D | mt8183-da7219-max98357.c | 606 .aux_dev = &mt8183_da7219_max98357_headset_dev, 657 .aux_dev = &mt8183_da7219_max98357_headset_dev, 674 .aux_dev = &mt8183_da7219_max98357_headset_dev,
|
D | mt8183-mt6358-ts3a227-max98357.c | 732 card->aux_dev = &mt8183_mt6358_ts3a227_max98357_headset_dev; in mt8183_mt6358_ts3a227_max98357_dev_probe()
|
/linux-5.19.10/sound/soc/intel/boards/ |
D | cht_bsw_max98090_ti.c | 397 .aux_dev = &cht_max98090_headset_dev, 552 snd_soc_card_cht.aux_dev = NULL; in snd_cht_mc_probe()
|
/linux-5.19.10/sound/soc/meson/ |
D | meson-card-utils.c | 272 if (card->aux_dev) { in meson_card_clean_references()
|
/linux-5.19.10/sound/soc/ti/ |
D | rx51.c | 346 .aux_dev = rx51_aux_dev,
|
/linux-5.19.10/include/sound/ |
D | soc.h | 956 struct snd_soc_aux_dev *aux_dev; member 1017 ((i) < (card)->num_aux_devs) && ((aux) = &(card)->aux_dev[i]); \
|
/linux-5.19.10/sound/soc/ |
D | soc-core.c | 3025 card->aux_dev = aux; in snd_soc_of_parse_aux_devs()
|