/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-eeprom.c | 41 unsigned pcnt,tcnt; local 77 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { 79 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; 80 offs = tcnt + (eepromSize - EEPROM_SIZE); 88 msg[1].buf = eeprom+tcnt;
|
H A D | pvrusb2-i2c-core.c | 385 u16 tcnt,bcnt,offs; local 398 tcnt = msgs[0].len; 400 while (tcnt) { 401 bcnt = tcnt; 411 tcnt -= bcnt; 432 u16 tcnt,bcnt,wcnt,offs; local 437 tcnt = msgs[1].len; 440 while (tcnt || wcnt) { 441 bcnt = tcnt; 452 tcnt [all...] |
H A D | pvrusb2-hdw.c | 3336 unsigned pcnt,tcnt; local 3372 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { 3374 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; 3375 offs = tcnt + (eepromSize - EEPROM_SIZE); 3383 msg[1].buf = eeprom+tcnt; 4681 unsigned int tcnt = 0; local 4684 ccnt = scnprintf(buf+tcnt, 4764 unsigned int tcnt = 0; local 4820 unsigned int tcnt = 0; local [all...] |
H A D | pvrusb2-v4l2.c | 1089 int tcnt = 0; local 1100 tcnt = c2; 1105 tcnt = -EFAULT; 1109 tcnt += c2; 1115 return tcnt;
|
/linux-master/drivers/phy/microchip/ |
H A D | sparx5_serdes.h | 51 int id, int tinst, int tcnt, 57 WARN_ON((tinst) >= tcnt); 79 int id, int tinst, int tcnt, 85 sdx5_addr(priv->regs, id, tinst, tcnt, 94 int id, int tinst, int tcnt, 124 int id, int tinst, int tcnt, 50 sdx5_addr(void __iomem *base[], int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument 78 sdx5_rmw(u32 val, u32 mask, struct sparx5_serdes_private *priv, int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument 93 sdx5_inst_rmw(u32 val, u32 mask, void __iomem *iomem, int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument 123 sdx5_inst_addr(void __iomem *iomem, int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument
|
H A D | lan966x_serdes.c | 20 #define lan_offset_(id, tinst, tcnt, \
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | iowait.c | 118 u8 cnt, tcnt; local 122 tcnt = (top->priority << IOWAIT_PRIORITY_STARVE_SHIFT) + 124 if (cnt > tcnt)
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_main.h | 571 static inline __pure int spx5_offset(int id, int tinst, int tcnt, argument 577 WARN_ON((tinst) >= tcnt); 588 int id, int tinst, int tcnt, 594 WARN_ON((tinst) >= tcnt); 615 static inline u32 spx5_rd(struct sparx5 *sparx5, int id, int tinst, int tcnt, argument 619 return readl(spx5_addr(sparx5->regs, id, tinst, tcnt, gbase, ginst, 623 static inline u32 spx5_inst_rd(void __iomem *iomem, int id, int tinst, int tcnt, argument 632 int id, int tinst, int tcnt, 636 writel(val, spx5_addr(sparx5->regs, id, tinst, tcnt, 642 int id, int tinst, int tcnt, 587 spx5_addr(void __iomem *base[], int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument 631 spx5_wr(u32 val, struct sparx5 *sparx5, int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument 641 spx5_inst_wr(u32 val, void __iomem *iomem, int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument 651 spx5_rmw(u32 val, u32 mask, struct sparx5 *sparx5, int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument 665 spx5_inst_rmw(u32 val, u32 mask, void __iomem *iomem, int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument 684 spx5_reg_get(struct sparx5 *sparx5, int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument [all...] |
/linux-master/drivers/watchdog/ |
H A D | meson_gxbb_wdt.c | 84 unsigned long tcnt = timeout * 1000; local 86 if (tcnt > GXBB_WDT_TCNT_SETUP_MASK) 87 tcnt = GXBB_WDT_TCNT_SETUP_MASK; 93 writel(tcnt, data->reg_base + GXBB_WDT_TCNT_REG);
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.h | 746 int id, int tinst, int tcnt, 752 WARN_ON((tinst) >= tcnt); 760 static inline u32 lan_rd(struct lan966x *lan966x, int id, int tinst, int tcnt, argument 764 return readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, 769 int id, int tinst, int tcnt, 773 writel(val, lan_addr(lan966x->regs, id, tinst, tcnt, 779 int id, int tinst, int tcnt, 785 nval = readl(lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, 788 writel(nval, lan_addr(lan966x->regs, id, tinst, tcnt, gbase, ginst, 745 lan_addr(void __iomem *base[], int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument 768 lan_wr(u32 val, struct lan966x *lan966x, int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument 778 lan_rmw(u32 val, u32 mask, struct lan966x *lan966x, int id, int tinst, int tcnt, int gbase, int ginst, int gcnt, int gwidth, int raddr, int rinst, int rcnt, int rwidth) argument
|
/linux-master/drivers/pwm/ |
H A D | pwm-samsung.c | 313 u32 tin_ns = chan->tin_ns, tcnt, tcmp, oldtcmp; local 315 tcnt = readl(our_chip->base + REG_TCNTB(pwm->hwpwm)); 319 ++tcnt; 336 tcnt = period_ns / tin_ns; 340 if (tcnt <= 1) 350 tcmp = tcnt - tcmp; 353 --tcnt; 357 dev_dbg(pwmchip_parent(chip), "tin_ns=%u, tcmp=%u/%u\n", tin_ns, tcmp, tcnt); local 360 writel(tcnt, our_chip->base + REG_TCNTB(pwm->hwpwm));
|
H A D | pwm-berlin.c | 48 u32 tcnt; member in struct:berlin_pwm_channel 240 channel->tcnt = berlin_pwm_readl(bpc, i, BERLIN_PWM_TCNT); 264 berlin_pwm_writel(bpc, i, channel->tcnt, BERLIN_PWM_TCNT);
|
/linux-master/drivers/ntb/test/ |
H A D | ntb_perf.c | 199 u8 tcnt; member in struct:perf_ctx 1051 static int perf_set_tcnt(struct perf_ctx *perf, u8 tcnt) argument 1053 if (tcnt == 0 || tcnt > MAX_THREADS_CNT) 1059 perf->tcnt = tcnt; 1093 atomic_set(&perf->tsync, perf->tcnt); 1101 if (tidx < perf->tcnt) 1157 perf->tcnt = DEF_THREADS_CNT; 1323 pos = scnprintf(buf, sizeof(buf), "%hhu\n", perf->tcnt); [all...] |
/linux-master/drivers/clocksource/ |
H A D | samsung_pwm_timer.c | 136 static void samsung_time_setup(unsigned int channel, unsigned long tcnt) argument 152 writel_relaxed(tcnt, pwm.base + REG_TCNTB(channel)); 153 writel_relaxed(tcnt, pwm.base + REG_TCMPB(channel));
|
/linux-master/tools/perf/tests/shell/lib/ |
H A D | perf_metric_validation.py | 174 tcnt = 0 182 tcnt += 1
|
/linux-master/drivers/rapidio/ |
H A D | rio.c | 1536 int tcnt = 0; local 1545 if (wait_ms != 0 && tcnt == wait_ms) { 1553 tcnt++;
|
/linux-master/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) argument 428 val = DMA_CTRL_DESC_TMOUT_EN_V31 | FIELD_PREP(DMA_CTRL_DESC_TMOUT_CNT_V31, tcnt);
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 2327 u64 tnsecs, tcnt, tmisses; local 2333 tcnt = u64_stats_read(&st->cnt); 2337 cnt += tcnt;
|