Home
last modified time | relevance | path

Searched refs:aux_dev (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/gpu/drm/
A Ddrm_dp_aux_dev.c66 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 Di40e_client.c290 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 Di40iw_if.c181 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 Dmain.c204 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 Dsun4i-codec.c1428 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 Dmlxreg-lc.c633 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 Di40e_client.h83 struct auxiliary_device *aux_dev; member
107 struct auxiliary_device aux_dev; member
/linux/sound/soc/samsung/
A Dtm2_wm5110.c489 .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 Dneo1973_wm8753.c314 .aux_dev = neo1973_aux_devs,
A Dspeyside.c306 .aux_dev = speyside_aux_dev,
/linux/sound/soc/rockchip/
A Drockchip_max98090.c305 .aux_dev = &rk_98090_headset_dev,
333 .aux_dev = &rk_98090_headset_dev,
/linux/sound/soc/mediatek/mt8183/
A Dmt8183-da7219-max98357.c607 .aux_dev = &mt8183_da7219_max98357_headset_dev,
658 .aux_dev = &mt8183_da7219_max98357_headset_dev,
675 .aux_dev = &mt8183_da7219_max98357_headset_dev,
A Dmt8183-mt6358-ts3a227-max98357.c738 card->aux_dev = &mt8183_mt6358_ts3a227_max98357_headset_dev; in mt8183_mt6358_ts3a227_max98357_dev_probe()
/linux/sound/soc/intel/boards/
A Dcht_bsw_max98090_ti.c397 .aux_dev = &cht_max98090_headset_dev,
552 snd_soc_card_cht.aux_dev = NULL; in snd_cht_mc_probe()
/linux/sound/soc/meson/
A Dmeson-card-utils.c274 if (card->aux_dev) { in meson_card_clean_references()
/linux/sound/soc/ti/
A Drx51.c346 .aux_dev = rx51_aux_dev,
/linux/include/sound/
A Dsoc.h939 struct snd_soc_aux_dev *aux_dev; member
1000 ((i) < (card)->num_aux_devs) && ((aux) = &(card)->aux_dev[i]); \
/linux/sound/soc/
A Dsoc-core.c2970 card->aux_dev = aux; in snd_soc_of_parse_aux_devs()

Completed in 43 milliseconds