| /sound/soc/qcom/qdsp6/ |
| A D | q6adm.c | 149 switch (hdr->opcode) { 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() 262 (copp->result.opcode == opcode), in q6adm_apr_send_copp_pkt() 530 adm->result.opcode = 0; in q6adm_matrix_map() [all …]
|
| A D | q6asm.c | 299 ac->result.opcode = 0; in q6asm_apr_send_session_pkt() 307 (ac->result.opcode == hdr->opcode) || in q6asm_apr_send_session_pkt() 312 (ac->result.opcode == hdr->opcode), in q6asm_apr_send_session_pkt() 619 switch (hdr->opcode) { in q6asm_stream_callback() 659 result->opcode); in q6asm_stream_callback() 776 switch (hdr->opcode) { in q6asm_srvc_callback() 786 result->opcode); in q6asm_srvc_callback() 792 ac->result.opcode = hdr->opcode; in q6asm_srvc_callback() 797 ac->result.opcode = hdr->opcode; in q6asm_srvc_callback() 887 ac->result.opcode = 0; in q6asm_ac_send_cmd_sync() [all …]
|
| A D | q6apm.c | 525 switch (hdr->opcode) { in graph_callback() 540 graph->result.opcode = hdr->opcode; in graph_callback() 551 graph->result.opcode = hdr->opcode; in graph_callback() 575 graph->result.opcode = hdr->opcode; in graph_callback() 590 switch (result->opcode) { in graph_callback() 592 graph->result.opcode = result->opcode; in graph_callback() 604 graph->result.opcode = result->opcode; in graph_callback() 794 switch (hdr->opcode) { in apm_callback() 796 apm->result.opcode = hdr->opcode; in apm_callback() 811 apm->result.opcode = result->opcode; in apm_callback() [all …]
|
| A D | q6prm.c | 64 uint32_t opcode, rsp_opcode; in q6prm_set_hw_core_req() local 69 opcode = PRM_CMD_REQUEST_HW_RSC; in q6prm_set_hw_core_req() 72 opcode = PRM_CMD_RELEASE_HW_RSC; in q6prm_set_hw_core_req() 76 pkt = audioreach_alloc_cmd_pkt(sizeof(*req), opcode, 0, gdev->svc.id, GPR_PRM_MODULE_IID); in q6prm_set_hw_core_req() 200 switch (hdr->opcode) { in prm_callback() 204 prm->result.opcode = hdr->opcode; in prm_callback()
|
| A 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()
|
| A D | audioreach.c | 229 pkt->hdr.opcode = opcode; in __audioreach_alloc_pkt() 242 void *audioreach_alloc_pkt(int payload_size, uint32_t opcode, uint32_t token, in audioreach_alloc_pkt() argument 256 void *audioreach_alloc_cmd_pkt(int payload_size, uint32_t opcode, uint32_t token, in audioreach_alloc_cmd_pkt() argument 263 void *audioreach_alloc_apm_cmd_pkt(int pkt_size, uint32_t opcode, uint32_t token) in audioreach_alloc_apm_cmd_pkt() argument 265 return __audioreach_alloc_pkt(pkt_size, opcode, token, GPR_APM_MODULE_IID, in audioreach_alloc_apm_cmd_pkt() 562 result->opcode = 0; in audioreach_send_cmd_sync() 576 rc = wait_event_timeout(*cmd_wait, (result->opcode == hdr->opcode) || in audioreach_send_cmd_sync() 577 (result->opcode == rsp_opcode), 5 * HZ); in audioreach_send_cmd_sync() 579 rc = wait_event_timeout(*cmd_wait, (result->opcode == hdr->opcode), 5 * HZ); in audioreach_send_cmd_sync() 582 dev_err(dev, "CMD timeout for [%x] opcode\n", hdr->opcode); in audioreach_send_cmd_sync() [all …]
|
| A D | q6afe.c | 974 switch (hdr->opcode) { in q6afe_callback() 978 res->opcode, res->status); in q6afe_callback() 980 switch (res->opcode) { in q6afe_callback() 996 dev_err(afe->dev, "Unknown cmd 0x%x\n", res->opcode); in q6afe_callback() 1002 afe->result.opcode = hdr->opcode; in q6afe_callback() 1045 result->opcode = 0; in afe_apr_send_pkt() 1101 pkt->hdr.opcode = AFE_SVC_CMD_SET_PARAM; in q6afe_set_param() 1155 pkt->hdr.opcode = AFE_PORT_CMD_SET_PARAM_V2; in q6afe_port_set_param_v2() 1311 pkt->hdr.opcode = AFE_PORT_CMD_DEVICE_STOP; in q6afe_port_stop() 1716 pkt->hdr.opcode = AFE_PORT_CMD_DEVICE_START; in q6afe_port_start() [all …]
|
| A D | audioreach.h | 767 void *audioreach_alloc_apm_cmd_pkt(int pkt_size, uint32_t opcode, uint32_t 770 void *audioreach_alloc_cmd_pkt(int payload_size, uint32_t opcode, 773 void *audioreach_alloc_apm_pkt(int pkt_size, uint32_t opcode, uint32_t token, 775 void *audioreach_alloc_pkt(int payload_size, uint32_t opcode,
|
| A D | q6apm-dai.c | 122 static void event_handler(uint32_t opcode, uint32_t token, void *payload, void *priv) in event_handler() argument 127 switch (opcode) { in event_handler() 146 static void event_handler_compr(uint32_t opcode, uint32_t token, in event_handler_compr() argument 157 switch (opcode) { in event_handler_compr()
|
| A D | q6apm.h | 95 typedef void (*q6apm_cb) (uint32_t opcode, uint32_t token,
|
| A D | q6asm.h | 91 typedef void (*q6asm_cb) (uint32_t opcode, uint32_t token,
|
| A D | q6asm-dai.c | 176 static void event_handler(uint32_t opcode, uint32_t token, in event_handler() argument 182 switch (opcode) { in event_handler() 490 static void compress_event_handler(uint32_t opcode, uint32_t token, in compress_event_handler() argument 501 switch (opcode) { in compress_event_handler()
|
| /sound/usb/ |
| A D | fcp.c | 138 __le32 opcode; member 148 u32 opcode, u16 req_size) in fcp_fill_request_header() argument 153 req->opcode = cpu_to_le32(opcode); in fcp_fill_request_header() 241 if (opcode == FCP_USB_REBOOT && in fcp_usb() 247 opcode, err); in fcp_usb() 254 opcode, err); in fcp_usb() 261 opcode, in fcp_usb() 266 if (req->opcode != resp->opcode) { in fcp_usb() 269 opcode, le32_to_cpu(resp->opcode)); in fcp_usb() 283 opcode, err, resp_buf_size); in fcp_usb() [all …]
|
| /sound/drivers/vx/ |
| A D | vx_cmd.c | 94 rmh->Cmd[0] = vx_dsp_cmds[cmd].opcode; in vx_init_rmh()
|
| A D | vx_cmd.h | 79 unsigned int opcode; /* command word */ member
|
| /sound/pci/pcxhr/ |
| A 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/ |
| A D | rt5677.c | 561 unsigned int addr, unsigned int value, unsigned int opcode) in rt5677_dsp_mode_i2c_write_addr() argument 597 opcode); in rt5677_dsp_mode_i2c_write_addr()
|