/sound/soc/qcom/qdsp6/ |
D | q6adm.c | 149 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 …]
|
D | q6asm.c | 298 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 …]
|
D | q6apm.c | 92 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 …]
|
D | q6prm.c | 63 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()
|
D | q6core.c | 77 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()
|
D | audioreach.c | 197 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 …]
|
D | q6afe.c | 881 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 …]
|
D | audioreach.h | 687 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,
|
D | q6apm.h | 91 typedef void (*q6apm_cb) (uint32_t opcode, uint32_t token,
|
D | q6apm-dai.c | 102 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()
|
D | q6asm.h | 92 typedef void (*q6asm_cb) (uint32_t opcode, uint32_t token,
|
D | q6asm-dai.c | 181 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/ |
D | vx_cmd.c | 94 rmh->Cmd[0] = vx_dsp_cmds[cmd].opcode; in vx_init_rmh()
|
D | vx_cmd.h | 79 unsigned int opcode; /* command word */ member
|
/sound/pci/pcxhr/ |
D | pcxhr_core.c | 454 u32 opcode; /* command word */ member 721 rmh->cmd[0] = pcxhr_dsp_cmds[cmd].opcode; in pcxhr_init_rmh()
|
/sound/soc/codecs/ |
D | rt5677.c | 563 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()
|