Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/media/usb/pvrusb2/
Dpvrusb2-eeprom.c55 unsigned pcnt,tcnt; in pvr2_eeprom_fetch() local
93 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch()
95 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch()
96 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_eeprom_fetch()
104 msg[1].buf = eeprom+tcnt; in pvr2_eeprom_fetch()
Dpvrusb2-i2c-core.c406 u16 tcnt,bcnt,offs; in pvr2_i2c_xfer() local
419 tcnt = msgs[0].len; in pvr2_i2c_xfer()
421 while (tcnt) { in pvr2_i2c_xfer()
422 bcnt = tcnt; in pvr2_i2c_xfer()
432 tcnt -= bcnt; in pvr2_i2c_xfer()
454 u16 tcnt,bcnt,wcnt,offs; in pvr2_i2c_xfer() local
459 tcnt = msgs[1].len; in pvr2_i2c_xfer()
462 while (tcnt || wcnt) { in pvr2_i2c_xfer()
463 bcnt = tcnt; in pvr2_i2c_xfer()
474 tcnt -= bcnt; in pvr2_i2c_xfer()
Dpvrusb2-hdw.c3379 unsigned pcnt,tcnt; in pvr2_full_eeprom_fetch() local
3417 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch()
3419 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch()
3420 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_full_eeprom_fetch()
3428 msg[1].buf = eeprom+tcnt; in pvr2_full_eeprom_fetch()
4696 unsigned int tcnt = 0; in print_input_mask() local
4699 ccnt = scnprintf(buf+tcnt, in print_input_mask()
4700 acnt-tcnt, in print_input_mask()
4702 (tcnt ? ", " : ""), in print_input_mask()
4704 tcnt += ccnt; in print_input_mask()
[all …]
Dpvrusb2-v4l2.c1111 int tcnt = 0; in pvr2_v4l2_read() local
1122 tcnt = c2; in pvr2_v4l2_read()
1127 tcnt = -EFAULT; in pvr2_v4l2_read()
1131 tcnt += c2; in pvr2_v4l2_read()
1137 return tcnt; in pvr2_v4l2_read()
/linux-4.4.14/drivers/pwm/
Dpwm-samsung.c296 u32 tin_ns = chan->tin_ns, tcnt, tcmp, oldtcmp; in pwm_samsung_config() local
309 tcnt = readl(our_chip->base + REG_TCNTB(pwm->hwpwm)); in pwm_samsung_config()
313 ++tcnt; in pwm_samsung_config()
330 tcnt = period_ns / tin_ns; in pwm_samsung_config()
334 if (tcnt <= 1) in pwm_samsung_config()
344 tcmp = tcnt - tcmp; in pwm_samsung_config()
347 --tcnt; in pwm_samsung_config()
352 "tin_ns=%u, tcmp=%u/%u\n", tin_ns, tcmp, tcnt); in pwm_samsung_config()
355 writel(tcnt, our_chip->base + REG_TCNTB(pwm->hwpwm)); in pwm_samsung_config()
/linux-4.4.14/drivers/clocksource/
Dh8300_tpu.c46 unsigned long tcnt; in read_tcnt32() local
48 tcnt = ctrl_inw(p->mapbase1 + TCNT) << 16; in read_tcnt32()
49 tcnt |= ctrl_inw(p->mapbase2 + TCNT); in read_tcnt32()
50 return tcnt; in read_tcnt32()
Dsamsung_pwm_timer.c140 static void samsung_time_setup(unsigned int channel, unsigned long tcnt) in samsung_time_setup() argument
156 __raw_writel(tcnt, pwm.base + REG_TCNTB(channel)); in samsung_time_setup()
157 __raw_writel(tcnt, pwm.base + REG_TCMPB(channel)); in samsung_time_setup()
/linux-4.4.14/drivers/rapidio/
Drio.c1294 int tcnt = 0; in rio_lock_device() local
1303 if (wait_ms != 0 && tcnt == wait_ms) { in rio_lock_device()
1311 tcnt++; in rio_lock_device()