Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/time/
DMakefile2 all: timer.o sleep.o
6 timer.o: timer.c
7 $(CC) $(CFLAGS) -c timer.c -o timer.o
Dtimer.c168 struct timer_func_list_t timer={0}; in schedule_timeout_ms() local
169 timer_func_init(&timer, &__wake_up_helper, current_pcb, timeout); in schedule_timeout_ms()
170 timer_func_add(&timer); in schedule_timeout_ms()
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c1197 int timer = 500; in xhci_wait_for_interrupt() local
1198 while (timer) in xhci_wait_for_interrupt()
1219 --timer; in xhci_wait_for_interrupt()
1995 int timer = 400; in xhci_send_command() local
2000 while (timer && ((__read4b(origin_trb_vaddr + 8) & XHCI_IRQ_DONE) == 0)) in xhci_send_command()
2003 --timer; in xhci_send_command()
2006 if (timer == 0) in xhci_send_command()
/DragonOS-0.1.2/kernel/src/libs/
Didr.c97 int timer = 0; in idr_preload() local
106 timer++; in idr_preload()