Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 16 of 16) sorted by relevance

/sound/soc/qcom/qdsp6/
Dq6adm.c149 switch (hdr->opcode) { in q6adm_callback()
153 result->opcode, result->status); in q6adm_callback()
155 switch (result->opcode) { in q6adm_callback()
173 result->opcode); in q6adm_callback()
197 copp->result.opcode = hdr->opcode; in q6adm_callback()
205 hdr->opcode); in q6adm_callback()
241 uint32_t opcode = pkt->hdr.opcode; in q6adm_apr_send_copp_pkt() local
245 copp->result.opcode = 0; in q6adm_apr_send_copp_pkt()
257 (copp->result.opcode == opcode) || in q6adm_apr_send_copp_pkt()
258 (copp->result.opcode == rsp_opcode), in q6adm_apr_send_copp_pkt()
[all …]
Dq6asm.c298 ac->result.opcode = 0; in q6asm_apr_send_session_pkt()
306 (ac->result.opcode == hdr->opcode) || in q6asm_apr_send_session_pkt()
307 (ac->result.opcode == rsp_opcode), in q6asm_apr_send_session_pkt()
311 (ac->result.opcode == hdr->opcode), in q6asm_apr_send_session_pkt()
315 dev_err(a->dev, "CMD %x timeout\n", hdr->opcode); in q6asm_apr_send_session_pkt()
356 pkt->hdr.opcode = ASM_CMD_SHARED_MEM_UNMAP_REGIONS; in __q6asm_memory_unmap()
463 pkt->hdr.opcode = ASM_CMD_SHARED_MEM_MAP_REGIONS; in __q6asm_memory_map_regions()
618 switch (hdr->opcode) { in q6asm_stream_callback()
620 switch (result->opcode) { in q6asm_stream_callback()
649 result->opcode, result->status); in q6asm_stream_callback()
[all …]
Dq6apm.c92 static int audioreach_graph_mgmt_cmd(struct audioreach_graph *graph, uint32_t opcode) in audioreach_graph_mgmt_cmd() argument
105 pkt = audioreach_alloc_apm_cmd_pkt(payload_size, opcode, 0); in audioreach_graph_mgmt_cmd()
516 switch (hdr->opcode) { in graph_callback()
530 graph->result.opcode = hdr->opcode; in graph_callback()
541 graph->result.opcode = hdr->opcode; in graph_callback()
563 graph->result.opcode = hdr->opcode; in graph_callback()
575 switch (result->opcode) { in graph_callback()
577 graph->result.opcode = result->opcode; in graph_callback()
589 graph->result.opcode = result->opcode; in graph_callback()
593 result->status, result->opcode); in graph_callback()
[all …]
Dq6prm.c63 uint32_t opcode, rsp_opcode; in q6prm_set_hw_core_req() local
68 opcode = PRM_CMD_REQUEST_HW_RSC; in q6prm_set_hw_core_req()
71 opcode = PRM_CMD_RELEASE_HW_RSC; in q6prm_set_hw_core_req()
75 pkt = audioreach_alloc_cmd_pkt(sizeof(*req), opcode, 0, gdev->svc.id, GPR_PRM_MODULE_IID); in q6prm_set_hw_core_req()
199 switch (hdr->opcode) { in prm_callback()
203 prm->result.opcode = hdr->opcode; in prm_callback()
Dq6core.c77 switch (hdr->opcode) { in q6core_callback()
80 switch (result->opcode) { in q6core_callback()
135 core->avcs_state = result->opcode; in q6core_callback()
141 hdr->opcode); in q6core_callback()
160 pkt.hdr.opcode = AVCS_CMD_GET_FWK_VERSION; in q6core_get_fwk_versions()
190 pkt.hdr.opcode = AVCS_GET_VERSIONS; in q6core_get_svc_versions()
217 pkt.hdr.opcode = AVCS_CMD_ADSP_EVENT_GET_STATE; in __q6core_is_adsp_ready()
Daudioreach.c197 static void *__audioreach_alloc_pkt(int payload_size, uint32_t opcode, uint32_t token, in __audioreach_alloc_pkt() argument
221 pkt->hdr.opcode = opcode; in __audioreach_alloc_pkt()
234 void *audioreach_alloc_pkt(int payload_size, uint32_t opcode, uint32_t token, in audioreach_alloc_pkt() argument
237 return __audioreach_alloc_pkt(payload_size, opcode, token, src_port, dest_port, false); in audioreach_alloc_pkt()
241 void *audioreach_alloc_apm_pkt(int pkt_size, uint32_t opcode, uint32_t token, uint32_t src_port) in audioreach_alloc_apm_pkt() argument
243 return __audioreach_alloc_pkt(pkt_size, opcode, token, src_port, APM_MODULE_INSTANCE_ID, in audioreach_alloc_apm_pkt()
248 void *audioreach_alloc_cmd_pkt(int payload_size, uint32_t opcode, uint32_t token, in audioreach_alloc_cmd_pkt() argument
251 return __audioreach_alloc_pkt(payload_size, opcode, token, src_port, dest_port, true); in audioreach_alloc_cmd_pkt()
255 void *audioreach_alloc_apm_cmd_pkt(int pkt_size, uint32_t opcode, uint32_t token) in audioreach_alloc_apm_cmd_pkt() argument
257 return __audioreach_alloc_pkt(pkt_size, opcode, token, GPR_APM_MODULE_IID, in audioreach_alloc_apm_cmd_pkt()
[all …]
Dq6afe.c881 switch (hdr->opcode) { in q6afe_callback()
885 res->opcode, res->status); in q6afe_callback()
887 switch (res->opcode) { in q6afe_callback()
903 dev_err(afe->dev, "Unknown cmd 0x%x\n", res->opcode); in q6afe_callback()
909 afe->result.opcode = hdr->opcode; in q6afe_callback()
952 result->opcode = 0; in afe_apr_send_pkt()
962 ret = wait_event_timeout(*wait, (result->opcode == rsp_opcode), in afe_apr_send_pkt()
1008 pkt->hdr.opcode = AFE_SVC_CMD_SET_PARAM; in q6afe_set_param()
1062 pkt->hdr.opcode = AFE_PORT_CMD_SET_PARAM_V2; in q6afe_port_set_param_v2()
1218 pkt->hdr.opcode = AFE_PORT_CMD_DEVICE_STOP; in q6afe_port_stop()
[all …]
Daudioreach.h687 void *audioreach_alloc_apm_cmd_pkt(int pkt_size, uint32_t opcode, uint32_t
689 void *audioreach_alloc_cmd_pkt(int payload_size, uint32_t opcode,
692 void *audioreach_alloc_apm_pkt(int pkt_size, uint32_t opcode, uint32_t token,
694 void *audioreach_alloc_pkt(int payload_size, uint32_t opcode,
Dq6apm.h91 typedef void (*q6apm_cb) (uint32_t opcode, uint32_t token,
Dq6apm-dai.c102 static void event_handler(uint32_t opcode, uint32_t token, uint32_t *payload, void *priv) in event_handler() argument
108 switch (opcode) { in event_handler()
Dq6asm.h92 typedef void (*q6asm_cb) (uint32_t opcode, uint32_t token,
Dq6asm-dai.c181 static void event_handler(uint32_t opcode, uint32_t token, in event_handler() argument
187 switch (opcode) { in event_handler()
500 static void compress_event_handler(uint32_t opcode, uint32_t token, in compress_event_handler() argument
511 switch (opcode) { in compress_event_handler()
/sound/drivers/vx/
Dvx_cmd.c94 rmh->Cmd[0] = vx_dsp_cmds[cmd].opcode; in vx_init_rmh()
Dvx_cmd.h79 unsigned int opcode; /* command word */ member
/sound/pci/pcxhr/
Dpcxhr_core.c454 u32 opcode; /* command word */ member
721 rmh->cmd[0] = pcxhr_dsp_cmds[cmd].opcode; in pcxhr_init_rmh()
/sound/soc/codecs/
Drt5677.c563 unsigned int addr, unsigned int value, unsigned int opcode) in rt5677_dsp_mode_i2c_write_addr() argument
599 opcode); in rt5677_dsp_mode_i2c_write_addr()