Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 26) sorted by relevance

12

/sof-2.7.6/src/arch/xtensa/hal/
Dset_region_translate.c41 unsigned long tmp; in read_dtlb1_entry() local
43 : "=a" (tmp) in read_dtlb1_entry()
45 return tmp; in read_dtlb1_entry()
49 unsigned long tmp; in read_itlb1_entry() local
51 : "=a" (tmp) in read_itlb1_entry()
53 return tmp; in read_itlb1_entry()
57 unsigned long tmp; in probe_dtlb() local
59 : "=a" (tmp) in probe_dtlb()
61 return tmp; in probe_dtlb()
65 unsigned long tmp; in probe_itlb() local
[all …]
Dmpu.c144 unsigned long tmp;
146 : "=a" (tmp));
147 return tmp;
152 unsigned long tmp;
154 : "=a" (tmp));
155 return tmp;
/sof-2.7.6/src/arch/xtensa/xtos/
Dinterrupt-pri.h119 .macro indexmask_int index, mask, intptr, tmp
138 …msindex_int_nc \index, \mask, \tmp // \index = index of msbit set in \mask (\tmp is tmp, \mask not…
162 .macro index_int index, mask, intptr, tmp
164 msindex_int_nc \index, \mask, \tmp // \index = index of msbit set in \mask (\mask not clobbered)
166 neg \tmp, \mask // find lsbit in \mask ...
167 and \tmp, \tmp, \mask // ...
168 msindex_int \index, \tmp // \index = index of msbit set in \tmp (\tmp is clobbered)
/sof-2.7.6/src/audio/drc/
Ddrc_hifi3.c59 ae_f32 tmp; in volume_gain() local
77 tmp = AE_SRAI32R(x, 5); /* Q1.31 -> Q5.26 */ in volume_gain()
78 tmp = drc_log_fixed(tmp); /* Q6.26 */ in volume_gain()
80 exp_knee = exp_fixed(drc_mult_lshift(tmp, tmp2, drc_get_lshift(26, 30, 27))); in volume_gain()
104 ae_f32 tmp; in drc_update_detector_average() local
154 tmp = drc_mult_lshift(gain_diff, p->sat_release_rate_at_neg_two_db, in drc_update_detector_average()
162 tmp = drc_mult_lshift(gain_diff, sat_release_rate, in drc_update_detector_average()
165 detector_average = AE_ADD32(detector_average, tmp); in drc_update_detector_average()
195 ae_f32 tmp; in drc_update_envelope() local
211 tmp = AE_SRAI32R(state->compressor_gain, 4); /* Q2.30 -> Q6.26 */ in drc_update_envelope()
[all …]
Ddrc_math_hifi3.c69 ae_f32 tmp; /* Q6.26 */ in log10_fixed() local
93 tmp = drc_mult_lshift(exp, LOG10_2_Q26, lshift); in log10_fixed()
94 acc = AE_ADD32(acc, tmp); in log10_fixed()
/sof-2.7.6/src/math/
Diir_df2t_generic.c50 int32_t tmp; in iir_df2t() local
71 tmp = (int32_t)sat_int32(Q_SHIFT_RND(acc, 61, 31)); in iir_df2t()
76 acc += ((int64_t)iir->coef[c + 1]) * tmp; /* Coef a1 */ in iir_df2t()
81 acc += ((int64_t)iir->coef[c]) * tmp; /* Coef a2 */ in iir_df2t()
85 acc = ((int64_t)iir->coef[c + 6]) * tmp; /* Gain */ in iir_df2t()
Diir_df2t_hifi3.c58 ae_f32 tmp; in iir_df2t() local
93 tmp = AE_ROUND32F48SSYM(acc); /* Rount to Q1.31 */ in iir_df2t()
99 AE_MULAF32R_LL(acc, coef_a2a1, tmp); /* Coef a1 */ in iir_df2t()
106 AE_MULAF32R_HH(acc, coef_a2a1, tmp); /* Coef a2 */ in iir_df2t()
111 acc = AE_MULF32R_HH(gain, tmp); /* Gain */ in iir_df2t()
/sof-2.7.6/tools/test/audio/test_utils/
Dload_test_input.m21 tmp = test; variable
22 tmp.fn_out = test.fn_in;
23 tmp.bits_out = test.bits_in;
24 [x, nx] = load_test_output(tmp);
/sof-2.7.6/src/include/sof/audio/drc/
Ddrc_math.h40 ae_f64 tmp; in drc_mult_lshift() local
43 tmp = AE_MULF32R_LL(a, b); in drc_mult_lshift()
44 tmp = AE_SLAA64S(tmp, lshift); in drc_mult_lshift()
45 y = AE_ROUND32F48SSYM(tmp); in drc_mult_lshift()
/sof-2.7.6/src/audio/dcblock/
Ddcblock_generic.c44 int32_t tmp; in dcblock_s16_default() local
57 tmp = dcblock_generic(state, R, *x << 16); in dcblock_s16_default()
58 *y = sat_int16(Q_SHIFT_RND(tmp, 31, 15)); in dcblock_s16_default()
76 int32_t tmp; in dcblock_s24_default() local
89 tmp = dcblock_generic(state, R, *x << 8); in dcblock_s24_default()
90 *y = sat_int24(Q_SHIFT_RND(tmp, 31, 23)); in dcblock_s24_default()
/sof-2.7.6/src/audio/smart_amp/
Dsmart_amp_generic.c34 int32_t tmp; in smart_amp_s16_ff_default() local
45 tmp = smart_amp_ff_generic(*x << 16); in smart_amp_s16_ff_default()
46 *y = sat_int16(Q_SHIFT_RND(tmp, 31, 15)); in smart_amp_s16_ff_default()
62 int32_t tmp; in smart_amp_s24_ff_default() local
73 tmp = smart_amp_ff_generic(*x << 8); in smart_amp_s24_ff_default()
74 *y = sat_int24(Q_SHIFT_RND(tmp, 31, 23)); in smart_amp_s24_ff_default()
/sof-2.7.6/tools/tune/eq/
Deq_blob_read.m19 tmp = fread(fh, inf, 'uint32'); variable
23 tmp = fscanf(fh, '%u,', Inf); variable
26 tmp = get_parse_m4(blobfn); variable
32 blob = uint32(tmp);
Deq_deploy_to_dut.m13 transfer_template = "scp %s %s@%s:/tmp/sof-eq-config.txt";
14 config_template = "ssh -t %s@%s sof-eqctl -Dhw:%d -n %d -s /tmp/sof-eq-config.txt";
Dmls_play_config.txt3 play.dir = '/tmp'; % directory for temporary files
Dmls_rec_config.txt5 rec.dir = '/tmp'; % Directory for temporary files
Deq_compute.m240 tmp = filter(b_smooth, 1, m_db); variable
241 ms_db = [tmp(n/2+1:end) linspace(tmp(end), m_db(end), n/2)];
Dmls_freq_resp.m39 dir = '/tmp'; % Directory for temporary files
/sof-2.7.6/src/include/sof/
Dlist.h97 #define list_for_item_safe(item, tmp, list) \ argument
98 for (item = (list)->next, tmp = item->next;\
100 item = tmp, tmp = item->next)
/sof-2.7.6/src/arch/xtensa/debug/gdb/
Dutilities.c64 unsigned long tmp; in arch_gdb_memory_load_and_store() local
73 : "=&r"(tmp) in arch_gdb_memory_load_and_store()
/sof-2.7.6/tools/tune/crossover/
Dcrossover_plot_freq.m37 tmp = cascade_bqs_fr(f, fs, lp(2), lp(2)); variable
40 tmp = tmp + tmp2; variable
42 h1 = h1.*tmp;
/sof-2.7.6/tools/test/audio/
Dsof_test_perf_config.m13 play.dir = '/tmp'; % directory for temporary files
24 rec.dir = '/tmp'; % Directory for temporary files
/sof-2.7.6/src/audio/codec_adapter/
Dcodec_adapter.c345 uint32_t tmp, copy_bytes = bytes; in generate_zeroes() local
350 tmp = audio_stream_bytes_without_wrap(&sink->stream, in generate_zeroes()
352 tmp = MIN(tmp, copy_bytes); in generate_zeroes()
353 ptr = (char *)ptr + tmp; in generate_zeroes()
354 copy_bytes -= tmp; in generate_zeroes()
/sof-2.7.6/src/schedule/
Dzephyr_ll.c150 struct list_item *list, *tmp, head; in zephyr_ll_run() local
158 list_for_item_safe(list, tmp, &sch->tasks) { in zephyr_ll_run()
191 list_for_item_safe(list, tmp, &head) { in zephyr_ll_run()
/sof-2.7.6/src/arch/xtensa/include/xtensa/
Dcore-macros.h436 int tmp; in XTHAL_COMPARE_AND_SET() local
444 : "0" (setval), "a" (testval), "a" (addr), "a" (tmp) in XTHAL_COMPARE_AND_SET()
/sof-2.7.6/src/audio/asrc/
Dasrc.c733 int64_t tmp; in asrc_control_loop() local
787 tmp = ((int64_t)COEF_C1) * skew + ((int64_t)COEF_C2) * cd->skew; in asrc_control_loop()
788 cd->skew = sat_int32(Q_SHIFT_RND(tmp, 60, 30)); in asrc_control_loop()

12