Lines Matching refs:cmd
425 struct avs_cmd_shared_mem_map_regions *cmd = NULL; in __q6asm_memory_map_regions() local
447 pkt_size = APR_HDR_SIZE + sizeof(*cmd) + in __q6asm_memory_map_regions()
455 cmd = p + APR_HDR_SIZE; in __q6asm_memory_map_regions()
456 mregions = p + APR_HDR_SIZE + sizeof(*cmd); in __q6asm_memory_map_regions()
465 cmd->mem_pool_id = ADSP_MEMORY_MAP_SHMEM8_4K_POOL; in __q6asm_memory_map_regions()
466 cmd->num_regions = num_regions; in __q6asm_memory_map_regions()
467 cmd->property_flag = 0x00; in __q6asm_memory_map_regions()
1337 uint32_t cmd, in q6asm_stream_remove_silence() argument
1355 pkt->hdr.opcode = cmd; in q6asm_stream_remove_silence()
1638 static int __q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd, in __q6asm_cmd() argument
1646 switch (cmd) { in __q6asm_cmd()
1677 if (cmd == CMD_FLUSH) in __q6asm_cmd()
1692 int q6asm_cmd(struct audio_client *ac, uint32_t stream_id, int cmd) in q6asm_cmd() argument
1694 return __q6asm_cmd(ac, stream_id, cmd, true); in q6asm_cmd()
1707 int q6asm_cmd_nowait(struct audio_client *ac, uint32_t stream_id, int cmd) in q6asm_cmd_nowait() argument
1709 return __q6asm_cmd(ac, stream_id, cmd, false); in q6asm_cmd_nowait()