/device/soc/rockchip/rk3568/hardware/omx_il/osal/ |
D | Rockchip_OSAL_Semaphore.c | 41 sem_t *sema; in Rockchip_OSAL_SemaphoreCreate() local 43 sema = (sem_t *)Rockchip_OSAL_Malloc(sizeof(sem_t)); in Rockchip_OSAL_SemaphoreCreate() 44 if (!sema) in Rockchip_OSAL_SemaphoreCreate() 47 if (sem_init(sema, 0, 0) != 0) { in Rockchip_OSAL_SemaphoreCreate() 48 Rockchip_OSAL_Free(sema); in Rockchip_OSAL_SemaphoreCreate() 52 *semaphoreHandle = (OMX_HANDLETYPE)sema; in Rockchip_OSAL_SemaphoreCreate() 54 omx_trace("Rockchip_OSAL_SemaphorePost %p", sema); in Rockchip_OSAL_SemaphoreCreate() 60 sem_t *sema = (sem_t *)semaphoreHandle; in Rockchip_OSAL_SemaphoreTerminate() local 62 if (sema == NULL) in Rockchip_OSAL_SemaphoreTerminate() 65 if (sem_destroy(sema) != 0) in Rockchip_OSAL_SemaphoreTerminate() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/ |
D | linuxver.h | 548 struct semaphore sema; member 566 if (down_interruptible(&tsk->sema) == 0) { in binary_sema_down() 597 up(&tsk->sema); in binary_sema_up() 613 sema_init(&((tsk_ctl)->sema), 0); \ 635 up(&((tsk_ctl)->sema)); \
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/ |
D | osdep_service.c | 1425 void _rtw_init_sema(_sema *sema, int init_val) in _rtw_init_sema() argument 1430 sema_init(sema, init_val); in _rtw_init_sema() 1434 sema_init(sema, init_val, "rtw_drv"); in _rtw_init_sema() 1438 KeInitializeSemaphore(sema, init_val, SEMA_UPBND); /* count=0; */ in _rtw_init_sema() 1443 if (*sema == NULL) in _rtw_init_sema() 1444 *sema = CreateSemaphore(NULL, init_val, SEMA_UPBND, NULL); in _rtw_init_sema() 1449 void _rtw_free_sema(_sema *sema) in _rtw_free_sema() argument 1452 sema_destroy(sema); in _rtw_free_sema() 1455 CloseHandle(*sema); in _rtw_free_sema() 1460 void _rtw_up_sema(_sema *sema) in _rtw_up_sema() argument [all …]
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/ |
D | linuxver.h | 629 struct semaphore sema; member 658 if (down_interruptible(&tsk->sema) == 0) { in binary_sema_down() 691 up(&tsk->sema); in binary_sema_up() 707 sema_init(&((tsk_ctl)->sema), 0); \ 735 up(&((tsk_ctl)->sema)); \
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
D | linuxver.h | 592 struct semaphore sema; member 616 if (down_interruptible(&tsk->sema) == 0) { in binary_sema_down() 647 up(&tsk->sema); in binary_sema_up() 662 sema_init(&((tsk_ctl)->sema), 0); \ 690 up(&((tsk_ctl)->sema)); \
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/ |
D | linuxver.h | 612 struct semaphore sema; member 643 if (down_interruptible(&tsk->sema) == 0) { in binary_sema_down() 674 up(&tsk->sema); in binary_sema_up() 689 sema_init(&((tsk_ctl)->sema), 0); \ 717 up(&((tsk_ctl)->sema)); \
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/macif/ |
D | wifi_nx_cmds.h | 84 rtos_semaphore sema; member
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
D | wl_event.c | 222 if (down_interruptible(&tsk->sema) == 0) { in WL_EXT_EVENT_HANDLER() 302 up(&event_params->thr_event_ctl.sema); in wl_ext_event_send()
|
D | dhd_linux.c | 5269 if (down_interruptible(&tsk->sema) == 0) { in dhd_watchdog_thread() 5327 up(&dhd->thr_wdt_ctl.sema); in dhd_watchdog() 5507 if (down_interruptible(&tsk->sema) == 0) { in dhd_rxf_thread() 5691 up(&dhd->thr_rxf_ctl.sema); in dhd_sched_rxf()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/ |
D | osdep_service.h | 345 extern void _rtw_init_sema(_sema *sema, int init_val); 346 extern void _rtw_free_sema(_sema *sema); 347 extern void _rtw_up_sema(_sema *sema); 348 extern u32 _rtw_down_sema(_sema *sema);
|
D | osdep_service_bsd.h | 76 typedef struct sema _sema;
|
D | rtw_io.h | 139 _sema sema; member
|
D | drv_types.h | 1710 _sema sema; member
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
D | wl_escan.c | 360 up(&escan->event_tsk.sema); in wl_wakeup_event() 374 while (down_interruptible (&tsk->sema) == 0) { in wl_escan_event_handler()
|
D | dhd_linux.c | 6298 if (down_interruptible (&tsk->sema) == 0) { in dhd_watchdog_thread() 6364 up(&dhd->thr_wdt_ctl.sema); in dhd_watchdog() 6399 if (down_interruptible (&tsk->sema) == 0) { in dhd_rpm_state_thread() 6455 up(&dhd->thr_rpm_ctl.sema); in dhd_runtimepm() 6616 if (down_interruptible(&tsk->sema) == 0) { in dhd_rxf_thread() 6831 up(&dhd->thr_rxf_ctl.sema); in dhd_sched_rxf() 6840 up(&dhd->thr_rxf_ctl.sema); in dhd_sched_rxf()
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
D | dhd_linux.c | 6673 if (down_interruptible (&tsk->sema) == 0) { in dhd_watchdog_thread() 6742 up(&dhd->thr_wdt_ctl.sema); in dhd_watchdog() 6786 if (down_interruptible (&tsk->sema) == 0) { in dhd_rpm_state_thread() 6836 up(&dhd->thr_rpm_ctl.sema); in dhd_runtimepm() 7006 if (down_interruptible(&tsk->sema) == 0) { in dhd_rxf_thread() 7215 up(&dhd->thr_rxf_ctl.sema); in dhd_sched_rxf() 7224 up(&dhd->thr_rxf_ctl.sema); in dhd_sched_rxf() 25221 if (down_interruptible(&tsk->sema) == 0) { in dhd_buzzz_thread() 25269 up(&thr_buzzz_ctl->sema); in dhd_os_sched_buzzz_thread()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/ |
D | ioctl_linux.c | 11524 _rtw_init_sema(&ploopback->sema, 0); 11934 _rtw_down_sema(&ploopback->sema); 11982 _rtw_up_sema(&ploopback->sema);
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | dhd_linux.c | 5129 if (down_interruptible (&tsk->sema) == 0) { in dhd_watchdog_thread() 5187 up(&dhd->thr_wdt_ctl.sema); in dhd_watchdog() 5359 if (down_interruptible(&tsk->sema) == 0) { in dhd_rxf_thread() 5547 up(&dhd->thr_rxf_ctl.sema); in dhd_sched_rxf()
|