Home
last modified time | relevance | path

Searched refs:num_loops (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/tools/testing/selftests/powerpc/tm/
Dtm-tar.c22 int num_loops = 10000; variable
32 for (i = 0; i < num_loops; i++) in test_tar()
85 num_loops = atoi(argv[1]); in main()
89 printf("Starting, %d loops\n", num_loops); in main()
Dtm-tmspr.c36 int num_loops = 1000000; variable
55 for (i = 0; i < num_loops; i++) { in tfiar_tfhar()
71 for (i = 0; i < num_loops; i++) { in texasr()
140 num_loops = atoi(argv[1]); in main()
/linux-6.6.21/tools/perf/tests/workloads/
Dbrstack.c27 int num_loops = BENCH_RUNS; in brstack() local
30 num_loops = atoi(argv[0]); in brstack()
33 if ((cnt++) > num_loops) in brstack()
/linux-6.6.21/drivers/gpu/drm/radeon/
Drv770_dma.c52 int i, num_loops; in rv770_copy_dma() local
58 num_loops = DIV_ROUND_UP(size_in_dw, 0xFFFF); in rv770_copy_dma()
59 r = radeon_ring_lock(rdev, ring, num_loops * 5 + 8); in rv770_copy_dma()
69 for (i = 0; i < num_loops; i++) { in rv770_copy_dma()
Devergreen_dma.c117 int i, num_loops; in evergreen_copy_dma() local
123 num_loops = DIV_ROUND_UP(size_in_dw, 0xfffff); in evergreen_copy_dma()
124 r = radeon_ring_lock(rdev, ring, num_loops * 5 + 11); in evergreen_copy_dma()
134 for (i = 0; i < num_loops; i++) { in evergreen_copy_dma()
Dsi_dma.c240 int i, num_loops; in si_copy_dma() local
246 num_loops = DIV_ROUND_UP(size_in_bytes, 0xfffff); in si_copy_dma()
247 r = radeon_ring_lock(rdev, ring, num_loops * 5 + 11); in si_copy_dma()
257 for (i = 0; i < num_loops; i++) { in si_copy_dma()
Dr600_dma.c453 int i, num_loops; in r600_copy_dma() local
459 num_loops = DIV_ROUND_UP(size_in_dw, 0xFFFE); in r600_copy_dma()
460 r = radeon_ring_lock(rdev, ring, num_loops * 4 + 8); in r600_copy_dma()
470 for (i = 0; i < num_loops; i++) { in r600_copy_dma()
Dr200.c93 int i, num_loops; in r200_copy_dma() local
98 num_loops = DIV_ROUND_UP(size, 0x1FFFFF); in r200_copy_dma()
99 r = radeon_ring_lock(rdev, ring, num_loops * 4 + 64); in r200_copy_dma()
107 for (i = 0; i < num_loops; i++) { in r200_copy_dma()
Dcik_sdma.c588 int i, num_loops; in cik_copy_dma() local
594 num_loops = DIV_ROUND_UP(size_in_bytes, 0x1fffff); in cik_copy_dma()
595 r = radeon_ring_lock(rdev, ring, num_loops * 7 + 14); in cik_copy_dma()
605 for (i = 0; i < num_loops; i++) { in cik_copy_dma()
Dr600.c2974 int i, num_loops; in r600_copy_cpdma() local
2980 num_loops = DIV_ROUND_UP(size_in_bytes, 0x1fffff); in r600_copy_cpdma()
2981 r = radeon_ring_lock(rdev, ring, num_loops * 6 + 24); in r600_copy_cpdma()
2994 for (i = 0; i < num_loops; i++) { in r600_copy_cpdma()
Dr100.c913 int num_loops; in r100_copy_blit() local
921 num_loops = DIV_ROUND_UP(num_gpu_pages, 8191); in r100_copy_blit()
924 ndw = 64 + (10 * num_loops); in r100_copy_blit()
Dcik.c3655 int i, num_loops; in cik_copy_cpdma() local
3661 num_loops = DIV_ROUND_UP(size_in_bytes, 0x1fffff); in cik_copy_cpdma()
3662 r = radeon_ring_lock(rdev, ring, num_loops * 7 + 18); in cik_copy_cpdma()
3672 for (i = 0; i < num_loops; i++) { in cik_copy_cpdma()
/linux-6.6.21/drivers/acpi/acpica/
Ddbexec.c548 for (i = 0; i < info->num_loops; i++) { in acpi_db_method_thread()
725 u32 num_loops; in acpi_db_create_execution_threads() local
735 num_loops = strtoul(num_loops_arg, NULL, 0); in acpi_db_create_execution_threads()
737 if (!num_threads || !num_loops) { in acpi_db_create_execution_threads()
739 num_threads, num_loops); in acpi_db_create_execution_threads()
801 acpi_gbl_db_method_info.num_loops = num_loops; in acpi_db_create_execution_threads()
845 num_threads, num_loops); in acpi_db_create_execution_threads()
Daclocal.h1205 u32 num_loops; member
/linux-6.6.21/tools/iio/
Diio_generic_buffer.c343 long long num_loops = 2; in main() local
397 num_loops = strtoll(optarg, &dummy, 10); in main()
723 for (j = 0; j < num_loops || num_loops < 0; j++) { in main()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c2141 unsigned int num_loops, num_dw; in amdgpu_copy_buffer() local
2153 num_loops = DIV_ROUND_UP(byte_count, max_bytes); in amdgpu_copy_buffer()
2154 num_dw = ALIGN(num_loops * adev->mman.buffer_funcs->copy_num_dw, 8); in amdgpu_copy_buffer()
2160 for (i = 0; i < num_loops; i++) { in amdgpu_copy_buffer()
2195 unsigned int num_loops, num_dw; in amdgpu_ttm_fill_mem() local
2202 num_loops = DIV_ROUND_UP_ULL(byte_count, max_bytes); in amdgpu_ttm_fill_mem()
2203 num_dw = ALIGN(num_loops * adev->mman.buffer_funcs->fill_num_dw, 8); in amdgpu_ttm_fill_mem()
2209 for (i = 0; i < num_loops; i++) { in amdgpu_ttm_fill_mem()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c3288 u16 num_loops, u16 wait, bool iqcalmode) in wlc_lcnphy_run_samples() argument
3294 if (num_loops != 0xffff) in wlc_lcnphy_run_samples()
3295 num_loops--; in wlc_lcnphy_run_samples()
3296 mod_phy_reg(pi, 0x640, (0xffff << 0), num_loops << 0); in wlc_lcnphy_run_samples()
/linux-6.6.21/drivers/scsi/smartpqi/
Dsmartpqi_init.c336 unsigned int num_loops; in pqi_scsi_block_requests() local
343 num_loops = 0; in pqi_scsi_block_requests()
346 num_loops++; in pqi_scsi_block_requests()
347 if (num_loops == 10) in pqi_scsi_block_requests()