Home
last modified time | relevance | path

Searched refs:sema_init (Results 1 – 25 of 87) sorted by relevance

1234

/linux-6.3-rc2/include/drm/
A Dtask_barrier.h59 sema_init(&tb->enter_turnstile, 0); in task_barrier_init()
60 sema_init(&tb->exit_turnstile, 0); in task_barrier_init()
/linux-6.3-rc2/include/linux/
A Dsemaphore.h31 static inline void sema_init(struct semaphore *sem, int val) in sema_init() function
/linux-6.3-rc2/drivers/infiniband/hw/hns/
A Dhns_roce_cmd.c184 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.3-rc2/drivers/input/misc/
A Dhp_sdc_rtc.c88 sema_init(&tsem, 0); in hp_sdc_rtc_do_read_bbrtc()
356 sema_init(&i8042tregs, 1); in hp_sdc_rtc_init()
/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dopal-async.c284 sema_init(&opal_async_sem, opal_max_async_tokens); in opal_async_comp_init()
/linux-6.3-rc2/drivers/char/ipmi/
A Dipmi_ipmb.c525 sema_init(&iidev->wake_thread, 0); in ipmi_ipmb_probe()
526 sema_init(&iidev->got_rsp, 0); in ipmi_ipmb_probe()
/linux-6.3-rc2/drivers/mmc/host/
A Dcavium-thunderx.c102 sema_init(&host->mmc_serializer, 1); in thunder_mmc_probe()
A Dcavium-octeon.c161 sema_init(&host->mmc_serializer, 1); in octeon_mmc_probe()
/linux-6.3-rc2/drivers/input/serio/
A Dhil_mlc.c926 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()
A Dhp_sdc.c904 sema_init(&s_sync, 0); in hp_sdc_init()
1033 sema_init(&tq_init_sem, 0); in hp_sdc_register()
/linux-6.3-rc2/net/9p/
A Dtrans_rdma.c586 sema_init(&rdma->sq_sem, rdma->sq_depth); in alloc_rdma()
587 sema_init(&rdma->rq_sem, rdma->rq_depth); in alloc_rdma()
/linux-6.3-rc2/drivers/platform/x86/amd/
A Dhsmp.c331 sema_init(&hsmp_sem[i], 1); in hsmp_pltdrv_probe()
/linux-6.3-rc2/drivers/md/bcache/
A Dmovinggc.c251 sema_init(&c->moving_in_flight, 64); in bch_moving_init_cache_set()
/linux-6.3-rc2/drivers/net/wireless/ath/ath6kl/
A Dcore.c288 sema_init(&ar->sem, 1); in ath6kl_core_create()
/linux-6.3-rc2/drivers/usb/misc/
A Dusblcd.c331 sema_init(&dev->limit_sem, USB_LCD_CONCURRENT_WRITES); in lcd_probe()
/linux-6.3-rc2/drivers/mux/
A Dcore.c131 sema_init(&mux->lock, 1); in mux_chip_alloc()
/linux-6.3-rc2/arch/arm/mach-versatile/
A Dspc.c470 sema_init(&info->sem, 1); in ve_spc_init()
/linux-6.3-rc2/drivers/misc/cxl/
A Dflash.c535 sema_init(&sem, 1); in cxl_guest_add_chardev()
/linux-6.3-rc2/drivers/usb/
A Dusb-skeleton.c501 sema_init(&dev->limit_sem, WRITES_IN_FLIGHT); in skel_probe()
/linux-6.3-rc2/drivers/net/wireless/st/cw1200/
A Dmain.c351 sema_init(&priv->scan.lock, 1); in cw1200_init_common()
/linux-6.3-rc2/drivers/infiniband/hw/erdma/
A Derdma_cmdq.c193 sema_init(&cmdq->credits, cmdq->max_outstandings); in erdma_cmdq_init()
/linux-6.3-rc2/drivers/cpufreq/
A Dbrcmstb-avs-cpufreq.c556 sema_init(&priv->sem, 1); in brcm_avs_prepare_init()
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_mgmt.c634 sema_init(&pf_to_mgmt->sync_msg_lock, 1); in hinic_pf_to_mgmt_init()
/linux-6.3-rc2/drivers/infiniband/core/
A Diwpm_util.c327 sema_init(&nlmsg_request->sem, 1); in iwpm_get_nlmsg_request()
/linux-6.3-rc2/drivers/md/
A Ddm-region-hash.c220 sema_init(&rh->recovery_count, 0); in dm_region_hash_create()

Completed in 66 milliseconds

1234