/linux-6.12.1/sound/soc/sof/ |
D | ipc.c | 36 int sof_ipc_send_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc_send_msg() argument 57 msg->msg_size = msg_bytes; in sof_ipc_send_msg() 75 int sof_ipc_tx_message(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes, in sof_ipc_tx_message() argument 78 if (msg_bytes > ipc->max_payload_size || in sof_ipc_tx_message() 82 return ipc->ops->tx_msg(ipc->sdev, msg_data, msg_bytes, reply_data, in sof_ipc_tx_message() 89 size_t msg_bytes, bool set) in sof_ipc_set_get_data() argument 91 return ipc->ops->set_get_data(ipc->sdev, msg_data, msg_bytes, set); in sof_ipc_set_get_data() 100 int sof_ipc_tx_message_no_pm(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes, in sof_ipc_tx_message_no_pm() argument 103 if (msg_bytes > ipc->max_payload_size || in sof_ipc_tx_message_no_pm() 107 return ipc->ops->tx_msg(ipc->sdev, msg_data, msg_bytes, reply_data, in sof_ipc_tx_message_no_pm()
|
D | sof-priv.h | 522 int (*tx_msg)(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, 748 int sof_ipc_tx_message(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes, 751 size_t msg_bytes) in sof_ipc_tx_message_no_reply() argument 753 return sof_ipc_tx_message(ipc, msg_data, msg_bytes, NULL, 0); in sof_ipc_tx_message_no_reply() 756 size_t msg_bytes, bool set); 757 int sof_ipc_tx_message_no_pm(struct snd_sof_ipc *ipc, void *msg_data, size_t msg_bytes, 760 size_t msg_bytes) in sof_ipc_tx_message_no_pm_no_reply() argument 762 return sof_ipc_tx_message_no_pm(ipc, msg_data, msg_bytes, NULL, 0); in sof_ipc_tx_message_no_pm_no_reply() 764 int sof_ipc_send_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes,
|
D | ipc3.c | 333 void *msg_data, size_t msg_bytes, in ipc3_tx_msg_unlocked() argument 342 ret = sof_ipc_send_msg(sdev, msg_data, msg_bytes, reply_bytes); in ipc3_tx_msg_unlocked() 355 static int sof_ipc3_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc3_tx_msg() argument 361 if (!msg_data || msg_bytes < sizeof(struct sof_ipc_cmd_hdr)) { in sof_ipc3_tx_msg() 383 ret = ipc3_tx_msg_unlocked(ipc, msg_data, msg_bytes, reply_data, reply_bytes); in sof_ipc3_tx_msg() 390 if (msg_bytes > sizeof(struct sof_ipc_cmd_hdr)) { in sof_ipc3_tx_msg() 394 payload_bytes = msg_bytes - header_bytes; in sof_ipc3_tx_msg() 416 size_t msg_bytes, hdr_bytes, payload_size, send_bytes; in sof_ipc3_set_get_data() local 472 msg_bytes = cdata->rhdr.hdr.size - hdr_bytes; in sof_ipc3_set_get_data() 474 num_msg = DIV_ROUND_UP(msg_bytes, payload_size); in sof_ipc3_set_get_data() [all …]
|
D | ipc3-control.c | 24 u32 ipc_cmd, msg_bytes; in sof_ipc3_set_get_kcontrol_data() local 78 msg_bytes = scontrol->num_channels * in sof_ipc3_set_get_kcontrol_data() 80 msg_bytes += sizeof(struct sof_ipc_ctrl_data); in sof_ipc3_set_get_kcontrol_data() 86 msg_bytes = cdata->data->size; in sof_ipc3_set_get_kcontrol_data() 87 msg_bytes += sizeof(struct sof_ipc_ctrl_data) + in sof_ipc3_set_get_kcontrol_data() 95 cdata->rhdr.hdr.size = msg_bytes; in sof_ipc3_set_get_kcontrol_data()
|
D | ipc4.c | 344 void *msg_data, size_t msg_bytes, in ipc4_tx_msg_unlocked() argument 351 if (msg_bytes > ipc->max_payload_size || reply_bytes > ipc->max_payload_size) in ipc4_tx_msg_unlocked() 356 ret = sof_ipc_send_msg(sdev, msg_data, msg_bytes, reply_bytes); in ipc4_tx_msg_unlocked() 368 static int sof_ipc4_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc4_tx_msg() argument 391 ret = ipc4_tx_msg_unlocked(ipc, msg_data, msg_bytes, reply_data, reply_bytes); in sof_ipc4_tx_msg() 397 if (msg_bytes) in sof_ipc4_tx_msg()
|
/linux-6.12.1/drivers/gpu/drm/gma500/ |
D | cdv_intel_dp.c | 673 int msg_bytes; in cdv_intel_dp_aux_native_write() local 683 msg_bytes = send_bytes + 4; in cdv_intel_dp_aux_native_write() 685 ret = cdv_intel_dp_aux_ch(encoder, msg, msg_bytes, &ack, 1); in cdv_intel_dp_aux_native_write() 713 int msg_bytes; in cdv_intel_dp_aux_native_read() local 724 msg_bytes = 4; in cdv_intel_dp_aux_native_read() 728 ret = cdv_intel_dp_aux_ch(encoder, msg, msg_bytes, in cdv_intel_dp_aux_native_read() 759 int msg_bytes; in cdv_intel_dp_i2c_aux_ch() local 779 msg_bytes = 5; in cdv_intel_dp_i2c_aux_ch() 784 msg_bytes = 4; in cdv_intel_dp_i2c_aux_ch() 788 msg_bytes = 3; in cdv_intel_dp_i2c_aux_ch() [all …]
|