Searched refs:usec (Results 1 - 25 of 116) sorted by path

12345

/linux-master/arch/powerpc/include/asm/
H A Dfsl_gtm.h36 extern int gtm_set_timer16(struct gtm_timer *tmr, unsigned long usec,
38 extern int gtm_set_exact_timer16(struct gtm_timer *tmr, u16 usec,
/linux-master/arch/xtensa/include/asm/
H A Ddelay.h47 static inline void udelay(unsigned long usec) argument
49 if (__builtin_constant_p(usec) && usec >= __MAX_UDELAY)
52 __udelay(usec);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dhwsq.c169 u8 shift = 0, usec = nsec / 1000; local
170 while (usec & ~3) {
171 usec >>= 2;
176 hwsq_cmd(hwsq, 1, (u8[]){ 0x00 | (shift << 2) | usec });
/linux-master/drivers/input/
H A Dinput-compat.c25 event->input_event_usec = compat_event.usec;
45 compat_event.usec = event->input_event_usec;
H A Dinput-compat.h19 compat_ulong_t usec; member in struct:input_event_compat
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dim.c26 cpr->rx_ring_coal.coal_ticks = cur_moder.usec;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dim.c40 mlx5_core_modify_cq_moderation(mdev, mcq, moder.usec, moder.pkts);
/linux-master/drivers/usb/chipidea/
H A Dulpi.c21 unsigned long usec = 10000; local
23 while (usec--) {
/linux-master/samples/timers/
H A Dhpet_example.c139 long usec; local
190 usec = stv.tv_sec * 1000000 + stv.tv_usec;
191 usec = (etv.tv_sec * 1000000 + etv.tv_usec) - usec;
194 "hpet_poll: expired time = 0x%lx\n", usec);
/linux-master/Documentation/trace/postprocess/
H A Dtrace-vmscan-postprocess.pl257 # Convert sec.usec timestamp format
261 my ($sec, $usec) = split (/\./, $timestamp);
262 return ($sec * 1000) + ($usec / 1000);
/linux-master/arch/arm/mach-omap2/
H A Dvc.c240 static inline u32 omap_usec_to_32k(u32 usec) argument
242 return DIV_ROUND_UP_ULL(32768ULL * (u64)usec, 1000000ULL);
520 * @usec: microseconds
529 static u32 omap4_usec_to_val_scrm(u32 usec, int shift, u32 mask) argument
533 val = omap_usec_to_32k(usec) << shift;
/linux-master/arch/parisc/include/asm/
H A Dpdc.h67 int pdc_tod_set(unsigned long sec, unsigned long usec);
/linux-master/arch/parisc/kernel/
H A Dfirmware.c1178 * @usec: The number of micro seconds.
1182 int pdc_tod_set(unsigned long sec, unsigned long usec) argument
1188 retval = mem_pdc_call(PDC_TOD, PDC_TOD_WRITE, sec, usec);
/linux-master/arch/powerpc/sysdev/
H A Dfsl_gtm.c233 * @usec: timer interval in microseconds
243 int gtm_set_timer16(struct gtm_timer *tmr, unsigned long usec, bool reload) argument
249 bit = fls_long(usec);
252 usec >>= bit - 15;
258 return gtm_set_ref_timer16(tmr, freq, usec, reload);
265 * @usec: timer interval in microseconds
276 * crop precision of the "usec" argument, thus usec is limited to 16 bits
279 int gtm_set_exact_timer16(struct gtm_timer *tmr, u16 usec, bool reload) argument
286 * dividing both frequency and usec b
[all...]
/linux-master/arch/s390/kernel/
H A Ddebug.c1494 unsigned long sec, usec; local
1502 usec = do_div(sec, USEC_PER_SEC);
1510 area, sec, usec, level, except_str,
/linux-master/block/partitions/
H A Daix.c24 __be32 usec; member in struct:vgda
/linux-master/drivers/clocksource/
H A Dtimer-tegra186.c88 struct clocksource usec; member in struct:tegra186_timer
352 usec);
359 tegra->usec.name = "usec";
360 tegra->usec.rating = 300;
361 tegra->usec.read = tegra186_timer_usec_read;
362 tegra->usec.mask = CLOCKSOURCE_MASK(32);
363 tegra->usec.flags = CLOCK_SOURCE_IS_CONTINUOUS;
365 return clocksource_register_hz(&tegra->usec, USEC_PER_SEC);
441 clocksource_unregister(&tegra->usec);
[all...]
/linux-master/drivers/firmware/efi/libstub/
H A Defi-stub-helper.c665 * @usec: number of microseconds to wait for key stroke
668 * Wait for up to @usec microseconds for a key stroke.
672 efi_status_t efi_wait_for_key(unsigned long usec, efi_input_key_t *key) argument
689 EFI_100NSEC_PER_USEC * usec);
H A Defistub.h501 efi_status_t efi_wait_for_key(unsigned long usec, efi_input_key_t *key);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Ddp.c233 int tries = 0, usec = 0, i; local
238 usec = (data & DPCD_RC0E_AUX_RD_INTERVAL) * 4000;
252 usec = (lt->outp->dp.dpcd[DPCD_RC0E] & DPCD_RC0E_AUX_RD_INTERVAL) * 4000;
258 nvkm_dp_train_sense(lt, lt->pc2, usec ? usec : 400))
280 int tries = 0, usec = 0, i; local
285 usec = (lt->outp->dp.dpcd[DPCD_RC0E] & DPCD_RC0E_AUX_RD_INTERVAL) * 4000;
289 nvkm_dp_train_sense(lt, false, usec ? usec : 100))
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dinit.c1784 u16 usec = nvbios_rd16(bios, init->offset + 1); local
1786 trace("TIME\t0x%04x\n", usec);
1790 if (usec < 1000)
1791 udelay(usec);
1793 mdelay((usec + 900) / 1000);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dr535.c1481 u32 usec = cmd->payload.regPoll.timeout ?: 4000000; local
1484 nvkm_trace(subdev, "seq poll %06x %08x %08x %d\n", addr, mask, data, usec);
1486 nvkm_usec(device, usec,
1493 u32 usec = cmd->payload.delayUs.val; local
1495 nvkm_trace(subdev, "seq usec %d\n", usec);
1496 udelay(usec);
/linux-master/drivers/hid/
H A Dhid-ft260.c373 int ret, usec, try = 100; local
387 usec = len * 9000 / dev->clock;
388 if (usec > 2000) {
389 usec -= 1500;
390 usleep_range(usec, usec + 100);
391 ft260_dbg("wait %d usec, len %d\n", usec, len);
/linux-master/drivers/hid/intel-ish-hid/ipc/
H A Dipc.c580 uint64_t usec; local
586 usec = ktime_to_us(ktime_get_boottime());
587 ipc_send_mng_msg(dev, MNG_SYNC_FW_CLOCK, &usec, sizeof(uint64_t));
/linux-master/drivers/hv/
H A Dconnection.c431 u32 usec = 1; local
476 if (can_sleep && usec > 1000)
477 msleep(usec / 1000);
478 else if (usec < MAX_UDELAY_MS * 1000)
479 udelay(usec);
481 mdelay(usec / 1000);
484 usec *= 2;

Completed in 558 milliseconds

12345