Lines Matching refs:pkt_size

281 				 uint32_t pkt_size, bool cmd_flg,  in q6asm_add_hdr()  argument
287 hdr->pkt_size = pkt_size; in q6asm_add_hdr()
335 int rc, pkt_size; in __q6asm_memory_unmap() local
343 pkt_size = APR_HDR_SIZE + sizeof(*mem_unmap); in __q6asm_memory_unmap()
344 p = kzalloc(pkt_size, GFP_KERNEL); in __q6asm_memory_unmap()
354 pkt->hdr.pkt_size = pkt_size; in __q6asm_memory_unmap()
435 int rc, i, pkt_size; in __q6asm_memory_map_regions() local
448 pkt_size = APR_HDR_SIZE + sizeof(*cmd) + in __q6asm_memory_map_regions()
451 p = kzalloc(pkt_size, GFP_KERNEL); in __q6asm_memory_map_regions()
462 pkt->hdr.pkt_size = pkt_size; in __q6asm_memory_map_regions()
934 int rc, pkt_size; in q6asm_open_write() local
936 pkt_size = APR_HDR_SIZE + sizeof(*open); in q6asm_open_write()
938 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_open_write()
944 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in q6asm_open_write()
1015 int pkt_size, rc; in __q6asm_run() local
1018 pkt_size = APR_HDR_SIZE + sizeof(*run); in __q6asm_run()
1019 p = kzalloc(pkt_size, GFP_ATOMIC); in __q6asm_run()
1026 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in __q6asm_run()
1036 if (rc == pkt_size) in __q6asm_run()
1102 int rc, pkt_size; in q6asm_media_format_block_multi_ch_pcm() local
1104 pkt_size = APR_HDR_SIZE + sizeof(*fmt); in q6asm_media_format_block_multi_ch_pcm()
1105 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_media_format_block_multi_ch_pcm()
1112 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in q6asm_media_format_block_multi_ch_pcm()
1148 int rc, pkt_size; in q6asm_stream_media_format_block_flac() local
1150 pkt_size = APR_HDR_SIZE + sizeof(*fmt); in q6asm_stream_media_format_block_flac()
1151 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_stream_media_format_block_flac()
1158 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in q6asm_stream_media_format_block_flac()
1185 int rc, pkt_size; in q6asm_stream_media_format_block_wma_v9() local
1187 pkt_size = APR_HDR_SIZE + sizeof(*fmt); in q6asm_stream_media_format_block_wma_v9()
1188 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_stream_media_format_block_wma_v9()
1195 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in q6asm_stream_media_format_block_wma_v9()
1223 int rc, pkt_size; in q6asm_stream_media_format_block_wma_v10() local
1225 pkt_size = APR_HDR_SIZE + sizeof(*fmt); in q6asm_stream_media_format_block_wma_v10()
1226 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_stream_media_format_block_wma_v10()
1233 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in q6asm_stream_media_format_block_wma_v10()
1262 int rc, pkt_size; in q6asm_stream_media_format_block_alac() local
1264 pkt_size = APR_HDR_SIZE + sizeof(*fmt); in q6asm_stream_media_format_block_alac()
1265 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_stream_media_format_block_alac()
1272 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in q6asm_stream_media_format_block_alac()
1304 int rc, pkt_size; in q6asm_stream_media_format_block_ape() local
1306 pkt_size = APR_HDR_SIZE + sizeof(*fmt); in q6asm_stream_media_format_block_ape()
1307 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_stream_media_format_block_ape()
1314 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in q6asm_stream_media_format_block_ape()
1344 int rc, pkt_size; in q6asm_stream_remove_silence() local
1346 pkt_size = APR_HDR_SIZE + sizeof(uint32_t); in q6asm_stream_remove_silence()
1347 p = kzalloc(pkt_size, GFP_ATOMIC); in q6asm_stream_remove_silence()
1354 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in q6asm_stream_remove_silence()
1359 if (rc == pkt_size) in q6asm_stream_remove_silence()
1406 int pkt_size, rc; in q6asm_enc_cfg_blk_pcm_format_support() local
1409 pkt_size = APR_HDR_SIZE + sizeof(*enc_cfg); in q6asm_enc_cfg_blk_pcm_format_support()
1410 p = kzalloc(pkt_size, GFP_KERNEL); in q6asm_enc_cfg_blk_pcm_format_support()
1416 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in q6asm_enc_cfg_blk_pcm_format_support()
1459 int pkt_size; in q6asm_read() local
1463 pkt_size = APR_HDR_SIZE + sizeof(*read); in q6asm_read()
1464 p = kzalloc(pkt_size, GFP_ATOMIC); in q6asm_read()
1473 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, false, stream_id); in q6asm_read()
1491 if (rc == pkt_size) in q6asm_read()
1506 int pkt_size, rc; in __q6asm_open_read() local
1509 pkt_size = APR_HDR_SIZE + sizeof(*open); in __q6asm_open_read()
1510 p = kzalloc(pkt_size, GFP_KERNEL); in __q6asm_open_read()
1517 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in __q6asm_open_read()
1581 int pkt_size; in q6asm_write_async() local
1585 pkt_size = APR_HDR_SIZE + sizeof(*write); in q6asm_write_async()
1586 p = kzalloc(pkt_size, GFP_ATOMIC); in q6asm_write_async()
1595 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, false, stream_id); in q6asm_write_async()
1618 if (rc == pkt_size) in q6asm_write_async()