Home
last modified time | relevance | path

Searched refs:SANITY_CHECK_RETURN (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/contrib/ncsw/inc/
H A Derror_ext.h486 #define SANITY_CHECK_RETURN(_cond, _err) macro
506 #define SANITY_CHECK_RETURN(_cond, _err) \ macro
/freebsd/sys/contrib/ncsw/Peripherals/FM/
H A Dfm_muram.c62 SANITY_CHECK_RETURN(h_FmMuram, E_INVALID_HANDLE); in FmMuramClear()
H A Dfm_ncsw.c1633 SANITY_CHECK_RETURN(p_Fm, E_INVALID_HANDLE); in FmFreeFmanCtrlEventReg()
4294 SANITY_CHECK_RETURN(p_Fm, E_INVALID_HANDLE); in FM_EventIsr()
4295 SANITY_CHECK_RETURN(!p_Fm->p_FmDriverParam, E_INVALID_HANDLE); in FM_EventIsr()
4296 SANITY_CHECK_RETURN((p_Fm->guestId == NCSW_MASTER_ID), E_NOT_SUPPORTED); in FM_EventIsr()
4851 SANITY_CHECK_RETURN(p_Fm, E_INVALID_HANDLE); in FM_SetDmaEmergency()
4852 SANITY_CHECK_RETURN(!p_Fm->p_FmDriverParam, E_INVALID_STATE); in FM_SetDmaEmergency()
4864 SANITY_CHECK_RETURN(p_Fm, E_INVALID_HANDLE); in FM_SetDmaExtBusPri()
4865 SANITY_CHECK_RETURN(!p_Fm->p_FmDriverParam, E_INVALID_STATE); in FM_SetDmaExtBusPri()
4878 SANITY_CHECK_RETURN(p_Fm, E_INVALID_HANDLE); in FM_GetDmaStatus()
4879 SANITY_CHECK_RETURN(!p_Fm->p_FmDriverParam, E_INVALID_STATE); in FM_GetDmaStatus()
[all …]
/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/
H A Dfm_port_im.c231 SANITY_CHECK_RETURN(p_FmPort->p_FmPortDriverParam, E_INVALID_HANDLE); in FmPortConfigIM()
737 SANITY_CHECK_RETURN(p_FmPort, E_INVALID_HANDLE); in FM_PORT_ImTxConf()
738 SANITY_CHECK_RETURN(p_FmPort->imEn, E_INVALID_STATE); in FM_PORT_ImTxConf()
739 SANITY_CHECK_RETURN(!p_FmPort->p_FmPortDriverParam, E_INVALID_HANDLE); in FM_PORT_ImTxConf()
H A Dfm_port.c1894 SANITY_CHECK_RETURN(p_FmPort, E_INVALID_HANDLE); in FmPortSetMacsecCmd()
1895 SANITY_CHECK_RETURN(p_FmPort->p_FmPortDriverParam, E_INVALID_STATE); in FmPortSetMacsecCmd()
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_prs.c332 SANITY_CHECK_RETURN(p_FmPcd, E_INVALID_HANDLE); in FM_PCD_SetPrsStatistics()
333 SANITY_CHECK_RETURN(p_FmPcd->p_FmPcdPrs, E_INVALID_HANDLE); in FM_PCD_SetPrsStatistics()
H A Dfm_plcr.c579 SANITY_CHECK_RETURN(p_FmPcd, E_INVALID_HANDLE); in FreeSharedProfiles()
H A Dfm_pcd.c1547 SANITY_CHECK_RETURN(h_FmPcd, E_INVALID_STATE); in FM_PCD_HcTxConf()
/freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/
H A Dfm_macsec_master.c75 SANITY_CHECK_RETURN(p_FmMacsec, E_INVALID_HANDLE); in MacsecEventIsr()
94 SANITY_CHECK_RETURN(p_FmMacsec, E_INVALID_HANDLE); in MacsecErrorIsr()
455 SANITY_CHECK_RETURN(p_FmMacsec, E_INVALID_HANDLE); in FmMacsecRegisterIntr()
472 SANITY_CHECK_RETURN(p_FmMacsec, E_INVALID_HANDLE); in FmMacsecUnregisterIntr()
H A Dfm_macsec_secy.c56 SANITY_CHECK_RETURN(p_FmMacsecSecY, E_INVALID_HANDLE); in FmMacsecSecYExceptionsIsr()
67 SANITY_CHECK_RETURN(p_FmMacsecSecY, E_INVALID_HANDLE); in FmMacsecSecYEventsIsr()
/freebsd/sys/contrib/ncsw/Peripherals/BM/
H A Dbm.c66 SANITY_CHECK_RETURN(h_Module, E_INVALID_HANDLE); in BmIpcMsgCompletionCB()
685 SANITY_CHECK_RETURN(p_Bm, E_INVALID_HANDLE); in BM_ErrorIsr()
/freebsd/sys/contrib/ncsw/Peripherals/QM/
H A Dqm.c63 SANITY_CHECK_RETURN(h_Module, E_INVALID_HANDLE); in QmIpcMsgCompletionCB()
1045 SANITY_CHECK_RETURN(p_Qm, E_INVALID_HANDLE); in QM_ErrorIsr()