Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:probe_baud

Proto:static unsigned int probe_baud(int port)

Type:unsigned int

Parameter:

TypeParameterName
intport
107  lcr = inb(port + Line control )
108  Basic port I/O
109  dll = inb(port + Divisor Latch Low )
110  dlh = inb(port + Divisor latch High )
111  Basic port I/O
112  quot = dlh << 8 | dll
114  Return BASE_BAUD / quot
Caller
NameDescribe
parse_console_uart8250