/linux-master/drivers/regulator/ |
H A D | bd718x7-regulator.c | 158 int now, new; local 160 now = rdev->desc->ops->get_voltage_sel(rdev); 161 if (now < 0) 162 return now; 164 now = rdev->desc->ops->list_voltage(rdev, now); 165 if (now < 0) 166 return now; 186 if (new > now) { 1561 * for BD718x7 now [all...] |
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | igb_ptp.c | 246 struct timespec64 now, then = ns_to_timespec64(delta); local 250 igb_ptp_read_i210(igb, &now); 251 now = timespec64_add(now, then); 252 igb_ptp_write_i210(igb, (const struct timespec64 *)&now); 499 u64 systim, now; local 588 now = timecounter_cyc2time(&igb->tc, systim); 598 div_u64_rem(now, ns, &rem); 602 div_u64_rem(now, ns << 1, &rem);
|
/linux-master/net/dccp/ |
H A D | input.c | 244 unsigned long now = jiffies; local 257 if (time_before(now, (dp->dccps_rate_last + 272 dp->dccps_rate_last = now; 439 * features, which were undefined or not confirmed until now. 463 * If feature negotiation was successful, activate features now; 540 * echo, etc, for now were not clearing it, sending an extra
|
H A D | options.c | 345 __be32 now = htonl(dccp_timestamp()); local 349 return dccp_insert_option(skb, DCCPO_TIMESTAMP, &now, sizeof(now));
|
/linux-master/drivers/pnp/pnpbios/ |
H A D | core.c | 141 static struct pnp_docking_station_info now; local 156 status = pnp_bios_dock_station_info(&now); 176 if (pnp_dock_event(d, &now) == 0) { 357 /* eventually we will want to use PNPMODE_STATIC here but for now
|
/linux-master/drivers/gpu/drm/i915/gvt/ |
H A D | sched_policy.c | 345 ktime_t now; local 350 now = ktime_get(); 351 vgpu_data->pri_time = ktime_add(now,
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_ptp.c | 425 struct timespec64 now; local 443 now = ktime_to_timespec64(ktime_get_real()); 445 if (cxgb4_ptp_settime(&adapter->ptp_clock_info, &now) < 0) {
|
/linux-master/tools/perf/tests/ |
H A D | switch-tracking.c | 27 struct timeval start, now, diff, maxtime; local 43 err = gettimeofday(&now, NULL); 47 timersub(&now, &start, &diff);
|
/linux-master/net/bridge/ |
H A D | br_input.c | 205 unsigned long now = jiffies; local 210 if (now != dst->used) 211 dst->used = now;
|
/linux-master/sound/soc/meson/ |
H A D | axg-tdm-interface.c | 476 enum snd_soc_bias_level now = local 482 if (now == SND_SOC_BIAS_STANDBY) 487 if (now == SND_SOC_BIAS_PREPARE)
|
/linux-master/arch/m68k/kernel/ |
H A D | entry.S | 26 * all pointers that used to be 'current' are now entry 98 | stack contents now: 106 | stack contents now is just [syscall return address] [pt_regs] [frame] 129 | schedule_tail now used regardless of CONFIG_SMP
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_drv.h | 542 ktime_t now = ktime_get(); local 545 if (ktime_compare(*timeout, now) < 0) { 548 ktime_t rem = ktime_sub(*timeout, now);
|
/linux-master/fs/bcachefs/ |
H A D | movinggc.c | 294 atomic64_read(&c->io_clock[WRITE].now)) << 9); 299 atomic64_read(&c->io_clock[WRITE].now) - 353 last = atomic64_read(&clock->now);
|
H A D | io_write.c | 40 u64 now, int rw) 59 ca->congested_last = now; 68 u64 now = local_clock(); local 69 u64 io_latency = time_after64(now, submit_time) 70 ? now - submit_time 83 now & ~(~0U << 5)) 89 bch2_congested_acct(ca, io_latency, now, rw); 91 __bch2_time_stats_update(&ca->io_latency[rw].stats, submit_time, now); 565 u64 now = ktime_get_ns(); local 568 time_after64(now, w 39 bch2_congested_acct(struct bch_dev *ca, u64 io_latency, u64 now, int rw) argument [all...] |
/linux-master/drivers/pmdomain/ |
H A D | core.c | 240 u64 delta, now; local 242 now = ktime_get_mono_fast_ns(); 243 if (now <= genpd->accounting_time) 246 delta = now - genpd->accounting_time; 258 genpd->accounting_time = now; 301 * as the same is done for devices right now. 3261 u64 now, delta, idle_time = 0; local 3275 now = ktime_get_mono_fast_ns(); 3276 if (now > genpd->accounting_time) { 3277 delta = now 3294 u64 now, on_time, delta = 0; local 3318 u64 now, delta, total = 0; local [all...] |
/linux-master/arch/arm/mach-sa1100/ |
H A D | sleep.S | 16 * Storage is on the stack now. 136 @ Wow, now the hardware suspend request pins can be used, that makes them functional for
|
/linux-master/net/netfilter/ |
H A D | nfnetlink_acct.c | 480 u64 now; local 489 now = (nfacct->flags & NFACCT_F_QUOTA_PKTS) ? 492 ret = now > *quota; 494 if (now >= *quota &&
|
/linux-master/drivers/usb/host/ |
H A D | ohci-hub.c | 266 /* now ohci->lock is always held and irqs are always disabled */ 624 u16 now = ohci_readl(ohci, &ohci->regs->fmnumber); local 625 u16 reset_done = now + PORT_RESET_MSEC; 666 now = ohci_readl(ohci, &ohci->regs->fmnumber); 667 } while (tick_before(now, reset_done) && --limit_1 >= 0);
|
/linux-master/arch/xtensa/lib/ |
H A D | memcopy.S | 98 _bbci.l a5, 1, .Ldstaligned # if dst is now aligned, then 110 j .Ldstaligned # dst is now aligned, return to main algorithm 352 _bbci.l a5, 1, .Lbackdstaligned # if dst is now aligned, then 364 j .Lbackdstaligned # dst is now aligned,
|
/linux-master/drivers/usb/serial/ |
H A D | ch341.c | 569 unsigned long now, delay; local 607 now = jiffies; 609 if (time_before(now, priv->break_end)) { 611 delay = priv->break_end - now;
|
/linux-master/drivers/rtc/ |
H A D | rtc-ds1305.c | 322 unsigned long now, later; local 334 now = rtc_tm_to_time64(&tm); 337 if (later <= now) 339 if ((later - now) > ds1305->rtc->alarm_offset_max) 445 /* Disable the IRQ, and clear its status ... for now, we "know"
|
/linux-master/drivers/iio/temperature/ |
H A D | mlx90614.c | 200 unsigned long now; local 211 now = jiffies; 212 if (time_before(now, data->ready_timestamp) && 214 data->ready_timestamp - now)) != 0) {
|
/linux-master/drivers/usb/usbip/ |
H A D | vudc_dev.c | 128 struct timespec64 now; local 131 ktime_get_ts64(&now); 132 return ((now.tv_sec - udc->start_time.tv_sec) * 1000 + 133 (now.tv_nsec - udc->start_time.tv_nsec) / NSEC_PER_MSEC)
|
/linux-master/include/linux/ |
H A D | clocksource.h | 219 extern u64 clocksource_stop_suspend_timing(struct clocksource *cs, u64 now);
|
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_main.c | 342 unsigned long now, then, dif; local 352 now = READ_ONCE(jiffies); 354 dif = now - then; 360 q->dbell_jiffies = now;
|