/openbmc/linux/sound/soc/sof/ |
H A D | sof-client.h | 25 struct sof_client_dev { struct 35 container_of(auxiliary_dev, struct sof_client_dev, auxdev) argument 38 container_of(to_auxiliary_dev(dev), struct sof_client_dev, auxdev) 40 int sof_client_ipc_tx_message(struct sof_client_dev *cdev, void *ipc_msg, 52 struct device *sof_client_get_dma_dev(struct sof_client_dev *cdev); 55 enum sof_ipc_type sof_client_get_ipc_type(struct sof_client_dev *cdev); 58 int sof_client_core_module_get(struct sof_client_dev *cdev); 59 void sof_client_core_module_put(struct sof_client_dev *cdev); 64 int sof_client_register_ipc_rx_handler(struct sof_client_dev *cdev, 67 void sof_client_unregister_ipc_rx_handler(struct sof_client_dev *cdev, [all …]
|
H A D | sof-client-probes.h | 9 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, 38 int (*init)(struct sof_client_dev *cdev, u32 stream_tag, 40 int (*deinit)(struct sof_client_dev *cdev); 41 int (*points_info)(struct sof_client_dev *cdev, 44 int (*points_add)(struct sof_client_dev *cdev, [all …]
|
H A D | sof-client.c | 31 struct sof_client_dev *cdev; 43 struct sof_client_dev *cdev; 51 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_client_auxdev_release() 212 struct sof_client_dev *cdev; in sof_client_dev_register() 266 struct sof_client_dev *cdev; in sof_client_dev_unregister() 360 struct sof_client_dev *cdev; in sof_suspend_clients() 383 struct sof_client_dev *cdev; in sof_resume_clients() 410 struct device *sof_client_get_dma_dev(struct sof_client_dev *cdev) in sof_client_get_dma_dev() 441 int sof_client_core_module_get(struct sof_client_dev *cdev) in sof_client_core_module_get() 452 void sof_client_core_module_put(struct sof_client_dev *cdev) in sof_client_core_module_put() [all …]
|
H A D | sof-client-probes-ipc3.c | 63 static int ipc3_probes_init(struct sof_client_dev *cdev, u32 stream_tag, in ipc3_probes_init() 92 static int ipc3_probes_deinit(struct sof_client_dev *cdev) in ipc3_probes_deinit() 102 static int ipc3_probes_info(struct sof_client_dev *cdev, unsigned int cmd, in ipc3_probes_info() 154 static int ipc3_probes_points_info(struct sof_client_dev *cdev, in ipc3_probes_points_info() 175 static int ipc3_probes_points_add(struct sof_client_dev *cdev, in ipc3_probes_points_add() 205 static int ipc3_probes_points_remove(struct sof_client_dev *cdev, in ipc3_probes_points_remove()
|
H A D | sof-client-ipc-msg-injector.c | 35 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()
|
H A D | sof-client-probes-ipc4.c | 68 static struct sof_man4_module *sof_ipc4_probe_get_module_info(struct sof_client_dev *cdev) in sof_ipc4_probe_get_module_info() 106 static int ipc4_probes_init(struct sof_client_dev *cdev, u32 stream_tag, in ipc4_probes_init() 145 static int ipc4_probes_deinit(struct sof_client_dev *cdev) in ipc4_probes_deinit() 175 static int ipc4_probes_points_info(struct sof_client_dev *cdev, in ipc4_probes_points_info() 195 static int ipc4_probes_points_add(struct sof_client_dev *cdev, in ipc4_probes_points_add() 249 static int ipc4_probes_points_remove(struct sof_client_dev *cdev, in ipc4_probes_points_remove()
|
H A D | sof-client-probes.c | 37 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_startup() 63 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_shutdown() 102 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_set_params() 132 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_trigger() 144 struct sof_client_dev *cdev = snd_soc_card_get_drvdata(card); in sof_probes_compr_pointer() 194 struct sof_client_dev *cdev = file->private_data; in sof_probes_dfs_points_read() 255 struct sof_client_dev *cdev = file->private_data; in sof_probes_dfs_points_write() 314 struct sof_client_dev *cdev = file->private_data; in sof_probes_dfs_points_remove_write() 389 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_probes_client_probe() 517 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_probes_client_remove()
|
H A D | sof-client-ipc-flood-test.c | 38 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() 156 struct sof_client_dev *cdev = file->private_data; in sof_ipc_flood_dfs_write() 246 struct sof_client_dev *cdev = file->private_data; in sof_ipc_flood_dfs_read() 298 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_ipc_flood_probe() 358 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_ipc_flood_remove()
|
H A D | sof-client-ipc-kernel-injector.c | 43 struct sof_client_dev *cdev = file->private_data; in sof_kernel_msg_inject_dfs_write() 94 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_msg_inject_probe() 131 struct sof_client_dev *cdev = auxiliary_dev_to_sof_client_dev(auxdev); in sof_msg_inject_remove()
|
/openbmc/linux/sound/soc/sof/amd/ |
H A D | acp-probes.c | 23 static int acp_probes_compr_startup(struct sof_client_dev *cdev, in acp_probes_compr_startup() 45 static int acp_probes_compr_shutdown(struct sof_client_dev *cdev, in acp_probes_compr_shutdown() 68 static int acp_probes_compr_set_params(struct sof_client_dev *cdev, in acp_probes_compr_set_params() 101 static int acp_probes_compr_trigger(struct sof_client_dev *cdev, in acp_probes_compr_trigger() 109 static int acp_probes_compr_pointer(struct sof_client_dev *cdev, in acp_probes_compr_pointer()
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-probes.c | 28 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()
|