Lines Matching full:param

119 	const struct bin_test_param *param = test->param_value;  in bin_patch_one_word()  local
128 bin_test_mock_algs[param->alg_idx].id, in bin_patch_one_word()
129 param->mem_type); in bin_patch_one_word()
132 bin_test_mock_algs[param->alg_idx].id, in bin_patch_one_word()
133 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_one_word()
134 param->mem_type, in bin_patch_one_word()
135 param->offset_words * reg_inc_per_word, in bin_patch_one_word()
145 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_one_word()
146 ((alg_base_words + param->offset_words) * reg_inc_per_word); in bin_patch_one_word()
165 const struct bin_test_param *param = test->param_value; in bin_patch_one_multiword() local
177 bin_test_mock_algs[param->alg_idx].id, in bin_patch_one_multiword()
178 param->mem_type); in bin_patch_one_multiword()
181 bin_test_mock_algs[param->alg_idx].id, in bin_patch_one_multiword()
182 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_one_multiword()
183 param->mem_type, in bin_patch_one_multiword()
184 param->offset_words * reg_inc_per_word, in bin_patch_one_multiword()
194 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_one_multiword()
195 ((alg_base_words + param->offset_words) * reg_inc_per_word); in bin_patch_one_multiword()
213 const struct bin_test_param *param = test->param_value; in bin_patch_multi_oneword() local
226 bin_test_mock_algs[param->alg_idx].id, in bin_patch_multi_oneword()
227 param->mem_type); in bin_patch_multi_oneword()
232 bin_test_mock_algs[param->alg_idx].id, in bin_patch_multi_oneword()
233 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_multi_oneword()
234 param->mem_type, in bin_patch_multi_oneword()
235 (param->offset_words + i) * reg_inc_per_word, in bin_patch_multi_oneword()
246 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_multi_oneword()
247 ((alg_base_words + param->offset_words) * reg_inc_per_word); in bin_patch_multi_oneword()
268 const struct bin_test_param *param = test->param_value; in bin_patch_multi_oneword_unordered() local
283 bin_test_mock_algs[param->alg_idx].id, in bin_patch_multi_oneword_unordered()
284 param->mem_type); in bin_patch_multi_oneword_unordered()
289 bin_test_mock_algs[param->alg_idx].id, in bin_patch_multi_oneword_unordered()
290 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_multi_oneword_unordered()
291 param->mem_type, in bin_patch_multi_oneword_unordered()
292 (param->offset_words + word_order[i]) * in bin_patch_multi_oneword_unordered()
304 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_multi_oneword_unordered()
305 ((alg_base_words + param->offset_words) * reg_inc_per_word); in bin_patch_multi_oneword_unordered()
326 const struct bin_test_param *param = test->param_value; in bin_patch_multi_oneword_sparse_unordered() local
344 bin_test_mock_algs[param->alg_idx].id, in bin_patch_multi_oneword_sparse_unordered()
345 param->mem_type); in bin_patch_multi_oneword_sparse_unordered()
350 bin_test_mock_algs[param->alg_idx].id, in bin_patch_multi_oneword_sparse_unordered()
351 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_multi_oneword_sparse_unordered()
352 param->mem_type, in bin_patch_multi_oneword_sparse_unordered()
365 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_multi_oneword_sparse_unordered()
390 const struct bin_test_param *param = test->param_value; in bin_patch_one_word_multiple_mems() local
401 bin_test_mock_algs[param->alg_idx].id, in bin_patch_one_word_multiple_mems()
404 bin_test_mock_algs[param->alg_idx].id, in bin_patch_one_word_multiple_mems()
409 bin_test_mock_algs[param->alg_idx].id, in bin_patch_one_word_multiple_mems()
417 bin_test_mock_algs[param->alg_idx].id, in bin_patch_one_word_multiple_mems()
418 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_one_word_multiple_mems()
420 param->offset_words * reg_inc_per_word, in bin_patch_one_word_multiple_mems()
424 bin_test_mock_algs[param->alg_idx].id, in bin_patch_one_word_multiple_mems()
425 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_one_word_multiple_mems()
427 param->offset_words * reg_inc_per_word, in bin_patch_one_word_multiple_mems()
432 bin_test_mock_algs[param->alg_idx].id, in bin_patch_one_word_multiple_mems()
433 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_one_word_multiple_mems()
435 param->offset_words * reg_inc_per_word, in bin_patch_one_word_multiple_mems()
447 ((alg_xm_base_words + param->offset_words) * reg_inc_per_word); in bin_patch_one_word_multiple_mems()
457 ((alg_ym_base_words + param->offset_words) * reg_inc_per_word); in bin_patch_one_word_multiple_mems()
468 ((alg_zm_base_words + param->offset_words) * reg_inc_per_word); in bin_patch_one_word_multiple_mems()
491 const struct bin_test_param *param = test->param_value; in bin_patch_one_word_multiple_algs() local
508 param->mem_type, in bin_patch_one_word_multiple_algs()
509 param->offset_words * reg_inc_per_word, in bin_patch_one_word_multiple_algs()
523 param->mem_type); in bin_patch_one_word_multiple_algs()
525 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_one_word_multiple_algs()
526 ((alg_base_words + param->offset_words) * reg_inc_per_word); in bin_patch_one_word_multiple_algs()
550 const struct bin_test_param *param = test->param_value; in bin_patch_one_word_multiple_algs_unordered() local
571 param->mem_type, in bin_patch_one_word_multiple_algs_unordered()
572 param->offset_words * reg_inc_per_word, in bin_patch_one_word_multiple_algs_unordered()
587 param->mem_type); in bin_patch_one_word_multiple_algs_unordered()
589 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_one_word_multiple_algs_unordered()
590 ((alg_base_words + param->offset_words) * reg_inc_per_word); in bin_patch_one_word_multiple_algs_unordered()
611 const struct bin_test_param *param = test->param_value; in bin_patch_1_packed() local
623 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed()
624 param->mem_type); in bin_patch_1_packed()
628 patch_pos_words = round_up(alg_base_words + param->offset_words, 4); in bin_patch_1_packed()
632 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed()
633 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed()
634 param->mem_type, in bin_patch_1_packed()
645 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_1_packed()
667 const struct bin_test_param *param = test->param_value; in bin_patch_1_packed_1_single_trailing() local
668 unsigned int unpacked_mem_type = cs_dsp_mock_packed_to_unpacked_mem_type(param->mem_type); in bin_patch_1_packed_1_single_trailing()
682 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_1_single_trailing()
683 param->mem_type); in bin_patch_1_packed_1_single_trailing()
687 patch_pos_words = round_up(alg_base_words + param->offset_words, 4); in bin_patch_1_packed_1_single_trailing()
692 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_1_single_trailing()
693 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_1_single_trailing()
694 param->mem_type, in bin_patch_1_packed_1_single_trailing()
700 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_1_single_trailing()
701 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_1_single_trailing()
713 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_1_packed_1_single_trailing()
747 const struct bin_test_param *param = test->param_value; in bin_patch_1_packed_2_single_trailing() local
748 unsigned int unpacked_mem_type = cs_dsp_mock_packed_to_unpacked_mem_type(param->mem_type); in bin_patch_1_packed_2_single_trailing()
762 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_2_single_trailing()
763 param->mem_type); in bin_patch_1_packed_2_single_trailing()
767 patch_pos_words = round_up(alg_base_words + param->offset_words, 4); in bin_patch_1_packed_2_single_trailing()
772 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_2_single_trailing()
773 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_2_single_trailing()
774 param->mem_type, in bin_patch_1_packed_2_single_trailing()
780 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_2_single_trailing()
781 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_2_single_trailing()
787 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_2_single_trailing()
788 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_2_single_trailing()
800 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_1_packed_2_single_trailing()
836 const struct bin_test_param *param = test->param_value; in bin_patch_1_packed_3_single_trailing() local
837 unsigned int unpacked_mem_type = cs_dsp_mock_packed_to_unpacked_mem_type(param->mem_type); in bin_patch_1_packed_3_single_trailing()
851 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_3_single_trailing()
852 param->mem_type); in bin_patch_1_packed_3_single_trailing()
856 patch_pos_words = round_up(alg_base_words + param->offset_words, 4); in bin_patch_1_packed_3_single_trailing()
861 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_3_single_trailing()
862 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_3_single_trailing()
863 param->mem_type, in bin_patch_1_packed_3_single_trailing()
869 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_3_single_trailing()
870 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_3_single_trailing()
876 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_3_single_trailing()
877 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_3_single_trailing()
883 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_3_single_trailing()
884 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_3_single_trailing()
896 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_1_packed_3_single_trailing()
932 const struct bin_test_param *param = test->param_value; in bin_patch_1_packed_2_trailing() local
933 unsigned int unpacked_mem_type = cs_dsp_mock_packed_to_unpacked_mem_type(param->mem_type); in bin_patch_1_packed_2_trailing()
947 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_2_trailing()
948 param->mem_type); in bin_patch_1_packed_2_trailing()
952 patch_pos_words = round_up(alg_base_words + param->offset_words, 4); in bin_patch_1_packed_2_trailing()
957 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_2_trailing()
958 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_2_trailing()
959 param->mem_type, in bin_patch_1_packed_2_trailing()
965 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_2_trailing()
966 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_2_trailing()
978 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_1_packed_2_trailing()
1014 const struct bin_test_param *param = test->param_value; in bin_patch_1_packed_3_trailing() local
1015 unsigned int unpacked_mem_type = cs_dsp_mock_packed_to_unpacked_mem_type(param->mem_type); in bin_patch_1_packed_3_trailing()
1029 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_3_trailing()
1030 param->mem_type); in bin_patch_1_packed_3_trailing()
1034 patch_pos_words = round_up(alg_base_words + param->offset_words, 4); in bin_patch_1_packed_3_trailing()
1039 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_3_trailing()
1040 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_3_trailing()
1041 param->mem_type, in bin_patch_1_packed_3_trailing()
1047 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_3_trailing()
1048 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_3_trailing()
1060 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_1_packed_3_trailing()
1096 const struct bin_test_param *param = test->param_value; in bin_patch_1_single_leading_1_packed() local
1097 unsigned int unpacked_mem_type = cs_dsp_mock_packed_to_unpacked_mem_type(param->mem_type); in bin_patch_1_single_leading_1_packed()
1112 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_single_leading_1_packed()
1113 param->mem_type); in bin_patch_1_single_leading_1_packed()
1117 packed_patch_pos_words = round_up(alg_base_words + param->offset_words, 4) + 4; in bin_patch_1_single_leading_1_packed()
1121 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_single_leading_1_packed()
1122 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_single_leading_1_packed()
1129 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_single_leading_1_packed()
1130 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_single_leading_1_packed()
1131 param->mem_type, in bin_patch_1_single_leading_1_packed()
1142 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_1_single_leading_1_packed()
1176 const struct bin_test_param *param = test->param_value; in bin_patch_2_single_leading_1_packed() local
1177 unsigned int unpacked_mem_type = cs_dsp_mock_packed_to_unpacked_mem_type(param->mem_type); in bin_patch_2_single_leading_1_packed()
1191 bin_test_mock_algs[param->alg_idx].id, in bin_patch_2_single_leading_1_packed()
1192 param->mem_type); in bin_patch_2_single_leading_1_packed()
1196 packed_patch_pos_words = round_up(alg_base_words + param->offset_words, 4) + 4; in bin_patch_2_single_leading_1_packed()
1200 bin_test_mock_algs[param->alg_idx].id, in bin_patch_2_single_leading_1_packed()
1201 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_2_single_leading_1_packed()
1206 bin_test_mock_algs[param->alg_idx].id, in bin_patch_2_single_leading_1_packed()
1207 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_2_single_leading_1_packed()
1214 bin_test_mock_algs[param->alg_idx].id, in bin_patch_2_single_leading_1_packed()
1215 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_2_single_leading_1_packed()
1216 param->mem_type, in bin_patch_2_single_leading_1_packed()
1227 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_2_single_leading_1_packed()
1263 const struct bin_test_param *param = test->param_value; in bin_patch_2_leading_1_packed() local
1264 unsigned int unpacked_mem_type = cs_dsp_mock_packed_to_unpacked_mem_type(param->mem_type); in bin_patch_2_leading_1_packed()
1278 bin_test_mock_algs[param->alg_idx].id, in bin_patch_2_leading_1_packed()
1279 param->mem_type); in bin_patch_2_leading_1_packed()
1283 packed_patch_pos_words = round_up(alg_base_words + param->offset_words, 4) + 4; in bin_patch_2_leading_1_packed()
1287 bin_test_mock_algs[param->alg_idx].id, in bin_patch_2_leading_1_packed()
1288 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_2_leading_1_packed()
1295 bin_test_mock_algs[param->alg_idx].id, in bin_patch_2_leading_1_packed()
1296 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_2_leading_1_packed()
1297 param->mem_type, in bin_patch_2_leading_1_packed()
1308 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_2_leading_1_packed()
1344 const struct bin_test_param *param = test->param_value; in bin_patch_3_single_leading_1_packed() local
1345 unsigned int unpacked_mem_type = cs_dsp_mock_packed_to_unpacked_mem_type(param->mem_type); in bin_patch_3_single_leading_1_packed()
1359 bin_test_mock_algs[param->alg_idx].id, in bin_patch_3_single_leading_1_packed()
1360 param->mem_type); in bin_patch_3_single_leading_1_packed()
1364 packed_patch_pos_words = round_up(alg_base_words + param->offset_words, 4) + 4; in bin_patch_3_single_leading_1_packed()
1368 bin_test_mock_algs[param->alg_idx].id, in bin_patch_3_single_leading_1_packed()
1369 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_3_single_leading_1_packed()
1374 bin_test_mock_algs[param->alg_idx].id, in bin_patch_3_single_leading_1_packed()
1375 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_3_single_leading_1_packed()
1380 bin_test_mock_algs[param->alg_idx].id, in bin_patch_3_single_leading_1_packed()
1381 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_3_single_leading_1_packed()
1388 bin_test_mock_algs[param->alg_idx].id, in bin_patch_3_single_leading_1_packed()
1389 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_3_single_leading_1_packed()
1390 param->mem_type, in bin_patch_3_single_leading_1_packed()
1401 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_3_single_leading_1_packed()
1437 const struct bin_test_param *param = test->param_value; in bin_patch_3_leading_1_packed() local
1438 unsigned int unpacked_mem_type = cs_dsp_mock_packed_to_unpacked_mem_type(param->mem_type); in bin_patch_3_leading_1_packed()
1452 bin_test_mock_algs[param->alg_idx].id, in bin_patch_3_leading_1_packed()
1453 param->mem_type); in bin_patch_3_leading_1_packed()
1457 packed_patch_pos_words = round_up(alg_base_words + param->offset_words, 4) + 4; in bin_patch_3_leading_1_packed()
1461 bin_test_mock_algs[param->alg_idx].id, in bin_patch_3_leading_1_packed()
1462 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_3_leading_1_packed()
1469 bin_test_mock_algs[param->alg_idx].id, in bin_patch_3_leading_1_packed()
1470 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_3_leading_1_packed()
1471 param->mem_type, in bin_patch_3_leading_1_packed()
1482 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_3_leading_1_packed()
1515 const struct bin_test_param *param = test->param_value; in bin_patch_multi_onepacked() local
1529 bin_test_mock_algs[param->alg_idx].id, in bin_patch_multi_onepacked()
1530 param->mem_type); in bin_patch_multi_onepacked()
1534 patch_pos_words = round_up(alg_base_words + param->offset_words, 4); in bin_patch_multi_onepacked()
1541 bin_test_mock_algs[param->alg_idx].id, in bin_patch_multi_onepacked()
1542 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_multi_onepacked()
1543 param->mem_type, in bin_patch_multi_onepacked()
1556 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_multi_onepacked()
1577 const struct bin_test_param *param = test->param_value; in bin_patch_multi_onepacked_unordered() local
1593 bin_test_mock_algs[param->alg_idx].id, in bin_patch_multi_onepacked_unordered()
1594 param->mem_type); in bin_patch_multi_onepacked_unordered()
1598 patch_pos_words = round_up(alg_base_words + param->offset_words, 4); in bin_patch_multi_onepacked_unordered()
1606 bin_test_mock_algs[param->alg_idx].id, in bin_patch_multi_onepacked_unordered()
1607 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_multi_onepacked_unordered()
1608 param->mem_type, in bin_patch_multi_onepacked_unordered()
1622 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_multi_onepacked_unordered()
1643 const struct bin_test_param *param = test->param_value; in bin_patch_multi_onepacked_sparse_unordered() local
1658 bin_test_mock_algs[param->alg_idx].id, in bin_patch_multi_onepacked_sparse_unordered()
1659 param->mem_type); in bin_patch_multi_onepacked_sparse_unordered()
1669 bin_test_mock_algs[param->alg_idx].id, in bin_patch_multi_onepacked_sparse_unordered()
1670 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_multi_onepacked_sparse_unordered()
1671 param->mem_type, in bin_patch_multi_onepacked_sparse_unordered()
1687 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_multi_onepacked_sparse_unordered()
1712 const struct bin_test_param *param = test->param_value; in bin_patch_1_packed_multiple_mems() local
1727 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_multiple_mems()
1730 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_multiple_mems()
1734 xm_patch_pos_words = round_up(alg_xm_base_words + param->offset_words, 4); in bin_patch_1_packed_multiple_mems()
1735 ym_patch_pos_words = round_up(alg_ym_base_words + param->offset_words, 4); in bin_patch_1_packed_multiple_mems()
1741 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_multiple_mems()
1742 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_multiple_mems()
1750 bin_test_mock_algs[param->alg_idx].id, in bin_patch_1_packed_multiple_mems()
1751 bin_test_mock_algs[param->alg_idx].ver, in bin_patch_1_packed_multiple_mems()
1799 const struct bin_test_param *param = test->param_value; in bin_patch_1_packed_multiple_algs() local
1816 param->mem_type); in bin_patch_1_packed_multiple_algs()
1820 patch_pos_words = round_up(alg_base_words + param->offset_words, 4); in bin_patch_1_packed_multiple_algs()
1827 param->mem_type, in bin_patch_1_packed_multiple_algs()
1848 param->mem_type); in bin_patch_1_packed_multiple_algs()
1851 patch_pos_words = round_up(alg_base_words + param->offset_words, 4); in bin_patch_1_packed_multiple_algs()
1854 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_1_packed_multiple_algs()
1879 const struct bin_test_param *param = test->param_value; in bin_patch_1_packed_multiple_algs_unordered() local
1902 param->mem_type); in bin_patch_1_packed_multiple_algs_unordered()
1906 patch_pos_words = round_up(alg_base_words + param->offset_words, 4); in bin_patch_1_packed_multiple_algs_unordered()
1913 param->mem_type, in bin_patch_1_packed_multiple_algs_unordered()
1935 param->mem_type); in bin_patch_1_packed_multiple_algs_unordered()
1937 patch_pos_words = round_up(alg_base_words + param->offset_words, 4); in bin_patch_1_packed_multiple_algs_unordered()
1940 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_1_packed_multiple_algs_unordered()
1967 const struct bin_test_param *param = test->param_value; in bin_patch_mixed_packed_unpacked_random() local
1983 int unpacked_mem_type = cs_dsp_mock_packed_to_unpacked_mem_type(param->mem_type); in bin_patch_mixed_packed_unpacked_random()
1997 param->mem_type); in bin_patch_mixed_packed_unpacked_random()
2010 param->mem_type, in bin_patch_mixed_packed_unpacked_random()
2040 param->mem_type); in bin_patch_mixed_packed_unpacked_random()
2049 reg_addr = cs_dsp_mock_base_addr_for_mem(priv, param->mem_type) + in bin_patch_mixed_packed_unpacked_random()
2336 static void x_or_y_or_z_and_offset_param_desc(const struct bin_test_param *param, in x_or_y_or_z_and_offset_param_desc() argument
2340 cs_dsp_mem_region_name(param->mem_type), in x_or_y_or_z_and_offset_param_desc()
2341 param->offset_words); in x_or_y_or_z_and_offset_param_desc()
2362 static void x_or_y_or_z_param_desc(const struct bin_test_param *param, in x_or_y_or_z_param_desc() argument
2365 snprintf(desc, KUNIT_PARAM_DESC_SIZE, "%s", cs_dsp_mem_region_name(param->mem_type)); in x_or_y_or_z_param_desc()
2382 static void offset_param_desc(const struct bin_test_param *param, char *desc) in offset_param_desc() argument
2384 snprintf(desc, KUNIT_PARAM_DESC_SIZE, "@%u", param->offset_words); in offset_param_desc()
2396 static void alg_param_desc(const struct bin_test_param *param, char *desc) in alg_param_desc() argument
2398 WARN_ON(param->alg_idx >= ARRAY_SIZE(bin_test_mock_algs)); in alg_param_desc()
2401 param->alg_idx, bin_test_mock_algs[param->alg_idx].id); in alg_param_desc()
2418 static void x_or_y_or_z_and_alg_param_desc(const struct bin_test_param *param, char *desc) in x_or_y_or_z_and_alg_param_desc() argument
2420 WARN_ON(param->alg_idx >= ARRAY_SIZE(bin_test_mock_algs)); in x_or_y_or_z_and_alg_param_desc()
2423 cs_dsp_mem_region_name(param->mem_type), in x_or_y_or_z_and_alg_param_desc()
2424 param->alg_idx, bin_test_mock_algs[param->alg_idx].id); in x_or_y_or_z_and_alg_param_desc()