/linux/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 in pvr2_i2c_xfer() [all...] |
H A D | pvrusb2-hdw.c | 3336 unsigned pcnt,tcnt; in pvr2_full_eeprom_fetch() local 3372 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch() 3374 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch() 3375 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_full_eeprom_fetch() 3383 msg[1].buf = eeprom+tcnt; in pvr2_full_eeprom_fetch() 4682 unsigned int tcnt = 0; in print_input_mask() local 4685 ccnt = scnprintf(buf+tcnt, in print_input_mask() 4765 unsigned int tcnt = 0; pvr2_hdw_report_unlocked() local 4821 unsigned int tcnt = 0; pvr2_hdw_report_clients() local [all...] |
H A D | pvrusb2-v4l2.c | 1065 int tcnt = 0; in pvr2_v4l2_read() local 1076 tcnt = c2; in pvr2_v4l2_read() 1081 tcnt = -EFAULT; in pvr2_v4l2_read() 1085 tcnt += c2; in pvr2_v4l2_read() 1091 return tcnt; in pvr2_v4l2_read()
|
/linux/drivers/phy/microchip/ |
H A D | sparx5_serdes.h | 85 int id, int tinst, int tcnt, in sdx5_addr() argument 91 WARN_ON((tinst) >= tcnt); in sdx5_addr() 113 int id, int tinst, int tcnt, in sdx5_rmw() argument 119 sdx5_addr(priv->regs, id, tinst, tcnt, in sdx5_rmw() 128 int id, int tinst, int tcnt, in sdx5_inst_rmw() argument 158 int id, int tinst, int tcnt, in sdx5_inst_addr() argument
|
H A D | lan966x_serdes.c | 20 #define lan_offset_(id, tinst, tcnt, \ argument
|
/linux/drivers/watchdog/ |
H A D | meson_gxbb_wdt.c | 84 unsigned long tcnt = timeout * 1000; in meson_gxbb_wdt_set_timeout() local 86 if (tcnt > GXBB_WDT_TCNT_SETUP_MASK) in meson_gxbb_wdt_set_timeout() 87 tcnt = GXBB_WDT_TCNT_SETUP_MASK; in meson_gxbb_wdt_set_timeout() 93 writel(tcnt, data->reg_base + GXBB_WDT_TCNT_REG); in meson_gxbb_wdt_set_timeout()
|
/linux/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()
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.h | 700 int id, int tinst, int tcnt, in lan_addr() argument 706 WARN_ON((tinst) >= tcnt); in lan_addr() 714 static inline u32 lan_rd(struct lan966x *lan966x, int id, int tinst, int tcnt, in lan_rd() argument 718 return readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rd() 723 int id, int tinst, int tcnt, in lan_wr() argument 727 writel(val, lan_addr(lan966x->regs, id, tinst, tcnt, in lan_wr() 733 int id, int tinst, int tcnt, in lan_rmw() argument 739 nval = readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rmw() 742 writel(nval, lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, in lan_rmw()
|
/linux/drivers/pwm/ |
H A D | pwm-berlin.c | 48 u32 tcnt; member 240 channel->tcnt = berlin_pwm_readl(bpc, i, BERLIN_PWM_TCNT); in berlin_pwm_suspend() 264 berlin_pwm_writel(bpc, i, channel->tcnt, BERLIN_PWM_TCNT); in berlin_pwm_resume()
|
/linux/drivers/ntb/test/ |
H A D | ntb_perf.c | 199 u8 tcnt; member 1049 static int perf_set_tcnt(struct perf_ctx *perf, u8 tcnt) in perf_set_tcnt() argument 1051 if (tcnt == 0 || tcnt > MAX_THREADS_CNT) in perf_set_tcnt() 1057 perf->tcnt = tcnt; in perf_set_tcnt() 1091 atomic_set(&perf->tsync, perf->tcnt); in perf_submit_test() 1099 if (tidx < perf->tcnt) in perf_submit_test() 1155 perf->tcnt = DEF_THREADS_CNT; in perf_init_threads() 1321 pos = scnprintf(buf, sizeof(buf), "%hhu\n", perf->tcnt); in perf_dbgfs_read_tcnt() [all...] |
/linux/drivers/clocksource/ |
H A D | samsung_pwm_timer.c | 136 static void samsung_time_setup(unsigned int channel, unsigned long tcnt) in samsung_time_setup() argument 152 writel_relaxed(tcnt, pwm.base + REG_TCNTB(channel)); in samsung_time_setup() 153 writel_relaxed(tcnt, pwm.base + REG_TCMPB(channel)); in samsung_time_setup()
|
/linux/tools/perf/tests/shell/lib/ |
H A D | perf_metric_validation.py | 176 tcnt = 0 187 tcnt += 1
|
/linux/drivers/rapidio/ |
H A D | rio.c | 1536 int tcnt = 0; in rio_lock_device() local 1545 if (wait_ms != 0 && tcnt == wait_ms) { in rio_lock_device() 1553 tcnt++; in rio_lock_device()
|
/linux/drivers/dma/lgm/ |
H A D | lgm-dma.c | 421 static void ldma_dev_df_tout_cfg(struct ldma_dev *d, bool enable, int tcnt) in ldma_dev_df_tout_cfg() argument 428 val = DMA_CTRL_DESC_TMOUT_EN_V31 | FIELD_PREP(DMA_CTRL_DESC_TMOUT_CNT_V31, tcnt); in ldma_dev_df_tout_cfg()
|
/linux/kernel/bpf/ |
H A D | syscall.c | 2424 u64 tnsecs, tcnt, tmisses; in bpf_prog_get_stats() local 2430 tcnt = u64_stats_read(&st->cnt); in bpf_prog_get_stats() 2434 cnt += tcnt; in bpf_prog_get_stats()
|