arch/s390/include/asm/delay.h

Source file repositories/reference/linux-study-clean/arch/s390/include/asm/delay.h

File Facts

System
Linux kernel
Corpus path
arch/s390/include/asm/delay.h
Extension
.h
Size
647 bytes
Lines
25
Domain
Architecture Layer
Bucket
arch/s390
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _S390_DELAY_H
#define _S390_DELAY_H

void __ndelay(unsigned long nsecs);
void __udelay(unsigned long usecs);
void __delay(unsigned long loops);

#define ndelay(n) __ndelay((unsigned long)(n))
#define udelay(n) __udelay((unsigned long)(n))
#define mdelay(n) __udelay((unsigned long)(n) * 1000)

#endif /* defined(_S390_DELAY_H) */

Annotation

Implementation Notes