Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\io_delay.c Create Date:2022-07-28 07:46:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:io_delay_param

Proto:static int __init io_delay_param(char *s)

Type:int

Parameter:

TypeParameterName
char *s
130  If Not s Then Return -EINVAL
133  If Not strcmp(s, "0x80") Then io_delay_type = IO_DELAY_TYPE_0X80
135  Else if Not strcmp(s, "0xed") Then io_delay_type = IO_DELAY_TYPE_0XED
137  Else if Not strcmp(s, "udelay") Then io_delay_type = IO_DELAY_TYPE_UDELAY
139  Else if Not strcmp(s, "none") Then io_delay_type = IO_DELAY_TYPE_NONE
141  Else Return -EINVAL
144  io_delay_override = 1
145  Return 0