Lines Matching defs:sof_client_dev

19  * struct sof_client_dev - SOF client device
23 struct sof_client_dev {
29 container_of(auxiliary_dev, struct sof_client_dev, auxdev)
32 container_of(to_auxiliary_dev(dev), struct sof_client_dev, auxdev)
34 int sof_client_ipc_tx_message(struct sof_client_dev *cdev, void *ipc_msg,
36 static inline int sof_client_ipc_tx_message_no_reply(struct sof_client_dev *cdev, void *ipc_msg)
40 int sof_client_ipc_set_get_data(struct sof_client_dev *cdev, void *ipc_msg,
43 struct sof_ipc4_fw_module *sof_client_ipc4_find_module(struct sof_client_dev *c, const guid_t *u);
44 struct snd_sof_widget *sof_client_ipc4_find_swidget_by_id(struct sof_client_dev *cdev,
47 struct dentry *sof_client_get_debugfs_root(struct sof_client_dev *cdev);
48 struct device *sof_client_get_dma_dev(struct sof_client_dev *cdev);
49 const struct sof_ipc_fw_version *sof_client_get_fw_version(struct sof_client_dev *cdev);
50 size_t sof_client_get_ipc_max_payload_size(struct sof_client_dev *cdev);
51 enum sof_ipc_type sof_client_get_ipc_type(struct sof_client_dev *cdev);
54 int sof_client_core_module_get(struct sof_client_dev *cdev);
55 void sof_client_core_module_put(struct sof_client_dev *cdev);
58 typedef void (*sof_client_event_callback)(struct sof_client_dev *cdev, void *msg_buf);
60 int sof_client_register_ipc_rx_handler(struct sof_client_dev *cdev,
63 void sof_client_unregister_ipc_rx_handler(struct sof_client_dev *cdev,
67 typedef void (*sof_client_fw_state_callback)(struct sof_client_dev *cdev,
70 int sof_client_register_fw_state_handler(struct sof_client_dev *cdev,
72 void sof_client_unregister_fw_state_handler(struct sof_client_dev *cdev);
73 enum sof_fw_state sof_client_get_fw_state(struct sof_client_dev *cdev);
74 int sof_client_ipc_rx_message(struct sof_client_dev *cdev, void *ipc_msg, void *msg_buf);