Home
last modified time | relevance | path

Searched refs:auxdev (Results 1 – 9 of 9) sorted by relevance

/sound/soc/sof/
A Dsof-client.c53 kfree(cdev->auxdev.dev.platform_data); in sof_client_auxdev_release()
68 cdev->auxdev.dev.platform_data = d; in sof_client_dev_add_data()
211 struct auxiliary_device *auxdev; in sof_client_dev_register() local
220 auxdev = &cdev->auxdev; in sof_client_dev_register()
221 auxdev->name = name; in sof_client_dev_register()
222 auxdev->dev.parent = sdev->dev; in sof_client_dev_register()
224 auxdev->id = id; in sof_client_dev_register()
275 if (!strcmp(cdev->auxdev.name, name) && cdev->auxdev.id == id) { in sof_client_dev_unregister()
367 if (!cdev->auxdev.dev.driver) in sof_suspend_clients()
390 if (!cdev->auxdev.dev.driver) in sof_resume_clients()
[all …]
A Dsof-client-ipc-kernel-injector.c46 struct device *dev = &cdev->auxdev.dev; in sof_kernel_msg_inject_dfs_write()
90 static int sof_msg_inject_probe(struct auxiliary_device *auxdev, in sof_msg_inject_probe() argument
93 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_msg_inject_probe()
95 struct device *dev = &auxdev->dev; in sof_msg_inject_probe()
100 priv = devm_kzalloc(&auxdev->dev, sizeof(*priv), GFP_KERNEL); in sof_msg_inject_probe()
128 static void sof_msg_inject_remove(struct auxiliary_device *auxdev) in sof_msg_inject_remove() argument
130 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_msg_inject_remove()
133 pm_runtime_disable(&auxdev->dev); in sof_msg_inject_remove()
A Dsof-client-ipc-flood-test.c65 struct device *dev = &cdev->auxdev.dev; in sof_debug_ipc_flood_test()
157 struct device *dev = &cdev->auxdev.dev; in sof_ipc_flood_dfs_write()
284 static int sof_ipc_flood_probe(struct auxiliary_device *auxdev, in sof_ipc_flood_probe() argument
287 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_ipc_flood_probe()
289 struct device *dev = &auxdev->dev; in sof_ipc_flood_probe()
314 if (auxdev->id == 0) { in sof_ipc_flood_probe()
345 static void sof_ipc_flood_remove(struct auxiliary_device *auxdev) in sof_ipc_flood_remove() argument
347 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_ipc_flood_remove()
350 pm_runtime_disable(&auxdev->dev); in sof_ipc_flood_remove()
352 if (auxdev->id == 0) { in sof_ipc_flood_remove()
A Dsof-client-ipc-msg-injector.c125 struct device *dev = &cdev->auxdev.dev; in sof_msg_inject_send_message()
250 static int sof_msg_inject_probe(struct auxiliary_device *auxdev, in sof_msg_inject_probe() argument
253 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_msg_inject_probe()
256 struct device *dev = &auxdev->dev; in sof_msg_inject_probe()
261 priv = devm_kzalloc(&auxdev->dev, sizeof(*priv), GFP_KERNEL); in sof_msg_inject_probe()
306 static void sof_msg_inject_remove(struct auxiliary_device *auxdev) in sof_msg_inject_remove() argument
308 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_msg_inject_remove()
311 pm_runtime_disable(&auxdev->dev); in sof_msg_inject_remove()
A Dsof-client.h26 struct auxiliary_device auxdev; member
35 container_of(auxiliary_dev, struct sof_client_dev, auxdev)
38 container_of(to_auxiliary_dev(dev), struct sof_client_dev, auxdev)
A Dsof-client-probes.c196 struct device *dev = &cdev->auxdev.dev; in sof_probes_dfs_points_read()
257 struct device *dev = &cdev->auxdev.dev; in sof_probes_dfs_points_write()
315 struct device *dev = &cdev->auxdev.dev; in sof_probes_dfs_points_remove_write()
381 static int sof_probes_client_probe(struct auxiliary_device *auxdev, in sof_probes_client_probe() argument
384 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_probes_client_probe()
386 struct device *dev = &auxdev->dev; in sof_probes_client_probe()
510 static void sof_probes_client_remove(struct auxiliary_device *auxdev) in sof_probes_client_remove() argument
512 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_probes_client_remove()
518 pm_runtime_disable(&auxdev->dev); in sof_probes_client_remove()
A Dsof-client-probes-ipc4.c71 struct device *dev = &cdev->auxdev.dev; in sof_ipc4_probe_get_module_info()
/sound/soc/qcom/qdsp6/
A Dq6usb.c299 struct auxiliary_device *auxdev) in q6usb_dai_add_aux_device() argument
303 auxdev->dev.parent = data->priv.dev; in q6usb_dai_add_aux_device()
304 auxdev->dev.release = q6usb_dai_aux_release; in q6usb_dai_add_aux_device()
305 auxdev->name = "qc-usb-audio-offload"; in q6usb_dai_add_aux_device()
307 ret = auxiliary_device_init(auxdev); in q6usb_dai_add_aux_device()
311 ret = auxiliary_device_add(auxdev); in q6usb_dai_add_aux_device()
313 auxiliary_device_uninit(auxdev); in q6usb_dai_add_aux_device()
/sound/usb/qcom/
A Dqc_audio_offload.c102 struct auxiliary_device *auxdev; member
1373 data = snd_soc_usb_find_priv_data(uaudio_qdev->auxdev->dev.parent); in prepare_qmi_response()
1764 if (!snd_soc_usb_find_priv_data(uaudio_qdev->auxdev->dev.parent) || in qc_usb_audio_offload_probe()
1808 snd_usb_offload_create_ctl(chip, uaudio_qdev->auxdev->dev.parent); in qc_usb_audio_offload_probe()
1809 snd_soc_usb_connect(uaudio_qdev->auxdev->dev.parent, sdev); in qc_usb_audio_offload_probe()
1885 snd_soc_usb_disconnect(uaudio_qdev->auxdev->dev.parent, dev->sdev); in qc_usb_audio_offload_disconnect()
1934 static int qc_usb_audio_probe(struct auxiliary_device *auxdev, in qc_usb_audio_probe() argument
1961 uaudio_qdev->auxdev = auxdev; in qc_usb_audio_probe()
1980 static void qc_usb_audio_remove(struct auxiliary_device *auxdev) in qc_usb_audio_remove() argument

Completed in 17 milliseconds