Home
last modified time | relevance | path

Searched refs:tcnt (Results 1 – 25 of 255) sorted by relevance

1234567891011

/external/ltp/testcases/kernel/io/disktest/
Dio.c46 long tcnt; in Write() local
48 WriteFile(fd, buf, trsiz, &tcnt, NULL); in Write()
50 tcnt = write(fd, buf, trsiz); in Write()
52 return (tcnt); in Write()
57 long tcnt; in Read() local
59 ReadFile(fd, buf, trsiz, &tcnt, NULL); in Read()
61 tcnt = read(fd, buf, trsiz); in Read()
63 return (tcnt); in Read()
Dchildmain.c162 long tcnt = 0; in write_error_mark() local
172 tcnt = Write(fd, data, BLK_SIZE); in write_error_mark()
597 long tcnt = 0; in ChildMain() local
804 tcnt = Write(fd, buf2, target.trsiz * BLK_SIZE); in ChildMain()
807 tcnt = Write(fd, buf2, target.trsiz * BLK_SIZE); in ChildMain()
857 tcnt = Read(fd, buf1, target.trsiz * BLK_SIZE); in ChildMain()
860 tcnt = Read(fd, buf1, target.trsiz * BLK_SIZE); in ChildMain()
869 if (tcnt != (long)target.trsiz * BLK_SIZE) { in ChildMain()
874 target.lba, target.lba, tcnt, in ChildMain()
942 tcnt = in ChildMain()
[all …]
/external/u-boot/drivers/pwm/
Dexynos_pwm.c26 u32 tcnt, tcmp, tcon; in exynos_pwm_set_config() local
42 tcnt = period_ns / rate_ns; in exynos_pwm_set_config()
44 debug("%s: tcnt %u, tcmp %u\n", __func__, tcnt, tcmp); in exynos_pwm_set_config()
46 writel(tcnt, &regs->tcntb0 + offset); in exynos_pwm_set_config()
/external/u-boot/arch/arm/cpu/armv7/s5p-common/
Dpwm.c67 unsigned long tcnt; in pwm_config() local
87 tcnt = period_ns / tin_ns; in pwm_config()
91 tcmp = tcnt - tcmp; in pwm_config()
96 writel(tcnt, &pwm->tcntb0 + offset); in pwm_config()
/external/u-boot/arch/m68k/cpu/mcf547x_8x/
Dslicetimer.c38 out_be32(&timerp->tcnt, usec * freq); in __udelay()
69 out_be32(&timerp->tcnt, 0); in timer_init()
77 out_be32(&timerp->tcnt, 1000 * CONFIG_SYS_TIMER_PRESCALER); in timer_init()
/external/toybox/toys/pending/
Dbootchartd.c151 long tcnt = 60 * 1000 * 1000 / TT.smpl_period_usec; in start_logging() local
153 if (tcnt <= 0) tcnt = 1; in start_logging()
161 while (--tcnt && !toys.signal) { in start_logging()
182 if (tcnt > 2 * 1000 * 1000 / TT.smpl_period_usec) in start_logging()
183 tcnt = 2 * 1000 * 1000 / TT.smpl_period_usec; in start_logging()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
Dstress.c123 int tcnt; /* we need to make sure the threads are started before killing 'em */ member
144 i = c->tcnt; in sigthr()
242 c->tcnt += 1; in lockthr()
290 c->tcnt += 1; in timedlockthr()
346 c->tcnt += 1; in trylockthr()
393 c->tcnt = 0; in cell_init()
/external/autotest/client/common_lib/cros/
Dusb_devices.textfsm5 Value tcnt ([0-9]+)
21 ^T:\s+Bus=${tbus}\s+Lev=${tlev}\sPrnt=${tprnt}\s+Port=${tport}\sCnt=${tcnt}\sDev\#=\s+${tdev}
/external/ltp/lib/newlib_tests/
Dtest02.c33 .tcnt = 2,
Dtest04.c41 .tcnt = 2,
Dtst_strstatus.c36 .tcnt = ARRAY_SIZE(tcases),
/external/ltp/testcases/kernel/syscalls/getrandom/
Dgetrandom01.c28 .tcnt = ARRAY_SIZE(modes),
Dgetrandom03.c42 .tcnt = ARRAY_SIZE(sizes),
/external/ltp/testcases/kernel/syscalls/nanosleep/
Dnanosleep04.c50 .tcnt = ARRAY_SIZE(tcases),
/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl_ns07.c44 .tcnt = ARRAY_SIZE(requests),
/external/ltp/testcases/kernel/syscalls/fadvise/
Dposix_fadvise01.c80 .tcnt = ARRAY_SIZE(defined_advise),
Dposix_fadvise04.c85 .tcnt = ARRAY_SIZE(defined_advise),
Dposix_fadvise02.c87 .tcnt = ARRAY_SIZE(defined_advise),
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify08.c66 .tcnt = 2,
/external/ltp/testcases/kernel/syscalls/flock/
Dflock01.c51 .tcnt = ARRAY_SIZE(tcases),
/external/ltp/testcases/kernel/syscalls/getpriority/
Dgetpriority01.c54 .tcnt = ARRAY_SIZE(tcases),
/external/ltp/testcases/kernel/syscalls/socketcall/
Dsocketcall01.c53 .tcnt = ARRAY_SIZE(TC),
/external/ltp/testcases/kernel/crypto/
Daf_alg01.c78 .tcnt = ARRAY_SIZE(hash_algs),
/external/ltp/testcases/kernel/syscalls/getcwd/
Dgetcwd01.c66 .tcnt = ARRAY_SIZE(tcases),
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl02.c62 .tcnt = ARRAY_SIZE(min_fds),

1234567891011