Home
last modified time | relevance | path

Searched refs:message_control (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci_irq.rs158 let message_control = (data >> 16) as u16; in irq_init() localVariable
159 let maskable = (message_control & 0x0100) != 0; in irq_init()
160 let address_64 = (message_control & 0x0080) != 0; in irq_init()
161 let irq_max_num = (1 << (((message_control & 0x000e) >> 1) + 1)) as u16; in irq_init()
386 let message_control = (data >> 16) as u16; in msi_install() localVariable
389 let temp = message_control & (!0x0070); in msi_install()
397 let temp = message_control & (!0x0070); in msi_install()
405 let temp = message_control & (!0x0070); in msi_install()
413 let temp = message_control & (!0x0070); in msi_install()
421 let temp = message_control & (!0x0070); in msi_install()
[all …]
Dmsi.c151 uint16_t message_control; in pci_enable_msi() local
198 message_control = (tmp >> 16) & 0xffff; in pci_enable_msi()
204 if (message_control & (1 << 7)) // 64位 in pci_enable_msi()
211 if (message_control & (1 << 7)) // 64位 in pci_enable_msi()