Home
last modified time | relevance | path

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

/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_plcr.c532 static t_Error AllocSharedProfiles(t_FmPcd *p_FmPcd, uint16_t numOfProfiles, uint16_t *profilesIds) in AllocSharedProfiles() argument
553 profilesIds[k] = i; in AllocSharedProfiles()
567 p_FmPcd->p_FmPcdPlcr->profiles[profilesIds[i]].profilesMng.allocated = TRUE; in AllocSharedProfiles()
568 p_FmPcd->p_FmPcdPlcr->profiles[profilesIds[i]].profilesMng.ownerId = 0; in AllocSharedProfiles()
575 static void FreeSharedProfiles(t_FmPcd *p_FmPcd, uint16_t numOfProfiles, uint16_t *profilesIds) in FreeSharedProfiles() argument
585 ASSERT_COND(p_FmPcd->p_FmPcdPlcr->profiles[profilesIds[i]].profilesMng.allocated); in FreeSharedProfiles()
586 p_FmPcd->p_FmPcdPlcr->profiles[profilesIds[i]].profilesMng.allocated = FALSE; in FreeSharedProfiles()
587 p_FmPcd->p_FmPcdPlcr->profiles[profilesIds[i]].profilesMng.ownerId = p_FmPcd->guestId; in FreeSharedProfiles()