| /OK3568_Linux_fs/kernel/drivers/media/usb/pvrusb2/ |
| H A D | pvrusb2-eeprom.c | 41 unsigned pcnt,tcnt; in pvr2_eeprom_fetch() local 77 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch() 79 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch() 80 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_eeprom_fetch() 88 msg[1].buf = eeprom+tcnt; in pvr2_eeprom_fetch()
|
| H A D | pvrusb2-i2c-core.c | 385 u16 tcnt,bcnt,offs; in pvr2_i2c_xfer() local 398 tcnt = msgs[0].len; in pvr2_i2c_xfer() 400 while (tcnt) { in pvr2_i2c_xfer() 401 bcnt = tcnt; in pvr2_i2c_xfer() 411 tcnt -= bcnt; in pvr2_i2c_xfer() 432 u16 tcnt,bcnt,wcnt,offs; in pvr2_i2c_xfer() local 437 tcnt = msgs[1].len; in pvr2_i2c_xfer() 440 while (tcnt || wcnt) { in pvr2_i2c_xfer() 441 bcnt = tcnt; in pvr2_i2c_xfer() 452 tcnt -= bcnt; in pvr2_i2c_xfer()
|
| H A D | pvrusb2-hdw.c | 3334 unsigned pcnt,tcnt; in pvr2_full_eeprom_fetch() local 3370 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch() 3372 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch() 3373 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_full_eeprom_fetch() 3381 msg[1].buf = eeprom+tcnt; in pvr2_full_eeprom_fetch() 4676 unsigned int tcnt = 0; in print_input_mask() local 4679 ccnt = scnprintf(buf+tcnt, in print_input_mask() 4680 acnt-tcnt, in print_input_mask() 4682 (tcnt ? ", " : ""), in print_input_mask() 4684 tcnt += ccnt; in print_input_mask() [all …]
|
| H A D | pvrusb2-v4l2.c | 1091 int tcnt = 0; in pvr2_v4l2_read() local 1102 tcnt = c2; in pvr2_v4l2_read() 1107 tcnt = -EFAULT; in pvr2_v4l2_read() 1111 tcnt += c2; in pvr2_v4l2_read() 1117 return tcnt; in pvr2_v4l2_read()
|
| /OK3568_Linux_fs/u-boot/drivers/pwm/ |
| H A D | exynos_pwm.c | 29 u32 tcnt, tcmp, tcon; in exynos_pwm_set_config() local 45 tcnt = period_ns / rate_ns; in exynos_pwm_set_config() 47 debug("%s: tcnt %u, tcmp %u\n", __func__, tcnt, tcmp); in exynos_pwm_set_config() 49 writel(tcnt, ®s->tcntb0 + offset); in exynos_pwm_set_config()
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/s5p-common/ |
| H A D | pwm.c | 68 unsigned long tcnt; in pwm_config() local 88 tcnt = period_ns / tin_ns; in pwm_config() 92 tcmp = tcnt - tcmp; in pwm_config() 97 writel(tcnt, &pwm->tcntb0 + offset); in pwm_config()
|
| /OK3568_Linux_fs/u-boot/arch/m68k/cpu/mcf547x_8x/ |
| H A D | slicetimer.c | 38 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()
|
| /OK3568_Linux_fs/kernel/drivers/clocksource/ |
| H A D | h8300_tpu.c | 35 unsigned long tcnt; in read_tcnt32() local 37 tcnt = ioread16be(p->mapbase1 + TCNT) << 16; in read_tcnt32() 38 tcnt |= ioread16be(p->mapbase2 + TCNT); in read_tcnt32() 39 return tcnt; in read_tcnt32()
|
| H A D | samsung_pwm_timer.c | 137 static void samsung_time_setup(unsigned int channel, unsigned long tcnt) in samsung_time_setup() argument 153 writel_relaxed(tcnt, pwm.base + REG_TCNTB(channel)); in samsung_time_setup() 154 writel_relaxed(tcnt, pwm.base + REG_TCMPB(channel)); in samsung_time_setup()
|
| /OK3568_Linux_fs/kernel/drivers/pwm/ |
| H A D | pwm-samsung.c | 308 u32 tin_ns = chan->tin_ns, tcnt, tcmp, oldtcmp; in __pwm_samsung_config() local 318 tcnt = readl(our_chip->base + REG_TCNTB(pwm->hwpwm)); in __pwm_samsung_config() 322 ++tcnt; in __pwm_samsung_config() 339 tcnt = period_ns / tin_ns; in __pwm_samsung_config() 343 if (tcnt <= 1) in __pwm_samsung_config() 353 tcmp = tcnt - tcmp; in __pwm_samsung_config() 356 --tcnt; in __pwm_samsung_config() 361 "tin_ns=%u, tcmp=%u/%u\n", tin_ns, tcmp, tcnt); in __pwm_samsung_config() 364 writel(tcnt, our_chip->base + REG_TCNTB(pwm->hwpwm)); in __pwm_samsung_config()
|
| H A D | pwm-berlin.c | 45 u32 tcnt; member 255 channel->tcnt = berlin_pwm_readl(pwm, i, BERLIN_PWM_TCNT); in berlin_pwm_suspend() 282 berlin_pwm_writel(pwm, i, channel->tcnt, BERLIN_PWM_TCNT); in berlin_pwm_resume()
|
| /OK3568_Linux_fs/kernel/drivers/watchdog/ |
| H A D | meson_gxbb_wdt.c | 71 unsigned long tcnt = timeout * 1000; in meson_gxbb_wdt_set_timeout() local 73 if (tcnt > GXBB_WDT_TCNT_SETUP_MASK) in meson_gxbb_wdt_set_timeout() 74 tcnt = GXBB_WDT_TCNT_SETUP_MASK; in meson_gxbb_wdt_set_timeout() 80 writel(tcnt, data->reg_base + GXBB_WDT_TCNT_REG); in meson_gxbb_wdt_set_timeout()
|
| /OK3568_Linux_fs/external/mpp/mpp/vproc/iep2/ |
| H A D | iep2_pd.c | 80 int tcnt = ctx->output.dect_pd_tcnt; in iep2_check_pd() local 92 pd_inf->temporal[idx] = (tcnt < FIELD_DIFF_SUM_THR) | ((bcnt < FIELD_DIFF_SUM_THR) << 1); in iep2_check_pd() 95 iep_dbg_trace("pd tcnt %d bcnt %d\n", tcnt, bcnt); in iep2_check_pd() 122 if ((type == PD_TS && !(tcnt < FIELD_DIFF_SUM_THR)) || in iep2_check_pd()
|
| H A D | iep2_ff.c | 31 RK_S32 tcnt = ctx->output.dect_pd_tcnt; in iep2_check_ffo() local 50 tcnt, bcnt, tdiff, bdiff, ctx->output.ff_gradt_tcnt, ctx->output.ff_gradt_bcnt, in iep2_check_ffo() 112 if (tcnt <= 3 && bcnt <= 3) { in iep2_check_ffo()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | iowait.c | 118 u8 cnt, tcnt; in iowait_priority_update_top() local 122 tcnt = (top->priority << IOWAIT_PRIORITY_STARVE_SHIFT) + in iowait_priority_update_top() 124 if (cnt > tcnt) in iowait_priority_update_top()
|
| /OK3568_Linux_fs/kernel/drivers/ntb/test/ |
| H A D | ntb_perf.c | 199 u8 tcnt; member 1051 static int perf_set_tcnt(struct perf_ctx *perf, u8 tcnt) in perf_set_tcnt() argument 1053 if (tcnt == 0 || tcnt > MAX_THREADS_CNT) in perf_set_tcnt() 1059 perf->tcnt = tcnt; in perf_set_tcnt() 1093 atomic_set(&perf->tsync, perf->tcnt); in perf_submit_test() 1101 if (tidx < perf->tcnt) in perf_submit_test() 1157 perf->tcnt = DEF_THREADS_CNT; in perf_init_threads() 1323 pos = scnprintf(buf, sizeof(buf), "%hhu\n", perf->tcnt); in perf_dbgfs_read_tcnt()
|
| /OK3568_Linux_fs/u-boot/arch/m68k/include/asm/ |
| H A D | immap_547x_8x.h | 113 u32 tcnt; /* 0x00 */ member
|
| /OK3568_Linux_fs/kernel/drivers/rapidio/ |
| H A D | rio.c | 1601 int tcnt = 0; in rio_lock_device() local 1610 if (wait_ms != 0 && tcnt == wait_ms) { in rio_lock_device() 1618 tcnt++; in rio_lock_device()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | syscall.c | 1803 u64 tnsecs, tcnt; in bpf_prog_get_stats() local 1809 tcnt = st->cnt; in bpf_prog_get_stats() 1812 cnt += tcnt; in bpf_prog_get_stats()
|