Home
last modified time | relevance | path

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

1234

/linux-6.6.21/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.6.21/include/linux/
Dsemaphore.h37 static inline void sema_init(struct semaphore *sem, int val) in sema_init() function
/linux-6.6.21/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.6.21/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.6.21/arch/powerpc/platforms/powernv/
Dopal-async.c284 sema_init(&opal_async_sem, opal_max_async_tokens); in opal_async_comp_init()
/linux-6.6.21/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.6.21/drivers/mmc/host/
Dcavium-thunderx.c103 sema_init(&host->mmc_serializer, 1); in thunder_mmc_probe()
Dcavium-octeon.c163 sema_init(&host->mmc_serializer, 1); in octeon_mmc_probe()
/linux-6.6.21/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.6.21/net/9p/
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.6.21/drivers/md/bcache/
Dmovinggc.c251 sema_init(&c->moving_in_flight, 64); in bch_moving_init_cache_set()
/linux-6.6.21/drivers/platform/x86/amd/
Dhsmp.c331 sema_init(&hsmp_sem[i], 1); in hsmp_pltdrv_probe()
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/
Dcore.c288 sema_init(&ar->sem, 1); in ath6kl_core_create()
/linux-6.6.21/drivers/usb/misc/
Dusblcd.c331 sema_init(&dev->limit_sem, USB_LCD_CONCURRENT_WRITES); in lcd_probe()
/linux-6.6.21/arch/arm/mach-versatile/
Dspc.c470 sema_init(&info->sem, 1); in ve_spc_init()
/linux-6.6.21/drivers/mux/
Dcore.c129 sema_init(&mux->lock, 1); in mux_chip_alloc()
/linux-6.6.21/drivers/misc/cxl/
Dflash.c535 sema_init(&sem, 1); in cxl_guest_add_chardev()
/linux-6.6.21/drivers/usb/
Dusb-skeleton.c501 sema_init(&dev->limit_sem, WRITES_IN_FLIGHT); in skel_probe()
/linux-6.6.21/drivers/net/wireless/st/cw1200/
Dmain.c351 sema_init(&priv->scan.lock, 1); in cw1200_init_common()
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_cmdq.c191 sema_init(&cmdq->credits, cmdq->max_outstandings); in erdma_cmdq_init()
/linux-6.6.21/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.6.21/drivers/cpufreq/
Dbrcmstb-avs-cpufreq.c560 sema_init(&priv->sem, 1); in brcm_avs_prepare_init()
/linux-6.6.21/drivers/md/
Ddm-region-hash.c220 sema_init(&rh->recovery_count, 0); in dm_region_hash_create()

1234