Home
last modified time | relevance | path

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

1234

/linux-6.1.9/include/drm/
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.1.9/include/linux/
Dsemaphore.h31 static inline void sema_init(struct semaphore *sem, int val) in sema_init() function
/linux-6.1.9/drivers/input/misc/
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.1.9/drivers/infiniband/hw/hns/
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.1.9/arch/powerpc/platforms/powernv/
Dopal-async.c284 sema_init(&opal_async_sem, opal_max_async_tokens); in opal_async_comp_init()
/linux-6.1.9/drivers/char/ipmi/
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.1.9/drivers/mmc/host/
Dcavium-thunderx.c102 sema_init(&host->mmc_serializer, 1); in thunder_mmc_probe()
Dcavium-octeon.c161 sema_init(&host->mmc_serializer, 1); in octeon_mmc_probe()
/linux-6.1.9/drivers/input/serio/
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()
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.1.9/net/9p/
Dtrans_rdma.c578 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/
Dmovinggc.c251 sema_init(&c->moving_in_flight, 64); in bch_moving_init_cache_set()
/linux-6.1.9/drivers/platform/x86/amd/
Dhsmp.c331 sema_init(&hsmp_sem[i], 1); in hsmp_pltdrv_probe()
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/
Dcore.c288 sema_init(&ar->sem, 1); in ath6kl_core_create()
/linux-6.1.9/drivers/usb/misc/
Dusblcd.c331 sema_init(&dev->limit_sem, USB_LCD_CONCURRENT_WRITES); in lcd_probe()
/linux-6.1.9/drivers/mux/
Dcore.c131 sema_init(&mux->lock, 1); in mux_chip_alloc()
/linux-6.1.9/arch/arm/mach-versatile/
Dspc.c470 sema_init(&info->sem, 1); in ve_spc_init()
/linux-6.1.9/drivers/misc/cxl/
Dflash.c535 sema_init(&sem, 1); in cxl_guest_add_chardev()
/linux-6.1.9/drivers/usb/
Dusb-skeleton.c501 sema_init(&dev->limit_sem, WRITES_IN_FLIGHT); in skel_probe()
/linux-6.1.9/drivers/net/wireless/st/cw1200/
Dmain.c350 sema_init(&priv->scan.lock, 1); in cw1200_init_common()
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mgmt.c634 sema_init(&pf_to_mgmt->sync_msg_lock, 1); in hinic_pf_to_mgmt_init()
Dhinic_hw_io.c57 sema_init(&free_db_area->idx_lock, 1); in init_db_area_idx()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_cmdq.c193 sema_init(&cmdq->credits, cmdq->max_outstandings); in erdma_cmdq_init()
/linux-6.1.9/drivers/cpufreq/
Dbrcmstb-avs-cpufreq.c556 sema_init(&priv->sem, 1); in brcm_avs_prepare_init()
/linux-6.1.9/drivers/infiniband/core/
Diwpm_util.c327 sema_init(&nlmsg_request->sem, 1); in iwpm_get_nlmsg_request()

1234