Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/powerpc/tm/
H A 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()
H A 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()
/openbmc/linux/tools/perf/tests/workloads/
H A 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()
/openbmc/linux/drivers/gpu/drm/radeon/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/acpi/acpica/
H A 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()
H A Daclocal.h1205 u32 num_loops; member
/openbmc/linux/tools/iio/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c2157 unsigned int num_loops, num_dw; in amdgpu_copy_buffer() local
2169 num_loops = DIV_ROUND_UP(byte_count, max_bytes); in amdgpu_copy_buffer()
2170 num_dw = ALIGN(num_loops * adev->mman.buffer_funcs->copy_num_dw, 8); in amdgpu_copy_buffer()
2176 for (i = 0; i < num_loops; i++) { in amdgpu_copy_buffer()
2211 unsigned int num_loops, num_dw; in amdgpu_ttm_fill_mem() local
2218 num_loops = DIV_ROUND_UP_ULL(byte_count, max_bytes); in amdgpu_ttm_fill_mem()
2219 num_dw = ALIGN(num_loops * adev->mman.buffer_funcs->fill_num_dw, 8); in amdgpu_ttm_fill_mem()
2225 for (i = 0; i < num_loops; i++) { in amdgpu_ttm_fill_mem()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A 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()
/openbmc/linux/drivers/scsi/smartpqi/
H A 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()