Home
last modified time | relevance | path

Searched refs:sof_client_dev (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/sound/soc/sof/
Dsof-client.h23 struct sof_client_dev { struct
33 container_of(auxiliary_dev, struct sof_client_dev, auxdev) argument
36 container_of(to_auxiliary_dev(dev), struct sof_client_dev, auxdev)
38 int sof_client_ipc_tx_message(struct sof_client_dev *cdev, void *ipc_msg,
41 struct dentry *sof_client_get_debugfs_root(struct sof_client_dev *cdev);
42 struct device *sof_client_get_dma_dev(struct sof_client_dev *cdev);
43 const struct sof_ipc_fw_version *sof_client_get_fw_version(struct sof_client_dev *cdev);
44 size_t sof_client_get_ipc_max_payload_size(struct sof_client_dev *cdev);
45 enum sof_ipc_type sof_client_get_ipc_type(struct sof_client_dev *cdev);
48 int sof_client_core_module_get(struct sof_client_dev *cdev);
[all …]
Dsof-client.c29 struct sof_client_dev *cdev;
41 struct sof_client_dev *cdev;
49 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_client_auxdev_release()
55 static int sof_client_dev_add_data(struct sof_client_dev *cdev, const void *data, in sof_client_dev_add_data()
174 struct sof_client_dev *cdev; in sof_client_dev_register()
228 struct sof_client_dev *cdev; in sof_client_dev_unregister()
249 int sof_client_ipc_tx_message(struct sof_client_dev *cdev, void *ipc_msg, in sof_client_ipc_tx_message()
271 struct sof_client_dev *cdev; in sof_suspend_clients()
294 struct sof_client_dev *cdev; in sof_resume_clients()
314 struct dentry *sof_client_get_debugfs_root(struct sof_client_dev *cdev) in sof_client_get_debugfs_root()
[all …]
Dsof-client-probes.h9 struct sof_client_dev;
17 int (*startup)(struct sof_client_dev *cdev, struct snd_compr_stream *cstream,
19 int (*shutdown)(struct sof_client_dev *cdev, struct snd_compr_stream *cstream,
21 int (*set_params)(struct sof_client_dev *cdev, struct snd_compr_stream *cstream,
24 int (*trigger)(struct sof_client_dev *cdev, struct snd_compr_stream *cstream,
26 int (*pointer)(struct sof_client_dev *cdev, struct snd_compr_stream *cstream,
Dsof-client-probes.c93 static int sof_probes_init(struct sof_client_dev *cdev, u32 stream_tag, in sof_probes_init()
123 static int sof_probes_deinit(struct sof_client_dev *cdev) in sof_probes_deinit()
134 static int sof_probes_info(struct sof_client_dev *cdev, unsigned int cmd, in sof_probes_info()
186 static int sof_probes_points_info(struct sof_client_dev *cdev, in sof_probes_points_info()
207 static int sof_probes_points_add(struct sof_client_dev *cdev, in sof_probes_points_add()
238 static int sof_probes_points_remove(struct sof_client_dev *cdev, in sof_probes_points_remove()
263 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_startup()
289 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_shutdown()
327 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_set_params()
356 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_trigger()
[all …]
Dsof-client-ipc-msg-injector.c35 struct sof_client_dev *cdev = inode->i_private; in sof_msg_inject_dfs_open()
55 struct sof_client_dev *cdev = file->private_data; in sof_msg_inject_dfs_read()
76 struct sof_client_dev *cdev = file->private_data; in sof_msg_inject_ipc4_dfs_read()
122 static int sof_msg_inject_send_message(struct sof_client_dev *cdev) in sof_msg_inject_send_message()
151 struct sof_client_dev *cdev = file->private_data; in sof_msg_inject_dfs_write()
181 struct sof_client_dev *cdev = file->private_data; in sof_msg_inject_ipc4_dfs_write()
254 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_msg_inject_probe()
309 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_msg_inject_remove()
Dsof-client-ipc-flood-test.c38 struct sof_client_dev *cdev = inode->i_private; in sof_ipc_flood_dfs_open()
59 static int sof_debug_ipc_flood_test(struct sof_client_dev *cdev, in sof_debug_ipc_flood_test()
157 struct sof_client_dev *cdev = file->private_data; in sof_ipc_flood_dfs_write()
247 struct sof_client_dev *cdev = file->private_data; in sof_ipc_flood_dfs_read()
299 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_ipc_flood_probe()
359 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_ipc_flood_remove()
/Linux-v6.1/sound/soc/sof/intel/
Dhda-probes.c28 static int hda_probes_compr_startup(struct sof_client_dev *cdev, in hda_probes_compr_startup()
48 static int hda_probes_compr_shutdown(struct sof_client_dev *cdev, in hda_probes_compr_shutdown()
69 static int hda_probes_compr_set_params(struct sof_client_dev *cdev, in hda_probes_compr_set_params()
103 static int hda_probes_compr_trigger(struct sof_client_dev *cdev, in hda_probes_compr_trigger()
113 static int hda_probes_compr_pointer(struct sof_client_dev *cdev, in hda_probes_compr_pointer()