Lines Matching refs:PciIrqError

39 pub enum PciIrqError {  enum
239 return Err(PciError::PciIrqError(PciIrqError::IrqTypeNotSupported)); in irq_enable()
242 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in irq_enable()
246 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in irq_enable()
270 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in msix_enable()
273 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msix_enable()
277 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in msix_enable()
301 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in msi_enable()
304 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msi_enable()
308 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in msi_enable()
321 return Err(PciError::PciIrqError(PciIrqError::InvalidIrqIndex( in irq_install()
336 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in irq_install()
339 return Err(PciError::PciIrqError(PciIrqError::IrqTypeNotSupported)); in irq_install()
343 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in irq_install()
360 return Err(PciError::PciIrqError(PciIrqError::DeviceIrqOverflow)); in msi_install()
379 return Err(PciError::PciIrqError(PciIrqError::InvalidIrqNum(irq_num))); in msi_install()
383 return Err(PciError::PciIrqError(PciIrqError::IrqNumOccupied( in msi_install()
394 return Err(PciError::PciIrqError(PciIrqError::IrqNumOccupied( in msi_install()
405 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msi_install()
494 return Err(PciError::PciIrqError(PciIrqError::MxiIrqNumWrong)); in msi_install()
501 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in msi_install()
504 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msi_install()
508 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in msi_install()
524 return Err(PciError::PciIrqError(PciIrqError::DeviceIrqOverflow)); in msix_install()
542 return Err(PciError::PciIrqError(PciIrqError::InvalidIrqNum(irq_num))); in msix_install()
546 return Err(PciError::PciIrqError(PciIrqError::IrqNumOccupied( in msix_install()
557 return Err(PciError::PciIrqError(PciIrqError::IrqNumOccupied( in msix_install()
566 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msix_install()
574 .ok_or(PciError::PciIrqError(PciIrqError::PciBarNotInited))?; in msix_install()
578 .ok_or(PciError::PciIrqError(PciIrqError::BarGetVaddrFailed))? in msix_install()
592 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in msix_install()
595 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msix_install()
599 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in msix_install()
614 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in irq_uninstall()
617 return Err(PciError::PciIrqError(PciIrqError::IrqTypeNotSupported)); in irq_uninstall()
621 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in irq_uninstall()
662 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in msi_uninstall()
665 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msi_uninstall()
669 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in msi_uninstall()
694 .ok_or(PciError::PciIrqError(PciIrqError::PciBarNotInited)) in msix_uninstall()
700 .ok_or(PciError::PciIrqError(PciIrqError::BarGetVaddrFailed)) in msix_uninstall()
715 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in msix_uninstall()
718 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msix_uninstall()
722 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in msix_uninstall()
737 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in irq_mask()
740 return Err(PciError::PciIrqError(PciIrqError::IrqTypeNotSupported)); in irq_mask()
744 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in irq_mask()
759 return Err(PciError::PciIrqError(PciIrqError::InvalidIrqIndex( in msi_mask()
792 return Err(PciError::PciIrqError(PciIrqError::MaskNotSupported)); in msi_mask()
795 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in msi_mask()
798 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msi_mask()
802 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in msi_mask()
817 return Err(PciError::PciIrqError(PciIrqError::InvalidIrqIndex( in msix_mask()
823 .ok_or(PciError::PciIrqError(PciIrqError::PciBarNotInited)) in msix_mask()
836 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in msix_mask()
839 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msix_mask()
843 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in msix_mask()
858 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in irq_unmask()
861 return Err(PciError::PciIrqError(PciIrqError::IrqTypeNotSupported)); in irq_unmask()
865 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in irq_unmask()
880 return Err(PciError::PciIrqError(PciIrqError::InvalidIrqIndex( in msi_unmask()
912 return Err(PciError::PciIrqError(PciIrqError::MaskNotSupported)); in msi_unmask()
915 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in msi_unmask()
918 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msi_unmask()
922 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in msi_unmask()
937 return Err(PciError::PciIrqError(PciIrqError::InvalidIrqIndex( in msix_unmask()
943 .ok_or(PciError::PciIrqError(PciIrqError::PciBarNotInited)) in msix_unmask()
956 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in msix_unmask()
959 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msix_unmask()
963 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in msix_unmask()
979 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in irq_check_pending()
982 return Err(PciError::PciIrqError(PciIrqError::IrqTypeNotSupported)); in irq_check_pending()
986 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in irq_check_pending()
1002 return Err(PciError::PciIrqError(PciIrqError::InvalidIrqIndex( in msi_check_pending()
1028 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in msi_check_pending()
1031 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msi_check_pending()
1035 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in msi_check_pending()
1051 return Err(PciError::PciIrqError(PciIrqError::InvalidIrqIndex( in msix_check_pending()
1057 .ok_or(PciError::PciIrqError(PciIrqError::PciBarNotInited)) in msix_check_pending()
1068 return Err(PciError::PciIrqError(PciIrqError::IrqNotInited)); in msix_check_pending()
1071 return Err(PciError::PciIrqError(PciIrqError::IrqTypeUnmatch)); in msix_check_pending()
1075 return Err(PciError::PciIrqError(PciIrqError::PciDeviceNotSupportIrq)); in msix_check_pending()