Lines Matching refs:func_buf

4860 test_func_t init_function( test_func_t p_func_F, uint32_t func_buf[] )  in init_function()  argument
4864 func_buf[0] = p_func[0]; in init_function()
4865 func_buf[1] = p_func[1]; in init_function()
4866 return (test_func_t)&func_buf[0]; in init_function()
4873 func_buf[0] = entry[0]; in init_function()
4874 func_buf[1] = entry[1]; in init_function()
4875 descr[0] = (uint64_t)&func_buf[0]; in init_function()
4886 uint32_t* func_buf = get_rwx_area(); in test_int_one_reg_imm16() local
4894 func = init_function( func_IN, func_buf ); in test_int_one_reg_imm16()
4895 patch_op_imm16(&func_buf[0], ii16[j]); in test_int_one_reg_imm16()
4943 uint32_t* func_buf = get_rwx_area(); in rlwi_cb() local
4957 func = init_function( func_IN, func_buf ); in rlwi_cb()
4958 _patch_op_imm(&func_buf[0], j, 11, 5); in rlwi_cb()
4959 _patch_op_imm(&func_buf[0], k, 6, 5); in rlwi_cb()
4960 patch_op_imm(&func_buf[0], l, 1, 5); in rlwi_cb()
4986 uint32_t* func_buf = get_rwx_area(); in rlwnm_cb() local
4998 func = init_function( func_IN, func_buf ); in rlwnm_cb()
4999 _patch_op_imm(&func_buf[0], k, 6, 5); in rlwnm_cb()
5000 patch_op_imm(&func_buf[0], l, 1, 5); in rlwnm_cb()
5027 uint32_t* func_buf = get_rwx_area(); in srawi_cb() local
5037 func = init_function( func_IN, func_buf ); in srawi_cb()
5038 patch_op_imm(&func_buf[0], j, 11, 5); in srawi_cb()
5062 uint32_t* func_buf = get_rwx_area(); in mcrf_cb() local
5072 func = init_function( func_IN, func_buf ); in mcrf_cb()
5073 _patch_op_imm(&func_buf[0], j, 23, 3); in mcrf_cb()
5074 patch_op_imm(&func_buf[0], k, 18, 3); in mcrf_cb()
5099 uint32_t* func_buf = get_rwx_area(); in mcrxr_cb() local
5109 func = init_function( func_IN, func_buf ); in mcrxr_cb()
5110 patch_op_imm(&func_buf[0], k, 23, 3); in mcrxr_cb()
5218 uint32_t* func_buf = get_rwx_area(); in mtcrf_cb() local
5227 func = init_function( func_IN, func_buf ); in mtcrf_cb()
5228 patch_op_imm(&func_buf[0], j, 12, 8); in mtcrf_cb()
5258 uint32_t* func_buf = get_rwx_area(); in rldc_cb() local
5269 func = init_function( func_IN, func_buf ); in rldc_cb()
5270 patch_op_imm(&func_buf[0], (((k & 0x1F)<<1) | ((k>>5)&1)), 5, 6); in rldc_cb()
5292 uint32_t* func_buf = get_rwx_area(); in rldi_cb() local
5303 func = init_function( func_IN, func_buf ); in rldi_cb()
5304 _patch_op_imm(&func_buf[0], (j & 0x1F), 11, 5); in rldi_cb()
5305 _patch_op_imm(&func_buf[0], ((j>>5)&1), 1, 1); in rldi_cb()
5306 patch_op_imm(&func_buf[0], (((k & 0x1F)<<1) | ((k>>5)&1)), 5, 6); in rldi_cb()
5327 uint32_t* func_buf = get_rwx_area(); in sradi_cb() local
5337 func = init_function( func_IN, func_buf ); in sradi_cb()
5338 _patch_op_imm(&func_buf[0], (j & 0x1F), 11, 5); in sradi_cb()
5339 patch_op_imm(&func_buf[0], ((j>>5)&1), 1, 1); in sradi_cb()
5532 uint32_t* func_buf = get_rwx_area(); in test_int_ld_one_reg_imm16() local
5548 func = init_function( func_IN, func_buf ); in test_int_ld_one_reg_imm16()
5550 patch_op_imm(&func_buf[0], offs>>2, 2, 14); in test_int_ld_one_reg_imm16()
5552 patch_op_imm16(&func_buf[0], offs); in test_int_ld_one_reg_imm16()
5576 func = init_function( func, func_buf ); in test_int_ld_one_reg_imm16()
5577 patch_op_imm16(&func_buf[0], offs); in test_int_ld_one_reg_imm16()
5629 uint32_t* func_buf = get_rwx_area(); in test_int_st_two_regs_imm16() local
5646 func = init_function( func_IN, func_buf ); in test_int_st_two_regs_imm16()
5647 patch_op_imm16(&func_buf[0], offs); in test_int_st_two_regs_imm16()
5674 func = init_function( func, func_buf ); in test_int_st_two_regs_imm16()
5675 patch_op_imm16(&func_buf[0], offs); in test_int_st_two_regs_imm16()
5978 uint32_t* func_buf = get_rwx_area(); in test_float_ld_one_reg_imm16() local
5997 func = init_function( func_IN, func_buf ); in test_float_ld_one_reg_imm16()
5998 patch_op_imm16(&func_buf[0], offs); in test_float_ld_one_reg_imm16()
6070 uint32_t* func_buf = get_rwx_area(); in test_float_st_two_regs_imm16() local
6107 func = init_function( func_IN, func_buf ); in test_float_st_two_regs_imm16()
6108 patch_op_imm16(&func_buf[0], offs); in test_float_st_two_regs_imm16()
6529 uint32_t* func_buf = get_rwx_area(); in vsplt_cb() local
6546 func = init_function( func_IN, func_buf ); in vsplt_cb()
6547 patch_op_imm(&func_buf[0], j, 16, 5); in vsplt_cb()
6599 uint32_t* func_buf = get_rwx_area(); in vspltis_cb() local
6613 func = init_function( func_IN, func_buf ); in vspltis_cb()
6614 patch_op_imm(&func_buf[0], i, 16, 5); in vspltis_cb()
6657 uint32_t* func_buf = get_rwx_area(); in vsldoi_cb() local
6675 func = init_function( func_IN, func_buf ); in vsldoi_cb()
6676 patch_op_imm(&func_buf[0], k, 6, 4); in vsldoi_cb()
7257 uint32_t* func_buf = get_rwx_area(); in vcvt_cb() local
7274 func = init_function( func_IN, func_buf ); in vcvt_cb()
7275 patch_op_imm(&func_buf[0], j, 16, 5); in vcvt_cb()