• Home
  • Raw
  • Download

Lines Matching full:dtc

248 	struct dmatest_chan *dtc;  in is_threaded_test_run()  local
250 list_for_each_entry(dtc, &info->channels, node) { in is_threaded_test_run()
253 list_for_each_entry(thread, &dtc->threads, node) { in is_threaded_test_run()
264 struct dmatest_chan *dtc; in is_threaded_test_pending() local
266 list_for_each_entry(dtc, &info->channels, node) { in is_threaded_test_pending()
269 list_for_each_entry(thread, &dtc->threads, node) { in is_threaded_test_pending()
932 static void dmatest_cleanup_channel(struct dmatest_chan *dtc) in dmatest_cleanup_channel() argument
938 list_for_each_entry_safe(thread, _thread, &dtc->threads, node) { in dmatest_cleanup_channel()
948 dmaengine_terminate_sync(dtc->chan); in dmatest_cleanup_channel()
950 kfree(dtc); in dmatest_cleanup_channel()
954 struct dmatest_chan *dtc, enum dma_transaction_type type) in dmatest_add_threads() argument
958 struct dma_chan *chan = dtc->chan; in dmatest_add_threads()
981 thread->chan = dtc->chan; in dmatest_add_threads()
997 list_add_tail(&thread->node, &dtc->threads); in dmatest_add_threads()
1007 struct dmatest_chan *dtc; in dmatest_add_channel() local
1012 dtc = kmalloc(sizeof(struct dmatest_chan), GFP_KERNEL); in dmatest_add_channel()
1013 if (!dtc) { in dmatest_add_channel()
1018 dtc->chan = chan; in dmatest_add_channel()
1019 INIT_LIST_HEAD(&dtc->threads); in dmatest_add_channel()
1029 cnt = dmatest_add_threads(info, dtc, DMA_MEMCPY); in dmatest_add_channel()
1036 cnt = dmatest_add_threads(info, dtc, DMA_MEMSET); in dmatest_add_channel()
1042 cnt = dmatest_add_threads(info, dtc, DMA_XOR); in dmatest_add_channel()
1046 cnt = dmatest_add_threads(info, dtc, DMA_PQ); in dmatest_add_channel()
1053 list_add_tail(&dtc->node, &info->channels); in dmatest_add_channel()
1117 struct dmatest_chan *dtc; in run_pending_tests() local
1120 list_for_each_entry(dtc, &info->channels, node) { in run_pending_tests()
1124 list_for_each_entry(thread, &dtc->threads, node) { in run_pending_tests()
1129 thread_count, dma_chan_name(dtc->chan)); in run_pending_tests()
1135 struct dmatest_chan *dtc, *_dtc; in stop_threaded_test() local
1138 list_for_each_entry_safe(dtc, _dtc, &info->channels, node) { in stop_threaded_test()
1139 list_del(&dtc->node); in stop_threaded_test()
1140 chan = dtc->chan; in stop_threaded_test()
1141 dmatest_cleanup_channel(dtc); in stop_threaded_test()
1219 struct dmatest_chan *dtc; in dmatest_chan_set() local
1234 list_for_each_entry(dtc, &info->channels, node) { in dmatest_chan_set()
1235 if (strcmp(dma_chan_name(dtc->chan), in dmatest_chan_set()
1237 dtc = list_last_entry(&info->channels, in dmatest_chan_set()
1241 dma_chan_name(dtc->chan), in dmatest_chan_set()
1259 dtc = list_last_entry(&info->channels, struct dmatest_chan, node); in dmatest_chan_set()
1260 if ((strcmp(dma_chan_name(dtc->chan), strim(test_channel)) != 0) in dmatest_chan_set()
1263 strlcpy(chan_reset_val, dma_chan_name(dtc->chan), in dmatest_chan_set()
1305 struct dmatest_chan *dtc; in dmatest_test_list_get() local
1308 list_for_each_entry(dtc, &info->channels, node) { in dmatest_test_list_get()
1312 list_for_each_entry(thread, &dtc->threads, node) { in dmatest_test_list_get()
1316 thread_count, dma_chan_name(dtc->chan)); in dmatest_test_list_get()