Lines Matching refs:open
849 struct asm_stream_cmd_open_write_v3 *open; in q6asm_open_write() local
854 pkt_size = APR_HDR_SIZE + sizeof(*open); in q6asm_open_write()
861 open = p + APR_HDR_SIZE; in q6asm_open_write()
865 open->mode_flags = 0x00; in q6asm_open_write()
866 open->mode_flags |= ASM_LEGACY_STREAM_SESSION; in q6asm_open_write()
869 open->sink_endpointype = ASM_END_POINT_DEVICE_MATRIX; in q6asm_open_write()
870 open->bits_per_sample = bits_per_sample; in q6asm_open_write()
871 open->postprocopo_id = ASM_NULL_POPP_TOPOLOGY; in q6asm_open_write()
875 open->dec_fmt_id = ASM_MEDIA_FMT_MP3; in q6asm_open_write()
878 open->dec_fmt_id = ASM_MEDIA_FMT_MULTI_CHANNEL_PCM_V2; in q6asm_open_write()
1138 struct asm_stream_cmd_open_read_v3 *open; in __q6asm_open_read() local
1143 pkt_size = APR_HDR_SIZE + sizeof(*open); in __q6asm_open_read()
1149 open = p + APR_HDR_SIZE; in __q6asm_open_read()
1154 open->src_endpointype = ASM_END_POINT_DEVICE_MATRIX; in __q6asm_open_read()
1156 open->preprocopo_id = ASM_STREAM_POSTPROC_TOPO_ID_NONE; in __q6asm_open_read()
1157 open->bits_per_sample = bits_per_sample; in __q6asm_open_read()
1158 open->mode_flags = 0x0; in __q6asm_open_read()
1160 open->mode_flags |= ASM_LEGACY_STREAM_SESSION << in __q6asm_open_read()
1165 open->mode_flags |= 0x00; in __q6asm_open_read()
1166 open->enc_cfg_id = ASM_MEDIA_FMT_MULTI_CHANNEL_PCM_V2; in __q6asm_open_read()