/freebsd/sys/contrib/ncsw/etc/ |
H A D | mm.c | 614 p_MM->h_Spinlock = XX_InitSpinlock(); in MM_Init() 615 if (!p_MM->h_Spinlock) in MM_Init() 694 if (p_MM->h_Spinlock) in MM_Free() 695 XX_FreeSpinlock(p_MM->h_Spinlock); in MM_Free() 740 intFlags = XX_LockIntrSpinlock(p_MM->h_Spinlock); in MM_Get() 776 XX_UnlockIntrSpinlock(p_MM->h_Spinlock, intFlags); in MM_Get() 792 intFlags = XX_LockIntrSpinlock(p_MM->h_Spinlock); in MM_GetForce() 862 intFlags = XX_LockIntrSpinlock(p_MM->h_Spinlock); in MM_GetForceMin() 942 intFlags = XX_LockIntrSpinlock(p_MM->h_Spinlock); in MM_Put() 988 intFlags = XX_LockIntrSpinlock(p_MM->h_Spinlock); in MM_PutForce() [all …]
|
H A D | ncsw_mem.c | 350 p_Mem->h_Spinlock = XX_InitSpinlock(); 351 if (!p_Mem->h_Spinlock) 463 p_Mem->h_Spinlock = XX_InitSpinlock(); 464 if (!p_Mem->h_Spinlock) 597 if (p_Mem->h_Spinlock) 598 XX_FreeSpinlock(p_Mem->h_Spinlock); 630 intFlags = XX_LockIntrSpinlock(p_Mem->h_Spinlock); 641 XX_UnlockIntrSpinlock(p_Mem->h_Spinlock, intFlags); 662 intFlags = XX_LockIntrSpinlock(p_Mem->h_Spinlock); 682 XX_UnlockIntrSpinlock(p_Mem->h_Spinlock, intFlags); [all …]
|
H A D | mm.h | 94 t_Handle h_Spinlock; member
|
/freebsd/sys/contrib/ncsw/inc/ |
H A D | xx_ext.h | 339 void XX_FreeSpinlock(t_Handle h_Spinlock); 350 void XX_LockSpinlock(t_Handle h_Spinlock); 361 void XX_UnlockSpinlock(t_Handle h_Spinlock); 374 uint32_t XX_LockIntrSpinlock(t_Handle h_Spinlock); 388 void XX_UnlockIntrSpinlock(t_Handle h_Spinlock, uint32_t intrFlags);
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
H A D | fm_pcd.h | 322 t_Handle h_Spinlock; member 346 t_Handle h_Spinlock; member 473 …d EnqueueNodeInfoToRelevantLst(t_List *p_List, t_CcNodeInformation *p_CcInfo, t_Handle h_Spinlock); 474 void DequeueNodeInfoFromRelevantLst(t_List *p_List, t_Handle h_Info, t_Handle h_Spinlock); 475 t_CcNodeInformation* FindNodeInfoInReleventLst(t_List *p_List, t_Handle h_Info, t_Handle h_Spinlock… 511 return XX_LockIntrSpinlock(p_Lock->h_Spinlock); in FmPcdLockSpinlock() 517 XX_UnlockIntrSpinlock(p_Lock->h_Spinlock, flags); in FmPcdUnlockSpinlock() 525 intFlags = XX_LockIntrSpinlock(p_Lock->h_Spinlock); in FmPcdLockTryLock() 528 XX_UnlockIntrSpinlock(p_Lock->h_Spinlock, intFlags); in FmPcdLockTryLock() 532 XX_UnlockIntrSpinlock(p_Lock->h_Spinlock, intFlags); in FmPcdLockTryLock()
|
H A D | fm_pcd.c | 299 intFlags = XX_LockIntrSpinlock(p_FmPcd->h_Spinlock); in EnqueueLockToFreeLst() 315 if (p_FmPcd->h_Spinlock) in DequeueLockFromFreeLst() 342 p_Lock->h_Spinlock = XX_InitSpinlock(); in FillFreeLocksLst() 343 if (!p_Lock->h_Spinlock) in FillFreeLocksLst() 361 XX_FreeSpinlock(p_Lock->h_Spinlock); in ReleaseFreeLocksLst() 875 p_FmPcd->h_Spinlock = XX_InitSpinlock(); in FM_PCD_Config() 876 if (!p_FmPcd->h_Spinlock) in FM_PCD_Config() 1073 if (p_FmPcd->h_Spinlock) in FM_PCD_Free() 1074 XX_FreeSpinlock(p_FmPcd->h_Spinlock); in FM_PCD_Free() 1502 if (!p_FmPcd->netEnvs[netEnvCurrId].h_Spinlock) in FM_PCD_NetEnvCharacteristicsSet() [all …]
|
H A D | fm_cc.c | 625 p_FmPcdCcNextNode->h_Spinlock); in ReleaseModifiedDataStructure() 710 p_FmPcdCcNextNode->h_Spinlock); in ReleaseModifiedDataStructure() 1275 if (p_CcNode->h_Spinlock) in DeleteNode() 1277 XX_FreeSpinlock(p_CcNode->h_Spinlock); in DeleteNode() 1278 p_CcNode->h_Spinlock = NULL; in DeleteNode() 4376 p_CcNode->h_Spinlock = XX_InitSpinlock(); in MatchTableSet() 4377 if (!p_CcNode->h_Spinlock) in MatchTableSet() 4953 if (h_Spinlock) in EnqueueNodeInfoToRelevantLst() 4958 if (h_Spinlock) in EnqueueNodeInfoToRelevantLst() 4972 if (h_Spinlock) in DequeueNodeInfoFromRelevantLst() [all …]
|
H A D | fm_cc.h | 353 t_Handle h_Spinlock; member
|
H A D | fm_manip.h | 533 t_Handle h_Spinlock; member
|
H A D | fm_plcr.c | 910 intFlags = XX_LockIntrSpinlock(p_FmPcd->h_Spinlock); in PlcrAllocProfilesForPartition() 922 XX_UnlockIntrSpinlock(p_FmPcd->h_Spinlock, intFlags); in PlcrAllocProfilesForPartition() 925 XX_UnlockIntrSpinlock(p_FmPcd->h_Spinlock, intFlags); in PlcrAllocProfilesForPartition()
|
H A D | fm_manip.c | 4691 intFlags = XX_LockIntrSpinlock(((t_FmPcdManip *)h_Manip)->h_Spinlock); in FmPcdManipUpdateOwner() 4699 XX_UnlockIntrSpinlock(((t_FmPcdManip *)h_Manip)->h_Spinlock, intFlags); in FmPcdManipUpdateOwner() 4711 return ((t_FmPcdManip *)h_Manip)->h_Spinlock; in FmPcdManipGetSpinlock() 5227 p_Manip->h_Spinlock = XX_InitSpinlock(); in FM_PCD_ManipNodeSet() 5228 if (!p_Manip->h_Spinlock) in FM_PCD_ManipNodeSet() 5489 if (p_Manip->h_Spinlock) in FM_PCD_ManipNodeDelete() 5491 XX_FreeSpinlock(p_Manip->h_Spinlock); in FM_PCD_ManipNodeDelete() 5492 p_Manip->h_Spinlock = NULL; in FM_PCD_ManipNodeDelete()
|
/freebsd/sys/contrib/ncsw/user/env/ |
H A D | xx.c | 506 XX_FreeSpinlock(t_Handle h_Spinlock) in XX_FreeSpinlock() argument 510 m = h_Spinlock; in XX_FreeSpinlock() 517 XX_LockSpinlock(t_Handle h_Spinlock) in XX_LockSpinlock() argument 521 m = h_Spinlock; in XX_LockSpinlock() 526 XX_UnlockSpinlock(t_Handle h_Spinlock) in XX_UnlockSpinlock() argument 530 m = h_Spinlock; in XX_UnlockSpinlock() 535 XX_LockIntrSpinlock(t_Handle h_Spinlock) in XX_LockIntrSpinlock() argument 538 XX_LockSpinlock(h_Spinlock); in XX_LockIntrSpinlock() 543 XX_UnlockIntrSpinlock(t_Handle h_Spinlock, uint32_t intrFlags) in XX_UnlockIntrSpinlock() argument 546 XX_UnlockSpinlock(h_Spinlock); in XX_UnlockIntrSpinlock()
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/inc/ |
H A D | fm_common.h | 312 static __inline__ bool TRY_LOCK(t_Handle h_Spinlock, volatile bool *p_Flag) in TRY_LOCK() argument 315 if (h_Spinlock) in TRY_LOCK() 316 intFlags = XX_LockIntrSpinlock(h_Spinlock); in TRY_LOCK() 322 if (h_Spinlock) in TRY_LOCK() 323 XX_UnlockIntrSpinlock(h_Spinlock, intFlags); in TRY_LOCK() 330 if (h_Spinlock) in TRY_LOCK() 331 XX_UnlockIntrSpinlock(h_Spinlock, intFlags); in TRY_LOCK() 662 t_Handle h_Spinlock; member
|
/freebsd/sys/contrib/ncsw/inc/etc/ |
H A D | mem_ext.h | 89 t_Handle h_Spinlock; member
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/ |
H A D | fm_ncsw.c | 708 intFlags = XX_LockIntrSpinlock(p_Fm->h_Spinlock); in AllocVSPsForPartition() 723 XX_UnlockIntrSpinlock(p_Fm->h_Spinlock, intFlags); in AllocVSPsForPartition() 1500 intFlags = XX_LockIntrSpinlock(p_Fm->h_Spinlock); in FmVSPAllocForPort() 1564 intFlags = XX_LockIntrSpinlock(p_Fm->h_Spinlock); in FmVSPFreeForPort() 2012 intFlags = XX_LockIntrSpinlock(p_Fm->h_Spinlock); in FmGetSetPortParams() 2181 intFlags = XX_LockIntrSpinlock(p_Fm->h_Spinlock); in FmFreePortParams() 3377 p_Fm->h_Spinlock = XX_InitSpinlock(); in FM_Config() 3378 if (!p_Fm->h_Spinlock) in FM_Config() 3416 XX_FreeSpinlock(p_Fm->h_Spinlock); in FM_Config() 3783 if (p_Fm->h_Spinlock) in FM_Free() [all …]
|
H A D | fm.h | 616 t_Handle h_Spinlock; member
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/Port/ |
H A D | fm_port_im.c | 150 flags = XX_LockIntrSpinlock(p_FmPort->h_Spinlock); in FmPortImRx() 153 XX_UnlockIntrSpinlock(p_FmPort->h_Spinlock, flags); in FmPortImRx() 157 XX_UnlockIntrSpinlock(p_FmPort->h_Spinlock, flags); in FmPortImRx()
|
H A D | fm_port.c | 2549 p_FmPort->h_Spinlock = XX_InitSpinlock(); in FM_PORT_Config() 2550 if (!p_FmPort->h_Spinlock) in FM_PORT_Config() 2804 if (p_FmPort->h_Spinlock) in FM_PORT_Free() 2805 XX_FreeSpinlock(p_FmPort->h_Spinlock); in FM_PORT_Free() 4525 if (!TRY_LOCK(p_FmPort->h_Spinlock, &p_FmPort->lock)) in FM_PORT_PcdPlcrAllocProfiles() 4551 if (!TRY_LOCK(p_FmPort->h_Spinlock, &p_FmPort->lock)) in FM_PORT_PcdPlcrFreeProfiles() 4596 if (!TRY_LOCK(p_FmPort->h_Spinlock, &p_FmPort->lock)) in FM_PORT_PcdKgModifyInitialScheme() 4685 if (!TRY_LOCK(p_FmPort->h_Spinlock, &p_FmPort->lock)) in FM_PORT_PcdPlcrModifyInitialProfile() 4827 if (!TRY_LOCK(p_FmPort->h_Spinlock, &p_FmPort->lock)) in FM_PORT_AttachPCD() 4860 if (!TRY_LOCK(p_FmPort->h_Spinlock, &p_FmPort->lock)) in FM_PORT_DetachPCD() [all …]
|
H A D | fm_port.h | 910 t_Handle h_Spinlock; member
|