/linux-6.3-rc2/include/drm/ |
A 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.3-rc2/include/linux/ |
A D | semaphore.h | 31 static inline void sema_init(struct semaphore *sem, int val) in sema_init() function
|
/linux-6.3-rc2/drivers/infiniband/hw/hns/ |
A 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.3-rc2/drivers/input/misc/ |
A 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.3-rc2/arch/powerpc/platforms/powernv/ |
A D | opal-async.c | 284 sema_init(&opal_async_sem, opal_max_async_tokens); in opal_async_comp_init()
|
/linux-6.3-rc2/drivers/char/ipmi/ |
A 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.3-rc2/drivers/mmc/host/ |
A D | cavium-thunderx.c | 102 sema_init(&host->mmc_serializer, 1); in thunder_mmc_probe()
|
A D | cavium-octeon.c | 161 sema_init(&host->mmc_serializer, 1); in octeon_mmc_probe()
|
/linux-6.3-rc2/drivers/input/serio/ |
A 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()
|
A 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.3-rc2/net/9p/ |
A D | trans_rdma.c | 586 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 D | hsmp.c | 331 sema_init(&hsmp_sem[i], 1); in hsmp_pltdrv_probe()
|
/linux-6.3-rc2/drivers/md/bcache/ |
A D | movinggc.c | 251 sema_init(&c->moving_in_flight, 64); in bch_moving_init_cache_set()
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath6kl/ |
A D | core.c | 288 sema_init(&ar->sem, 1); in ath6kl_core_create()
|
/linux-6.3-rc2/drivers/usb/misc/ |
A D | usblcd.c | 331 sema_init(&dev->limit_sem, USB_LCD_CONCURRENT_WRITES); in lcd_probe()
|
/linux-6.3-rc2/drivers/mux/ |
A D | core.c | 131 sema_init(&mux->lock, 1); in mux_chip_alloc()
|
/linux-6.3-rc2/arch/arm/mach-versatile/ |
A D | spc.c | 470 sema_init(&info->sem, 1); in ve_spc_init()
|
/linux-6.3-rc2/drivers/misc/cxl/ |
A D | flash.c | 535 sema_init(&sem, 1); in cxl_guest_add_chardev()
|
/linux-6.3-rc2/drivers/usb/ |
A D | usb-skeleton.c | 501 sema_init(&dev->limit_sem, WRITES_IN_FLIGHT); in skel_probe()
|
/linux-6.3-rc2/drivers/net/wireless/st/cw1200/ |
A D | main.c | 351 sema_init(&priv->scan.lock, 1); in cw1200_init_common()
|
/linux-6.3-rc2/drivers/infiniband/hw/erdma/ |
A D | erdma_cmdq.c | 193 sema_init(&cmdq->credits, cmdq->max_outstandings); in erdma_cmdq_init()
|
/linux-6.3-rc2/drivers/cpufreq/ |
A D | brcmstb-avs-cpufreq.c | 556 sema_init(&priv->sem, 1); in brcm_avs_prepare_init()
|
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_hw_mgmt.c | 634 sema_init(&pf_to_mgmt->sync_msg_lock, 1); in hinic_pf_to_mgmt_init()
|
/linux-6.3-rc2/drivers/infiniband/core/ |
A D | iwpm_util.c | 327 sema_init(&nlmsg_request->sem, 1); in iwpm_get_nlmsg_request()
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-region-hash.c | 220 sema_init(&rh->recovery_count, 0); in dm_region_hash_create()
|