/linux/drivers/gpu/drm/ |
A D | drm_dp_aux_dev.c | 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() 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() 89 kfree(aux_dev); in alloc_drm_dp_aux_dev() 94 return aux_dev; in alloc_drm_dp_aux_dev() 102 kfree(aux_dev); in release_drm_dp_aux_dev() 112 if (!aux_dev) in name_show() 134 if (!aux_dev) in auxdev_open() [all …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_client.c | 290 struct auxiliary_device *aux_dev; in i40e_register_auxiliary_dev() local 299 aux_dev = &i40e_aux_dev->aux_dev; in i40e_register_auxiliary_dev() 300 aux_dev->name = name; in i40e_register_auxiliary_dev() 301 aux_dev->dev.parent = &pdev->dev; in i40e_register_auxiliary_dev() 303 ldev->aux_dev = aux_dev; in i40e_register_auxiliary_dev() 310 aux_dev->id = ret; in i40e_register_auxiliary_dev() 319 ret = auxiliary_device_add(aux_dev); in i40e_register_auxiliary_dev() 321 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() [all …]
|
/linux/drivers/infiniband/hw/irdma/ |
A D | i40iw_if.c | 181 static int i40iw_probe(struct auxiliary_device *aux_dev, const struct auxiliary_device_id *id) in i40iw_probe() argument 183 struct i40e_auxiliary_device *i40e_adev = container_of(aux_dev, in i40iw_probe() 185 aux_dev); in i40iw_probe() 194 static void i40iw_remove(struct auxiliary_device *aux_dev) in i40iw_remove() argument 196 struct i40e_auxiliary_device *i40e_adev = container_of(aux_dev, in i40iw_remove() 198 aux_dev); in i40iw_remove()
|
A D | main.c | 204 static void irdma_remove(struct auxiliary_device *aux_dev) in irdma_remove() argument 206 struct iidc_auxiliary_dev *iidc_adev = container_of(aux_dev, in irdma_remove() 210 struct irdma_device *iwdev = dev_get_drvdata(&aux_dev->dev); in irdma_remove() 250 static int irdma_probe(struct auxiliary_device *aux_dev, const struct auxiliary_device_id *id) in irdma_probe() argument 252 struct iidc_auxiliary_dev *iidc_adev = container_of(aux_dev, in irdma_probe() 297 dev_set_drvdata(&aux_dev->dev, iwdev); in irdma_probe()
|
/linux/sound/soc/sunxi/ |
A 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/drivers/platform/mellanox/ |
A D | mlxreg-lc.c | 633 struct mlxreg_hotplug_device *main_dev, *aux_dev; in mlxreg_lc_completion_notify() local 639 aux_dev = mlxreg_lc->aux_devs; in mlxreg_lc_completion_notify() 640 for (i = 0; i < mlxreg_lc->aux_devs_num; i++, aux_dev++) { in mlxreg_lc_completion_notify() 641 aux_dev->adapter = adapters[aux_dev->nr]; in mlxreg_lc_completion_notify() 642 aux_dev->nr = adapters[aux_dev->nr]->nr; in mlxreg_lc_completion_notify()
|
/linux/include/linux/net/intel/ |
A D | i40e_client.h | 83 struct auxiliary_device *aux_dev; member 107 struct auxiliary_device aux_dev; member
|
/linux/sound/soc/samsung/ |
A 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() 626 of_node_put(card->aux_dev[0].dlc.of_node); in tm2_probe()
|
A D | neo1973_wm8753.c | 314 .aux_dev = neo1973_aux_devs,
|
A D | speyside.c | 306 .aux_dev = speyside_aux_dev,
|
/linux/sound/soc/rockchip/ |
A D | rockchip_max98090.c | 305 .aux_dev = &rk_98090_headset_dev, 333 .aux_dev = &rk_98090_headset_dev,
|
/linux/sound/soc/mediatek/mt8183/ |
A D | mt8183-da7219-max98357.c | 607 .aux_dev = &mt8183_da7219_max98357_headset_dev, 658 .aux_dev = &mt8183_da7219_max98357_headset_dev, 675 .aux_dev = &mt8183_da7219_max98357_headset_dev,
|
A D | mt8183-mt6358-ts3a227-max98357.c | 738 card->aux_dev = &mt8183_mt6358_ts3a227_max98357_headset_dev; in mt8183_mt6358_ts3a227_max98357_dev_probe()
|
/linux/sound/soc/intel/boards/ |
A 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/sound/soc/meson/ |
A D | meson-card-utils.c | 274 if (card->aux_dev) { in meson_card_clean_references()
|
/linux/sound/soc/ti/ |
A D | rx51.c | 346 .aux_dev = rx51_aux_dev,
|
/linux/include/sound/ |
A D | soc.h | 939 struct snd_soc_aux_dev *aux_dev; member 1000 ((i) < (card)->num_aux_devs) && ((aux) = &(card)->aux_dev[i]); \
|
/linux/sound/soc/ |
A D | soc-core.c | 2970 card->aux_dev = aux; in snd_soc_of_parse_aux_devs()
|