Home
last modified time | relevance | path

Searched refs:msg_id (Results 1 – 25 of 111) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_clockpowergating.c170 const uint32_t *msg_id) in smu7_update_clock_gatings() argument
178 switch ((*msg_id & PP_GROUP_MASK) >> PP_GROUP_SHIFT) { in smu7_update_clock_gatings()
180 switch ((*msg_id & PP_BLOCK_MASK) >> PP_BLOCK_SHIFT) { in smu7_update_clock_gatings()
182 if (PP_STATE_SUPPORT_CG & *msg_id) { in smu7_update_clock_gatings()
183 msg = ((*msg_id & PP_STATE_MASK) & PP_STATE_CG) ? in smu7_update_clock_gatings()
192 if (PP_STATE_SUPPORT_LS & *msg_id) { in smu7_update_clock_gatings()
193 msg = (*msg_id & PP_STATE_MASK) & PP_STATE_LS in smu7_update_clock_gatings()
205 if (PP_STATE_SUPPORT_CG & *msg_id) { in smu7_update_clock_gatings()
206 msg = ((*msg_id & PP_STATE_MASK) & PP_STATE_CG) ? in smu7_update_clock_gatings()
216 if (PP_STATE_SUPPORT_LS & *msg_id) { in smu7_update_clock_gatings()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dscmi.h11 TP_PROTO(int transfer_id, u8 msg_id, u8 protocol_id, u16 seq,
13 TP_ARGS(transfer_id, msg_id, protocol_id, seq, poll),
17 __field(u8, msg_id)
25 __entry->msg_id = msg_id;
32 __entry->transfer_id, __entry->msg_id, __entry->protocol_id,
37 TP_PROTO(int transfer_id, u8 msg_id, u8 protocol_id, u16 seq,
39 TP_ARGS(transfer_id, msg_id, protocol_id, seq, status),
43 __field(u8, msg_id)
51 __entry->msg_id = msg_id;
58 __entry->transfer_id, __entry->msg_id, __entry->protocol_id,
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dvenc_ipi_msg.h43 uint32_t msg_id; member
58 uint32_t msg_id; member
82 uint32_t msg_id; member
110 uint32_t msg_id; member
129 uint32_t msg_id; member
147 uint32_t msg_id; member
164 uint32_t msg_id; member
199 uint32_t msg_id; member
215 uint32_t msg_id; member
Dvdec_vpu_if.c45 mtk_vcodec_debug(vpu, "+ id=%X", msg->msg_id); in vpu_dec_ipi_handler()
48 switch (msg->msg_id) { in vpu_dec_ipi_handler()
60 mtk_vcodec_err(vpu, "invalid msg=%X", msg->msg_id); in vpu_dec_ipi_handler()
65 mtk_vcodec_debug(vpu, "- id=%X", msg->msg_id); in vpu_dec_ipi_handler()
90 static int vcodec_send_ap_ipi(struct vdec_vpu_inst *vpu, unsigned int msg_id) in vcodec_send_ap_ipi() argument
95 mtk_vcodec_debug(vpu, "+ id=%X", msg_id); in vcodec_send_ap_ipi()
98 msg.msg_id = msg_id; in vcodec_send_ap_ipi()
102 mtk_vcodec_debug(vpu, "- id=%X ret=%d", msg_id, err); in vcodec_send_ap_ipi()
124 msg.msg_id = AP_IPIMSG_DEC_INIT; in vpu_dec_init()
148 msg.msg_id = AP_IPIMSG_DEC_START; in vpu_dec_start()
Dvdec_ipi_msg.h35 uint32_t msg_id; member
46 uint32_t msg_id; member
58 uint32_t msg_id; member
74 uint32_t msg_id; member
88 uint32_t msg_id; member
Dvenc_vpu_if.c54 msg->msg_id, vpu, msg->status); in vpu_enc_ipi_handler()
61 switch (msg->msg_id) { in vpu_enc_ipi_handler()
73 mtk_vcodec_err(vpu, "unknown msg id %x", msg->msg_id); in vpu_enc_ipi_handler()
128 out.msg_id = AP_IPIMSG_ENC_INIT; in vpu_enc_init()
172 out.base.msg_id = AP_IPIMSG_ENC_SET_PARAM; in vpu_enc_set_param()
240 out.base.msg_id = AP_IPIMSG_ENC_ENCODE; in vpu_enc_encode()
284 out.msg_id = AP_IPIMSG_ENC_DEINIT; in vpu_enc_deinit()
/kernel/linux/linux-5.10/include/drm/
Ddrm_hdcp.h152 u8 msg_id; member
158 u8 msg_id; member
165 u8 msg_id; member
170 u8 msg_id; member
175 u8 msg_id; member
180 u8 msg_id; member
185 u8 msg_id; member
190 u8 msg_id; member
195 u8 msg_id; member
201 u8 msg_id; member
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/
Dmtk_mdp_vpu.c33 unsigned int msg_id = msg->msg_id; in mtk_mdp_vpu_ipi_handler() local
40 switch (msg_id) { in mtk_mdp_vpu_ipi_handler()
51 msg_id); in mtk_mdp_vpu_ipi_handler()
57 msg_id, vpu->failure); in mtk_mdp_vpu_ipi_handler()
96 static int mtk_mdp_vpu_send_ap_ipi(struct mtk_mdp_vpu *vpu, uint32_t msg_id) in mtk_mdp_vpu_send_ap_ipi() argument
101 msg.msg_id = msg_id; in mtk_mdp_vpu_send_ap_ipi()
120 msg.msg_id = AP_MDP_INIT; in mtk_mdp_vpu_init()
Dmtk_mdp_ipi.h32 uint32_t msg_id; member
46 uint32_t msg_id; member
62 uint32_t msg_id; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_dp_hdcp.c263 u8 msg_id; member
268 u8 msg_id; member
332 u8 msg_id, bool *msg_ready) in hdcp2_detect_msg_availability() argument
342 switch (msg_id) { in hdcp2_detect_msg_availability()
356 DRM_ERROR("Unidentified msg_id: %d\n", msg_id); in hdcp2_detect_msg_availability()
370 u8 msg_id = hdcp2_msg_data->msg_id; in intel_dp_hdcp2_wait_for_msg() local
374 if (msg_id == HDCP_2_2_AKE_SEND_HPRIME && !hdcp->is_paired) in intel_dp_hdcp2_wait_for_msg()
393 msg_id, &msg_ready); in intel_dp_hdcp2_wait_for_msg()
401 hdcp2_msg_data->msg_id, ret, timeout); in intel_dp_hdcp2_wait_for_msg()
406 static const struct hdcp2_dp_msg_data *get_hdcp2_dp_msg_data(u8 msg_id) in get_hdcp2_dp_msg_data() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mgmt.c130 u16 cmd, u16 msg_id) in prepare_header() argument
145 HINIC_MSG_HEADER_SET(msg_id, MSG_ID); in prepare_header()
209 u16 msg_id; in send_msg_to_mgmt() local
211 msg_id = SYNC_MSG_ID(pf_to_mgmt); in send_msg_to_mgmt()
219 direction, cmd, msg_id); in send_msg_to_mgmt()
257 u16 msg_id; in msg_to_mgmt_sync() local
267 msg_id = SYNC_MSG_ID(pf_to_mgmt); in msg_to_mgmt_sync()
269 msg_id = resp_msg_id; in msg_to_mgmt_sync()
283 dev_err(&pdev->dev, "MGMT timeout, MSG id = %d\n", msg_id); in msg_to_mgmt_sync()
291 if (recv_msg->msg_id != msg_id) { in msg_to_mgmt_sync()
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
Dsst_ipc.c29 u32 msg_id, u32 drv_id) in sst_create_block() argument
39 msg->msg_id = msg_id; in sst_create_block()
72 dev_dbg(ctx->dev, "Block ipc %d, drv_id %d\n", block->msg_id, in sst_wake_up_block()
74 if (block->msg_id == ipc && block->drv_id == drv_id) { in sst_wake_up_block()
251 u32 msg_id; in process_fw_async_msg() local
259 msg_id = ((struct ipc_dsp_hdr *)msg->mailbox_data)->cmd_id; in process_fw_async_msg()
263 switch (msg_id) { in process_fw_async_msg()
314 "Unrecognized async msg from FW msg_id %#x\n", msg_id); in process_fw_async_msg()
349 msg_high.part.msg_id, NULL, 0); in sst_process_reply_mrfld()
367 msg_high.part.msg_id, data, msg_low)) in sst_process_reply_mrfld()
[all …]
Dsst_pvt.c125 block->condition, block->msg_id, block->drv_id); in sst_wait_timeout()
139 block->condition, block->msg_id, sst_drv_ctx->sst_state); in sst_wait_timeout()
188 u32 msg_id, u32 drv_id) in sst_create_block_and_ipc_msg() argument
195 *block = sst_create_block(sst_drv_ctx, msg_id, drv_id); in sst_create_block_and_ipc_msg()
306 header->p.header_high.part.msg_id = msg; in sst_fill_header_mrfld()
/kernel/linux/linux-5.10/include/linux/soc/qcom/
Dqmi.h28 u16 msg_id; member
190 unsigned int msg_id; member
251 struct qmi_txn *txn, int msg_id, size_t len,
254 struct qmi_txn *txn, int msg_id, size_t len,
257 int msg_id, size_t len, struct qmi_elem_info *ei,
260 void *qmi_encode_message(int type, unsigned int msg_id, size_t *len,
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dsocket_adapter.c76 idr_remove(&con->msg_idr, msg_wq->head.msg_id); in msg_release()
218 head.msg_id = cmd->msg_id; in hmdfs_sendmessage_response()
240 idr_remove(&peer->msg_idr, mp->head.msg_id); in mp_release()
339 head.msg_id = cpu_to_le32(mp->head.msg_id); in hmdfs_send_async_request()
447 head->msg_id = cpu_to_le32(msg_wq->head.msg_id); in hmdfs_sendmessage_request()
460 con->device_id, head->msg_id); in hmdfs_sendmessage_request()
487 con->device_id, head->msg_id, in hmdfs_sendmessage_request()
532 head.msg_id = cmd->msg_id; in hmdfs_send_slice()
607 idr_remove(&peer->msg_idr, asw->head.msg_id); in asw_release()
625 async_work->head.msg_id); in hmdfs_recv_page_work_fn()
[all …]
/kernel/linux/linux-5.10/sound/soc/sof/
Dipc.c21 static void ipc_trace_message(struct snd_sof_dev *sdev, u32 msg_id);
344 void snd_sof_ipc_reply(struct snd_sof_dev *sdev, u32 msg_id) in snd_sof_ipc_reply() argument
351 msg_id); in snd_sof_ipc_reply()
418 static void ipc_trace_message(struct snd_sof_dev *sdev, u32 msg_id) in ipc_trace_message() argument
422 switch (msg_id) { in ipc_trace_message()
430 msg_id); in ipc_trace_message()
439 static void ipc_period_elapsed(struct snd_sof_dev *sdev, u32 msg_id) in ipc_period_elapsed() argument
447 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc_period_elapsed()
451 msg_id); in ipc_period_elapsed()
469 static void ipc_xrun(struct snd_sof_dev *sdev, u32 msg_id) in ipc_xrun() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/hdcp/
Dhdcp_msg.c133 uint8_t offset = hdcp_i2c_offsets[message_info->msg_id]; in hdmi_14_process_transaction()
152 if (hdcp_cmd_is_read[message_info->msg_id]) { in hdmi_14_process_transaction()
317 hdcp_dpcd_addrs[message_info->msg_id], in dp_11_process_transaction()
318 hdcp_cmd_is_read[message_info->msg_id]); in dp_11_process_transaction()
384 if (message_info->msg_id < HDCP_MESSAGE_ID_READ_BKSV || in dc_process_hdcp_msg()
385 message_info->msg_id >= HDCP_MESSAGE_ID_MAX) in dc_process_hdcp_msg()
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dsmd-rpm.c57 __le32 msg_id; member
77 __le32 msg_id; member
102 static unsigned msg_id = 1; in qcom_rpm_smd_write() local
125 pkt->req.msg_id = cpu_to_le32(msg_id++); in qcom_rpm_smd_write()
Dqmi_interface.c402 handler->msg_id == hdr->msg_id) in qmi_invoke_handler()
738 int type, int msg_id, size_t len, in qmi_send_message() argument
747 msg_id, &len, in qmi_send_message()
789 struct qmi_txn *txn, int msg_id, size_t len, in qmi_send_request() argument
792 return qmi_send_message(qmi, sq, txn, QMI_REQUEST, msg_id, len, ei, in qmi_send_request()
810 struct qmi_txn *txn, int msg_id, size_t len, in qmi_send_response() argument
813 return qmi_send_message(qmi, sq, txn, QMI_RESPONSE, msg_id, len, ei, in qmi_send_response()
830 int msg_id, size_t len, struct qmi_elem_info *ei, in qmi_send_indication() argument
841 rval = qmi_send_message(qmi, sq, &txn, QMI_INDICATION, msg_id, len, ei, in qmi_send_indication()
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbfi.h24 u8 msg_id; /*!< msg opcode with in the class */ member
40 (_mh).msg_id = (_op); \
46 (_mh).msg_id = (_op); \
388 u8 msg_id; member
397 (_mh).msg_id = (_mid); \
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dhtc.h169 __le16 msg_id; member
185 __le16 msg_id; member
194 __le16 msg_id; member
204 __le16 msg_id; member
209 __le16 msg_id; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Dvi.c1498 uint32_t msg_id, pp_state = 0; in vi_common_set_clockgating_state_by_smu() local
1513 msg_id = PP_CG_MSG_ID(PP_GROUP_SYS, in vi_common_set_clockgating_state_by_smu()
1517 amdgpu_dpm_set_clockgating_by_smu(adev, msg_id); in vi_common_set_clockgating_state_by_smu()
1531 msg_id = PP_CG_MSG_ID(PP_GROUP_SYS, in vi_common_set_clockgating_state_by_smu()
1535 amdgpu_dpm_set_clockgating_by_smu(adev, msg_id); in vi_common_set_clockgating_state_by_smu()
1549 msg_id = PP_CG_MSG_ID(PP_GROUP_SYS, in vi_common_set_clockgating_state_by_smu()
1553 amdgpu_dpm_set_clockgating_by_smu(adev, msg_id); in vi_common_set_clockgating_state_by_smu()
1563 msg_id = PP_CG_MSG_ID(PP_GROUP_SYS, in vi_common_set_clockgating_state_by_smu()
1567 amdgpu_dpm_set_clockgating_by_smu(adev, msg_id); in vi_common_set_clockgating_state_by_smu()
1575 msg_id = PP_CG_MSG_ID(PP_GROUP_SYS, in vi_common_set_clockgating_state_by_smu()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/
Drtrs-srv.c232 dma_addr_t dma_addr = sess->dma_addr[id->msg_id]; in rdma_write_sg()
318 srv_mr = &sess->mrs[id->msg_id]; in rdma_write_sg()
328 msg->buf_id = cpu_to_le16(id->msg_id); in rdma_write_sg()
347 imm_wr.wr.ex.imm_data = cpu_to_be32(rtrs_to_io_rsp_imm(id->msg_id, in rdma_write_sg()
431 imm = rtrs_to_io_rsp_imm(id->msg_id, errno, need_inval); in send_io_resp_imm()
437 srv_mr = &sess->mrs[id->msg_id]; in send_io_resp_imm()
448 msg->buf_id = cpu_to_le16(id->msg_id); in send_io_resp_imm()
539 struct rtrs_srv_mr *mr = &sess->mrs[id->msg_id]; in rtrs_srv_resp_rdma()
1009 id->msg_id = buf_id; in process_read()
1062 id->msg_id = buf_id; in process_write()
[all …]
Drtrs-pri.h353 static inline u32 rtrs_to_io_rsp_imm(u32 msg_id, int errno, bool w_inval) in rtrs_to_io_rsp_imm() argument
359 payload = (abs(errno) & 0x1ff) << 19 | (msg_id & 0x7ffff); in rtrs_to_io_rsp_imm()
365 static inline void rtrs_from_io_rsp_imm(u32 payload, u32 *msg_id, int *errno) in rtrs_from_io_rsp_imm() argument
368 *msg_id = payload & 0x7ffff; in rtrs_from_io_rsp_imm()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_ddc.c151 enum mod_hdcp_ddc_message_id msg_id, in read() argument
163 hdcp_dpcd_addrs[msg_id] + data_offset, in read()
177 hdcp_i2c_offsets[msg_id], in read()
186 enum mod_hdcp_ddc_message_id msg_id, in read_repeatedly() argument
197 status = read(hdcp, msg_id, buf + data_offset, cur_size); in read_repeatedly()
210 enum mod_hdcp_ddc_message_id msg_id, in write() argument
223 hdcp_dpcd_addrs[msg_id] + data_offset, in write()
234 hdcp->buf[0] = hdcp_i2c_offsets[msg_id]; in write()

12345