/Linux-v4.19/drivers/media/usb/pvrusb2/ |
D | pvrusb2-eeprom.c | 51 unsigned pcnt,tcnt; in pvr2_eeprom_fetch() local 88 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch() 90 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch() 91 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_eeprom_fetch() 99 msg[1].buf = eeprom+tcnt; in pvr2_eeprom_fetch()
|
D | pvrusb2-i2c-core.c | 395 u16 tcnt,bcnt,offs; in pvr2_i2c_xfer() local 408 tcnt = msgs[0].len; in pvr2_i2c_xfer() 410 while (tcnt) { in pvr2_i2c_xfer() 411 bcnt = tcnt; in pvr2_i2c_xfer() 421 tcnt -= bcnt; in pvr2_i2c_xfer() 442 u16 tcnt,bcnt,wcnt,offs; in pvr2_i2c_xfer() local 447 tcnt = msgs[1].len; in pvr2_i2c_xfer() 450 while (tcnt || wcnt) { in pvr2_i2c_xfer() 451 bcnt = tcnt; in pvr2_i2c_xfer() 462 tcnt -= bcnt; in pvr2_i2c_xfer()
|
D | pvrusb2-hdw.c | 3320 unsigned pcnt,tcnt; in pvr2_full_eeprom_fetch() local 3357 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch() 3359 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch() 3360 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_full_eeprom_fetch() 3368 msg[1].buf = eeprom+tcnt; in pvr2_full_eeprom_fetch() 4649 unsigned int tcnt = 0; in print_input_mask() local 4652 ccnt = scnprintf(buf+tcnt, in print_input_mask() 4653 acnt-tcnt, in print_input_mask() 4655 (tcnt ? ", " : ""), in print_input_mask() 4657 tcnt += ccnt; in print_input_mask() [all …]
|
D | pvrusb2-v4l2.c | 1104 int tcnt = 0; in pvr2_v4l2_read() local 1115 tcnt = c2; in pvr2_v4l2_read() 1120 tcnt = -EFAULT; in pvr2_v4l2_read() 1124 tcnt += c2; in pvr2_v4l2_read() 1130 return tcnt; in pvr2_v4l2_read()
|
/Linux-v4.19/drivers/clocksource/ |
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()
|
D | samsung_pwm_timer.c | 140 static void samsung_time_setup(unsigned int channel, unsigned long tcnt) in samsung_time_setup() argument 156 writel_relaxed(tcnt, pwm.base + REG_TCNTB(channel)); in samsung_time_setup() 157 writel_relaxed(tcnt, pwm.base + REG_TCMPB(channel)); in samsung_time_setup()
|
/Linux-v4.19/drivers/watchdog/ |
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()
|
/Linux-v4.19/drivers/pwm/ |
D | pwm-samsung.c | 312 u32 tin_ns = chan->tin_ns, tcnt, tcmp, oldtcmp; in __pwm_samsung_config() local 322 tcnt = readl(our_chip->base + REG_TCNTB(pwm->hwpwm)); in __pwm_samsung_config() 326 ++tcnt; in __pwm_samsung_config() 343 tcnt = period_ns / tin_ns; in __pwm_samsung_config() 347 if (tcnt <= 1) in __pwm_samsung_config() 357 tcmp = tcnt - tcmp; in __pwm_samsung_config() 360 --tcnt; in __pwm_samsung_config() 365 "tin_ns=%u, tcmp=%u/%u\n", tin_ns, tcmp, tcnt); in __pwm_samsung_config() 368 writel(tcnt, our_chip->base + REG_TCNTB(pwm->hwpwm)); in __pwm_samsung_config()
|
D | pwm-berlin.c | 45 u32 tcnt; member 256 channel->tcnt = berlin_pwm_readl(pwm, i, BERLIN_PWM_TCNT); in berlin_pwm_suspend() 283 berlin_pwm_writel(pwm, i, channel->tcnt, BERLIN_PWM_TCNT); in berlin_pwm_resume()
|
/Linux-v4.19/drivers/ntb/test/ |
D | ntb_perf.c | 196 u8 tcnt; member 1015 static int perf_set_tcnt(struct perf_ctx *perf, u8 tcnt) in perf_set_tcnt() argument 1017 if (tcnt == 0 || tcnt > MAX_THREADS_CNT) in perf_set_tcnt() 1023 perf->tcnt = tcnt; in perf_set_tcnt() 1056 atomic_set(&perf->tsync, perf->tcnt); in perf_submit_test() 1064 if (tidx < perf->tcnt) in perf_submit_test() 1120 perf->tcnt = DEF_THREADS_CNT; in perf_init_threads() 1283 pos = scnprintf(buf, sizeof(buf), "%hhu\n", perf->tcnt); in perf_dbgfs_read_tcnt()
|
/Linux-v4.19/drivers/rapidio/ |
D | rio.c | 1605 int tcnt = 0; in rio_lock_device() local 1614 if (wait_ms != 0 && tcnt == wait_ms) { in rio_lock_device() 1622 tcnt++; in rio_lock_device()
|