Lines Matching refs:tidx
167 int tidx; member
879 pthr->tidx); in perf_init_test()
915 pthr->tidx, ret); in perf_run_test()
953 pthr->tidx, pthr->copied); in perf_sync_test()
956 pthr->tidx, ktime_to_us(pthr->duration)); in perf_sync_test()
958 dev_dbg(&perf->ntb->dev, "%d: %llu MBytes/s\n", pthr->tidx, in perf_sync_test()
1032 int tidx; in perf_terminate_test() local
1037 for (tidx = 0; tidx < MAX_THREADS_CNT; tidx++) { in perf_terminate_test()
1038 wake_up(&perf->threads[tidx].dma_wait); in perf_terminate_test()
1039 cancel_work_sync(&perf->threads[tidx].work); in perf_terminate_test()
1047 int tidx, ret; in perf_submit_test() local
1058 for (tidx = 0; tidx < MAX_THREADS_CNT; tidx++) { in perf_submit_test()
1059 pthr = &perf->threads[tidx]; in perf_submit_test()
1064 if (tidx < perf->tcnt) in perf_submit_test()
1084 int tidx; in perf_read_stats() local
1092 for (tidx = 0; tidx < MAX_THREADS_CNT; tidx++) { in perf_read_stats()
1093 pthr = &perf->threads[tidx]; in perf_read_stats()
1100 "%d: error status %d\n", tidx, pthr->status); in perf_read_stats()
1106 tidx, pthr->copied, ktime_to_us(pthr->duration), in perf_read_stats()
1118 int tidx; in perf_init_threads() local
1124 for (tidx = 0; tidx < MAX_THREADS_CNT; tidx++) { in perf_init_threads()
1125 pthr = &perf->threads[tidx]; in perf_init_threads()
1128 pthr->tidx = tidx; in perf_init_threads()