Lines Matching refs:tidx
170 int tidx; member
891 pthr->tidx); in perf_init_test()
901 pthr->tidx); in perf_init_test()
907 pthr->tidx, in perf_init_test()
945 pthr->tidx, ret); in perf_run_test()
983 pthr->tidx, pthr->copied); in perf_sync_test()
986 pthr->tidx, ktime_to_us(pthr->duration)); in perf_sync_test()
988 dev_dbg(&perf->ntb->dev, "%d: %llu MBytes/s\n", pthr->tidx, in perf_sync_test()
1067 int tidx; in perf_terminate_test() local
1072 for (tidx = 0; tidx < MAX_THREADS_CNT; tidx++) { in perf_terminate_test()
1073 wake_up(&perf->threads[tidx].dma_wait); in perf_terminate_test()
1074 cancel_work_sync(&perf->threads[tidx].work); in perf_terminate_test()
1082 int tidx, ret; in perf_submit_test() local
1094 for (tidx = 0; tidx < MAX_THREADS_CNT; tidx++) { in perf_submit_test()
1095 pthr = &perf->threads[tidx]; in perf_submit_test()
1100 if (tidx < perf->tcnt) in perf_submit_test()
1120 int tidx; in perf_read_stats() local
1128 for (tidx = 0; tidx < MAX_THREADS_CNT; tidx++) { in perf_read_stats()
1129 pthr = &perf->threads[tidx]; in perf_read_stats()
1136 "%d: error status %d\n", tidx, pthr->status); in perf_read_stats()
1142 tidx, pthr->copied, ktime_to_us(pthr->duration), in perf_read_stats()
1154 int tidx; in perf_init_threads() local
1160 for (tidx = 0; tidx < MAX_THREADS_CNT; tidx++) { in perf_init_threads()
1161 pthr = &perf->threads[tidx]; in perf_init_threads()
1164 pthr->tidx = tidx; in perf_init_threads()