Lines Matching refs:u16
36 InvalidIrqIndex(u16),
37 InvalidIrqNum(u16),
38 IrqNumOccupied(u16),
52 irq_max_num: u16,
60 irq_max_num: u16,
75 irq_index: u16, //要install的中断号在PCI设备中的irq_vector的index
77 irq_parameter: u16, //中断额外参数,可传入中断处理函数
86 processor: u16,
126 let irq_max_num = ((data >> 16) & 0x07ff) as u16; in irq_init()
158 let message_control = (data >> 16) as u16; in irq_init()
161 let irq_max_num = (1 << (((message_control & 0x000e) >> 1) + 1)) as u16; in irq_init()
269 fn irq_alloc(_num: u16) -> Option<Vec<u16>> { in irq_alloc() argument
386 let message_control = (data >> 16) as u16; in msi_install()
651 fn irq_mask(&mut self, irq_index: u16) -> Result<u8, PciError> { in irq_mask()
673 fn msi_mask(&mut self, irq_index: u16) -> Result<u8, PciError> { in msi_mask()
731 fn msix_mask(&mut self, irq_index: u16) -> Result<u8, PciError> { in msix_mask()
772 fn irq_unmask(&mut self, irq_index: u16) -> Result<u8, PciError> { in irq_unmask()
794 fn msi_unmask(&mut self, irq_index: u16) -> Result<u8, PciError> { in msi_unmask()
851 fn msix_unmask(&mut self, irq_index: u16) -> Result<u8, PciError> { in msix_unmask()
893 fn irq_check_pending(&mut self, irq_index: u16) -> Result<bool, PciError> { in irq_check_pending()
916 fn msi_check_pending(&mut self, irq_index: u16) -> Result<bool, PciError> { in msi_check_pending()
965 fn msix_check_pending(&mut self, irq_index: u16) -> Result<bool, PciError> { in msix_check_pending()