Searched refs:tcnt (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
D | pvrusb2-eeprom.c | 55 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()
|
D | pvrusb2-i2c-core.c | 406 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()
|
D | pvrusb2-hdw.c | 3370 unsigned pcnt,tcnt; in pvr2_full_eeprom_fetch() local 3408 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch() 3410 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch() 3411 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_full_eeprom_fetch() 3419 msg[1].buf = eeprom+tcnt; in pvr2_full_eeprom_fetch() 4687 unsigned int tcnt = 0; in print_input_mask() local 4690 ccnt = scnprintf(buf+tcnt, in print_input_mask() 4691 acnt-tcnt, in print_input_mask() 4693 (tcnt ? ", " : ""), in print_input_mask() 4695 tcnt += ccnt; in print_input_mask() [all …]
|
D | pvrusb2-v4l2.c | 1111 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.1.27/drivers/pwm/ |
D | pwm-samsung.c | 296 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.1.27/drivers/clocksource/ |
D | samsung_pwm_timer.c | 140 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.1.27/drivers/rapidio/ |
D | rio.c | 1294 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()
|