Loading...
Searching...
No Matches
Go to the documentation of this file. 1#ifndef __LINUX_DELAY_H__
2#define __LINUX_DELAY_H__
25#include <linux/kernel.h>
27#define ndelay(ns) udelay(((unsigned long)(ns) + 999UL) / 1000UL)
29#define ssleep(sec) mdelay((unsigned long)(sec) * 1000UL)
37static inline void usleep_range(
unsigned long min,
unsigned long max) {
47static inline unsigned int msleep_interruptible(
unsigned int ms) {
#define udelay(us)
Definition kernel.h:134
#define mdelay(ms)
Definition kernel.h:135
#define min(a, b)
Definition minmax.h:24
#define max(a, b)
Definition minmax.h:28