Lines Matching refs:name
15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used
51 CHAR *name;
563 PRINTK("%-30s%5u\n\r", lock->name, lock->count);
572 UINT32 OsPmLockRequest(const CHAR *name, UINT32 swtmrID)
585 if (strcmp(name, listNode->name) == 0) {
599 lock->name = (CHAR *)name;
622 UINT32 LOS_PmLockRequest(const CHAR *name)
624 if (name == NULL) {
628 return OsPmLockRequest(name, OS_INVALID);
631 UINT32 LOS_PmLockRelease(const CHAR *name)
644 if (name == NULL) {
652 if (strcmp(name, listNode->name) == 0) {
694 const CHAR *name = (const CHAR *)(UINTPTR)arg;
695 UINT32 ret = LOS_PmLockRelease(name);
697 PRINT_ERR("Pm delay lock %s release faled! : 0x%x\n", name, ret);
701 UINT32 LOS_PmTimeLockRequest(const CHAR *name, UINT64 millisecond)
707 if ((name == NULL) || !millisecond) {
713 ret = LOS_SwtmrCreate(ticks, LOS_SWTMR_MODE_ONCE, OsPmSwtmrHandler, &swtmrID, (UINT32)(UINTPTR)name,
716 ret = LOS_SwtmrCreate(ticks, LOS_SWTMR_MODE_ONCE, OsPmSwtmrHandler, &swtmrID, (UINT32)(UINTPTR)name);
722 ret = OsPmLockRequest(name, swtmrID);
730 (VOID)LOS_PmLockRelease(name);