函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\acpi\boot.c Create Date:2022-07-27 09:16:16
Last Modify:2020-03-16 21:18:54 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:acpi_pic_sci_set_trigger()* use ELCR to set PIC-mode trigger type for SCI* If a PIC-mode SCI is not recognized or gives spurious IRQ7's* it may require Edge Trigger -- use "acpi_sci=edge"* Port 0x4d0-4d1 are ECLR1 and ECLR2, the Edge/Level Control

函数原型:void __init acpi_pic_sci_set_trigger(unsigned int irq, u16 trigger)

返回类型:void

参数:

类型参数名称
unsigned intirq
u16trigger
573  mask等于1左移irq
577  old等于从端口输入字节按位或从端口输入字节左移8位
584  new等于如果skip ACPI IRQ initialization old否则0
591  :trigger恒等于1
592  new与等于mask的反
593  退出
594  :trigger恒等于3
595  new或等于mask
596  退出
599  如果old恒等于new则返回
602  printk(PREFIX"setting ELCR to %04x (from %04x)\n", new, old)
603  Basic port I/O
604  Basic port I/O