Home
last modified time | relevance | path

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

123

/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu7_clockpowergating.c165 const uint32_t *msg_id) in smu7_update_clock_gatings() argument
173 switch ((*msg_id & PP_GROUP_MASK) >> PP_GROUP_SHIFT) { in smu7_update_clock_gatings()
175 switch ((*msg_id & PP_BLOCK_MASK) >> PP_BLOCK_SHIFT) { in smu7_update_clock_gatings()
177 if (PP_STATE_SUPPORT_CG & *msg_id) { in smu7_update_clock_gatings()
178 msg = ((*msg_id & PP_STATE_MASK) & PP_STATE_CG) ? in smu7_update_clock_gatings()
187 if (PP_STATE_SUPPORT_LS & *msg_id) { in smu7_update_clock_gatings()
188 msg = (*msg_id & PP_STATE_MASK) & PP_STATE_LS in smu7_update_clock_gatings()
200 if (PP_STATE_SUPPORT_CG & *msg_id) { in smu7_update_clock_gatings()
201 msg = ((*msg_id & PP_STATE_MASK) & PP_STATE_CG) ? in smu7_update_clock_gatings()
211 if (PP_STATE_SUPPORT_LS & *msg_id) { in smu7_update_clock_gatings()
[all …]
/drivers/media/platform/mtk-vcodec/
Dvenc_ipi_msg.h43 uint32_t msg_id; member
58 uint32_t msg_id; member
77 uint32_t msg_id; member
92 uint32_t msg_id; member
111 uint32_t msg_id; member
128 uint32_t msg_id; member
145 uint32_t msg_id; member
180 uint32_t msg_id; member
196 uint32_t msg_id; member
Dvdec_vpu_if.c37 mtk_vcodec_debug(vpu, "+ id=%X", msg->msg_id); in vpu_dec_ipi_handler()
40 switch (msg->msg_id) { in vpu_dec_ipi_handler()
52 mtk_vcodec_err(vpu, "invalid msg=%X", msg->msg_id); in vpu_dec_ipi_handler()
57 mtk_vcodec_debug(vpu, "- id=%X", msg->msg_id); in vpu_dec_ipi_handler()
81 static int vcodec_send_ap_ipi(struct vdec_vpu_inst *vpu, unsigned int msg_id) in vcodec_send_ap_ipi() argument
86 mtk_vcodec_debug(vpu, "+ id=%X", msg_id); in vcodec_send_ap_ipi()
89 msg.msg_id = msg_id; in vcodec_send_ap_ipi()
93 mtk_vcodec_debug(vpu, "- id=%X ret=%d", msg_id, err); in vcodec_send_ap_ipi()
113 msg.msg_id = AP_IPIMSG_DEC_INIT; in vpu_dec_init()
137 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.c35 msg->msg_id, vpu, msg->status); in vpu_enc_ipi_handler()
37 switch (msg->msg_id) { in vpu_enc_ipi_handler()
49 mtk_vcodec_err(vpu, "unknown msg id %x", msg->msg_id); in vpu_enc_ipi_handler()
104 out.msg_id = AP_IPIMSG_ENC_INIT; in vpu_enc_init()
125 out.msg_id = AP_IPIMSG_ENC_SET_PARAM; in vpu_enc_set_param()
179 out.msg_id = AP_IPIMSG_ENC_ENCODE; in vpu_enc_encode()
217 out.msg_id = AP_IPIMSG_ENC_DEINIT; in vpu_enc_deinit()
/drivers/media/platform/mtk-mdp/
Dmtk_mdp_vpu.c31 unsigned int msg_id = *(unsigned int *)data; in mtk_mdp_vpu_ipi_handler() local
39 switch (msg_id) { in mtk_mdp_vpu_ipi_handler()
50 msg_id); in mtk_mdp_vpu_ipi_handler()
56 msg_id, vpu->failure); in mtk_mdp_vpu_ipi_handler()
95 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
100 msg.msg_id = msg_id; in mtk_mdp_vpu_send_ap_ipi()
119 msg.msg_id = AP_MDP_INIT; in mtk_mdp_vpu_init()
Dmtk_mdp_ipi.h32 uint32_t msg_id; member
45 uint32_t msg_id; member
60 uint32_t msg_id; member
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mgmt.c122 u16 cmd, u16 msg_id) in prepare_header() argument
137 HINIC_MSG_HEADER_SET(msg_id, MSG_ID); in prepare_header()
201 u16 msg_id; in send_msg_to_mgmt() local
203 msg_id = SYNC_MSG_ID(pf_to_mgmt); in send_msg_to_mgmt()
211 direction, cmd, msg_id); in send_msg_to_mgmt()
247 u16 msg_id; in msg_to_mgmt_sync() local
257 msg_id = SYNC_MSG_ID(pf_to_mgmt); in msg_to_mgmt_sync()
259 msg_id = resp_msg_id; in msg_to_mgmt_sync()
271 dev_err(&pdev->dev, "MGMT timeout, MSG id = %d\n", msg_id); in msg_to_mgmt_sync()
278 if (recv_msg->msg_id != msg_id) { in msg_to_mgmt_sync()
[all …]
/drivers/soc/qcom/
Dsmd-rpm.c54 __le32 msg_id; member
74 __le32 msg_id; member
98 static unsigned msg_id = 1; in qcom_rpm_smd_write() local
121 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()
734 int type, int msg_id, size_t len, in qmi_send_message() argument
743 msg_id, &len, in qmi_send_message()
785 struct qmi_txn *txn, int msg_id, size_t len, in qmi_send_request() argument
788 return qmi_send_message(qmi, sq, txn, QMI_REQUEST, msg_id, len, ei, in qmi_send_request()
806 struct qmi_txn *txn, int msg_id, size_t len, in qmi_send_response() argument
809 return qmi_send_message(qmi, sq, txn, QMI_RESPONSE, msg_id, len, ei, in qmi_send_response()
826 int msg_id, size_t len, struct qmi_elem_info *ei, in qmi_send_indication() argument
837 rval = qmi_send_message(qmi, sq, &txn, QMI_INDICATION, msg_id, len, ei, in qmi_send_indication()
/drivers/gpu/drm/amd/amdgpu/
Dvi.c1447 uint32_t msg_id, pp_state = 0; in vi_common_set_clockgating_state_by_smu() local
1462 msg_id = PP_CG_MSG_ID(PP_GROUP_SYS, in vi_common_set_clockgating_state_by_smu()
1467 amdgpu_dpm_set_clockgating_by_smu(adev, msg_id); in vi_common_set_clockgating_state_by_smu()
1481 msg_id = PP_CG_MSG_ID(PP_GROUP_SYS, in vi_common_set_clockgating_state_by_smu()
1486 amdgpu_dpm_set_clockgating_by_smu(adev, msg_id); in vi_common_set_clockgating_state_by_smu()
1500 msg_id = PP_CG_MSG_ID(PP_GROUP_SYS, in vi_common_set_clockgating_state_by_smu()
1505 amdgpu_dpm_set_clockgating_by_smu(adev, msg_id); in vi_common_set_clockgating_state_by_smu()
1515 msg_id = PP_CG_MSG_ID(PP_GROUP_SYS, in vi_common_set_clockgating_state_by_smu()
1520 amdgpu_dpm_set_clockgating_by_smu(adev, msg_id); in vi_common_set_clockgating_state_by_smu()
1528 msg_id = PP_CG_MSG_ID(PP_GROUP_SYS, in vi_common_set_clockgating_state_by_smu()
[all …]
/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); \
/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
/drivers/staging/wilc1000/
Dwilc_wlan_cfg.c355 u8 msg_id; in wilc_wlan_cfg_indicate_rx() local
358 msg_id = frame[1]; /* seq no */ in wilc_wlan_cfg_indicate_rx()
374 rsp->seq_no = msg_id; in wilc_wlan_cfg_indicate_rx()
380 rsp->seq_no = msg_id; in wilc_wlan_cfg_indicate_rx()
394 rsp->seq_no = msg_id; in wilc_wlan_cfg_indicate_rx()
/drivers/net/wireless/ath/ath9k/
Dhtc_hst.h175 __be16 msg_id; member
192 __be16 msg_id; member
202 __be16 msg_id; member
Dhtc_hst.c198 comp_msg->msg_id = cpu_to_be16(HTC_MSG_SETUP_COMPLETE_ID); in htc_setup_complete()
269 conn_msg->msg_id = cpu_to_be16(HTC_MSG_CONNECT_SERVICE_ID); in htc_connect_service()
402 __be16 *msg_id; in ath9k_htc_rx_msg() local
434 msg_id = (__be16 *) ((void *) htc_hdr + in ath9k_htc_rx_msg()
438 switch (be16_to_cpu(*msg_id)) { in ath9k_htc_rx_msg()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_tlv.c13 s32 fm10k_tlv_msg_init(u32 *msg, u16 msg_id) in fm10k_tlv_msg_init() argument
19 *msg = (FM10K_TLV_FLAGS_MSG << FM10K_TLV_FLAGS_SHIFT) | msg_id; in fm10k_tlv_msg_init()
549 u32 msg_id; in fm10k_tlv_msg_parse() local
561 msg_id = *msg & FM10K_TLV_ID_MASK; in fm10k_tlv_msg_parse()
563 while (data->id < msg_id) in fm10k_tlv_msg_parse()
567 if (data->id != msg_id) { in fm10k_tlv_msg_parse()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/
Drv1_clk_mgr_vbios_smu.c71 int rv1_vbios_smu_send_msg_with_param(struct clk_mgr_internal *clk_mgr, unsigned int msg_id, unsign… in rv1_vbios_smu_send_msg_with_param() argument
80 REG_WRITE(MP1_SMN_C2PMSG_67, msg_id); in rv1_vbios_smu_send_msg_with_param()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr_vbios_smu.c56 int rn_vbios_smu_send_msg_with_param(struct clk_mgr_internal *clk_mgr, unsigned int msg_id, unsigne… in rn_vbios_smu_send_msg_with_param() argument
65 REG_WRITE(MP1_SMN_C2PMSG_67, msg_id); in rn_vbios_smu_send_msg_with_param()
/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.c862 rpc_size = sizeof(prpc->msg_id) + sizeof(prpc->msg_wol); in aq_fw1x_set_wol()
864 prpc->msg_id = HAL_ATLANTIC_UTILS_FW_MSG_WOL_ADD; in aq_fw1x_set_wol()
874 rpc_size = sizeof(prpc->msg_id) + sizeof(prpc->msg_del_id); in aq_fw1x_set_wol()
876 prpc->msg_id = HAL_ATLANTIC_UTILS_FW_MSG_WOL_DEL; in aq_fw1x_set_wol()
900 rpc_size = sizeof(prpc->msg_id) + in aq_fw1x_set_power()
910 prpc->msg_id = HAL_ATLANTIC_UTILS_FW_MSG_ENABLE_WAKEUP; in aq_fw1x_set_power()
Dhw_atl_utils_fw2x.c56 u32 msg_id; member
354 rpc_size = sizeof(rpc->msg_id) + sizeof(*cfg); in aq_fw2x_set_sleep_proxy()
361 cfg = (struct offload_info *)(&rpc->msg_id + 1); in aq_fw2x_set_sleep_proxy()
406 msg->msg_id = HAL_ATLANTIC_UTILS_FW2X_MSG_WOL; in aq_fw2x_set_wol_params()
/drivers/misc/mei/hdcp/
Dmei_hdcp.c96 ake_data->msg_id = HDCP_2_2_AKE_INIT; in mei_hdcp_initiate_session()
170 ek_pub_km->msg_id = HDCP_2_2_AKE_STORED_KM; in mei_hdcp_verify_receiver_cert_prepare_km()
173 ek_pub_km->msg_id = HDCP_2_2_AKE_NO_STORED_KM; in mei_hdcp_verify_receiver_cert_prepare_km()
346 lc_init_data->msg_id = HDCP_2_2_LC_INIT; in mei_hdcp_initiate_locality_check()
459 ske_data->msg_id = HDCP_2_2_SKE_SEND_EKS; in mei_hdcp_get_session_key()
536 rep_send_ack->msg_id = HDCP_2_2_REP_SEND_ACK; in mei_hdcp_repeater_check_flow_prepare_ack()
/drivers/net/wireless/ath/wcn36xx/
Dtestmode.c60 msg->msg_id, msg->msg_body_length, in wcn36xx_tm_cmd_ptt()
65 if (msg->msg_id == MSG_GET_BUILD_RELEASE_NUMBER) { in wcn36xx_tm_cmd_ptt()
/drivers/tty/
Dn_r3964.c122 static void add_msg(struct r3964_client_info *pClient, int msg_id, int arg,
844 static void add_msg(struct r3964_client_info *pClient, int msg_id, int arg, in add_msg() argument
862 pMsg->msg_id = msg_id; in add_msg()
882 if ((pClient->last_msg->msg_id == R3964_MSG_ACK) in add_msg()
887 msg_id = R3964_MSG_ACK; in add_msg()
1105 theMsg.msg_id = pMsg->msg_id; in r3964_read()
/drivers/gpu/drm/i915/display/
Dintel_hdmi.c1518 u8 msg_id; member
1550 static int get_hdcp2_msg_timeout(u8 msg_id, bool is_paired) in get_hdcp2_msg_timeout() argument
1555 if (hdcp2_msg_data[i].msg_id == msg_id && in get_hdcp2_msg_timeout()
1556 (msg_id != HDCP_2_2_AKE_SEND_HPRIME || is_paired)) in get_hdcp2_msg_timeout()
1558 else if (hdcp2_msg_data[i].msg_id == msg_id) in get_hdcp2_msg_timeout()
1566 u8 msg_id, bool *msg_ready, in hdcp2_detect_msg_availability() argument
1581 if (msg_id == HDCP_2_2_REP_SEND_RECVID_LIST) in hdcp2_detect_msg_availability()
1592 u8 msg_id, bool paired) in intel_hdmi_hdcp2_wait_for_msg() argument
1598 timeout = get_hdcp2_msg_timeout(msg_id, paired); in intel_hdmi_hdcp2_wait_for_msg()
1603 msg_id, &msg_ready, in intel_hdmi_hdcp2_wait_for_msg()
[all …]

123