/linux-6.1.9/include/drm/ |
D | task_barrier.h | 59 sema_init(&tb->enter_turnstile, 0); in task_barrier_init() 60 sema_init(&tb->exit_turnstile, 0); in task_barrier_init()
|
/linux-6.1.9/include/linux/ |
D | semaphore.h | 31 static inline void sema_init(struct semaphore *sem, int val) in sema_init() function
|
/linux-6.1.9/drivers/input/misc/ |
D | hp_sdc_rtc.c | 88 sema_init(&tsem, 0); in hp_sdc_rtc_do_read_bbrtc() 356 sema_init(&i8042tregs, 1); in hp_sdc_rtc_init()
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_cmd.c | 184 sema_init(&hr_dev->cmd.poll_sem, 1); in hns_roce_cmd_init() 221 sema_init(&hr_cmd->event_sem, hr_cmd->max_cmds); in hns_roce_cmd_use_events()
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | opal-async.c | 284 sema_init(&opal_async_sem, opal_max_async_tokens); in opal_async_comp_init()
|
/linux-6.1.9/drivers/char/ipmi/ |
D | ipmi_ipmb.c | 525 sema_init(&iidev->wake_thread, 0); in ipmi_ipmb_probe() 526 sema_init(&iidev->got_rsp, 0); in ipmi_ipmb_probe()
|
/linux-6.1.9/drivers/mmc/host/ |
D | cavium-thunderx.c | 102 sema_init(&host->mmc_serializer, 1); in thunder_mmc_probe()
|
D | cavium-octeon.c | 161 sema_init(&host->mmc_serializer, 1); in octeon_mmc_probe()
|
/linux-6.1.9/drivers/input/serio/ |
D | hil_mlc.c | 926 sema_init(&mlc->osem, 1); in hil_mlc_register() 928 sema_init(&mlc->isem, 1); in hil_mlc_register() 934 sema_init(&(mlc->csem), 0); in hil_mlc_register()
|
D | hp_sdc.c | 904 sema_init(&s_sync, 0); in hp_sdc_init() 1033 sema_init(&tq_init_sem, 0); in hp_sdc_register()
|
/linux-6.1.9/net/9p/ |
D | trans_rdma.c | 578 sema_init(&rdma->sq_sem, rdma->sq_depth); in alloc_rdma() 579 sema_init(&rdma->rq_sem, rdma->rq_depth); in alloc_rdma()
|
/linux-6.1.9/drivers/md/bcache/ |
D | movinggc.c | 251 sema_init(&c->moving_in_flight, 64); in bch_moving_init_cache_set()
|
/linux-6.1.9/drivers/platform/x86/amd/ |
D | hsmp.c | 331 sema_init(&hsmp_sem[i], 1); in hsmp_pltdrv_probe()
|
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/ |
D | core.c | 288 sema_init(&ar->sem, 1); in ath6kl_core_create()
|
/linux-6.1.9/drivers/usb/misc/ |
D | usblcd.c | 331 sema_init(&dev->limit_sem, USB_LCD_CONCURRENT_WRITES); in lcd_probe()
|
/linux-6.1.9/drivers/mux/ |
D | core.c | 131 sema_init(&mux->lock, 1); in mux_chip_alloc()
|
/linux-6.1.9/arch/arm/mach-versatile/ |
D | spc.c | 470 sema_init(&info->sem, 1); in ve_spc_init()
|
/linux-6.1.9/drivers/misc/cxl/ |
D | flash.c | 535 sema_init(&sem, 1); in cxl_guest_add_chardev()
|
/linux-6.1.9/drivers/usb/ |
D | usb-skeleton.c | 501 sema_init(&dev->limit_sem, WRITES_IN_FLIGHT); in skel_probe()
|
/linux-6.1.9/drivers/net/wireless/st/cw1200/ |
D | main.c | 350 sema_init(&priv->scan.lock, 1); in cw1200_init_common()
|
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_mgmt.c | 634 sema_init(&pf_to_mgmt->sync_msg_lock, 1); in hinic_pf_to_mgmt_init()
|
D | hinic_hw_io.c | 57 sema_init(&free_db_area->idx_lock, 1); in init_db_area_idx()
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_cmdq.c | 193 sema_init(&cmdq->credits, cmdq->max_outstandings); in erdma_cmdq_init()
|
/linux-6.1.9/drivers/cpufreq/ |
D | brcmstb-avs-cpufreq.c | 556 sema_init(&priv->sem, 1); in brcm_avs_prepare_init()
|
/linux-6.1.9/drivers/infiniband/core/ |
D | iwpm_util.c | 327 sema_init(&nlmsg_request->sem, 1); in iwpm_get_nlmsg_request()
|