Home
last modified time | relevance | path

Searched refs:sem (Results 101 – 125 of 158) sorted by relevance

1234567

/openbmc/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.c172 u32 sem = 0; in wx_acquire_sw_sync() local
176 ret = read_poll_timeout(rd32, sem, !(sem & mask), in wx_acquire_sw_sync()
179 sem |= mask; in wx_acquire_sw_sync()
180 wr32(wx, WX_MNG_SWFW_SYNC, sem); in wx_acquire_sw_sync()
182 wx_err(wx, "SW Semaphore not granted: 0x%x.\n", sem); in wx_acquire_sw_sync()
/openbmc/linux/fs/jffs2/
H A Ddebug.c69 mutex_lock(&f->sem); in __jffs2_dbg_fragtree_paranoia_check()
71 mutex_unlock(&f->sem); in __jffs2_dbg_fragtree_paranoia_check()
697 mutex_lock(&f->sem); in __jffs2_dbg_dump_fragtree()
699 mutex_unlock(&f->sem); in __jffs2_dbg_dump_fragtree()
H A Dreadinode.c1401 mutex_init(&f->sem); in jffs2_do_crccheck_inode()
1402 mutex_lock(&f->sem); in jffs2_do_crccheck_inode()
1406 mutex_unlock(&f->sem); in jffs2_do_crccheck_inode()
1419 mutex_lock(&f->sem); in jffs2_do_clear_inode()
1446 mutex_unlock(&f->sem); in jffs2_do_clear_inode()
H A Dgc.c506 mutex_lock(&f->sem); in jffs2_garbage_collect_live()
586 mutex_unlock(&f->sem); in jffs2_garbage_collect_live()
1328 mutex_unlock(&f->sem); in jffs2_garbage_collect_dnode()
1334 mutex_lock(&f->sem); in jffs2_garbage_collect_dnode()
1339 mutex_lock(&f->sem); in jffs2_garbage_collect_dnode()
H A Dsuper.c60 mutex_init(&f->sem); in jffs2_i_init_once()
/openbmc/linux/drivers/gpio/
H A Dgpiolib-cdev.c73 down_read(&gdev->sem); in call_poll_locked()
75 up_read(&gdev->sem); in call_poll_locked()
86 down_read(&gdev->sem); in call_ioctl_locked()
88 up_read(&gdev->sem); in call_ioctl_locked()
99 down_read(&gdev->sem); in call_read_locked()
101 up_read(&gdev->sem); in call_read_locked()
2882 down_read(&gdev->sem); in gpio_chrdev_open()
2921 up_read(&gdev->sem); in gpio_chrdev_open()
2937 up_read(&gdev->sem); in gpio_chrdev_open()
H A Dgpiolib.h71 struct rw_semaphore sem; member
/openbmc/linux/crypto/
H A Daf_alg.c307 down_read(&key->sem); in alg_setkey_by_key_serial()
322 up_read(&key->sem); in alg_setkey_by_key_serial()
329 up_read(&key->sem); in alg_setkey_by_key_serial()
336 up_read(&key->sem); in alg_setkey_by_key_serial()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dumr.c178 sema_init(&dev->umrc.sem, MAX_UMR_WR); in mlx5r_umr_resource_init()
301 down(&umrc->sem); in mlx5r_umr_post_send_wait()
346 up(&umrc->sem); in mlx5r_umr_post_send_wait()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c105 if (down_interruptible(&ar->sem)) in ath6kl_read_tgt_stats()
111 up(&ar->sem); in ath6kl_read_tgt_stats()
119 up(&ar->sem); in ath6kl_read_tgt_stats()
1172 if (down_interruptible(&ar->sem)) in ath6kl_roam_table_read()
1179 up(&ar->sem); in ath6kl_roam_table_read()
1185 up(&ar->sem); in ath6kl_roam_table_read()
H A Dcore.c288 sema_init(&ar->sem, 1); in ath6kl_core_create()
/openbmc/linux/Documentation/translations/sp_SP/process/
H A Dprogramming-language.rst28 [sp-gcc-attribute-syntax]_. Los atributos permiten introducir semántica
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v9_0.c849 down_read_trylock(&adev->reset_domain->sem)) { in gmc_v9_0_flush_gpu_tlb()
855 up_read(&adev->reset_domain->sem); in gmc_v9_0_flush_gpu_tlb()
962 if (ring->sched.ready && down_read_trylock(&adev->reset_domain->sem)) { in gmc_v9_0_flush_gpu_tlb_pasid()
996 up_read(&adev->reset_domain->sem); in gmc_v9_0_flush_gpu_tlb_pasid()
1005 up_read(&adev->reset_domain->sem); in gmc_v9_0_flush_gpu_tlb_pasid()
1008 up_read(&adev->reset_domain->sem); in gmc_v9_0_flush_gpu_tlb_pasid()
H A Dgmc_v10_0.c341 down_read_trylock(&adev->reset_domain->sem)) { in gmc_v10_0_flush_gpu_tlb()
351 up_read(&adev->reset_domain->sem); in gmc_v10_0_flush_gpu_tlb()
H A Damdgpu_device.c379 if (down_read_trylock(&adev->reset_domain->sem)) in amdgpu_device_skip_hw_access()
380 up_read(&adev->reset_domain->sem); in amdgpu_device_skip_hw_access()
382 lockdep_assert_held(&adev->reset_domain->sem); in amdgpu_device_skip_hw_access()
408 down_read_trylock(&adev->reset_domain->sem)) { in amdgpu_device_rreg()
410 up_read(&adev->reset_domain->sem); in amdgpu_device_rreg()
492 down_read_trylock(&adev->reset_domain->sem)) { in amdgpu_device_wreg()
494 up_read(&adev->reset_domain->sem); in amdgpu_device_wreg()
4811 lockdep_assert_held(&adev->reset_domain->sem); in amdgpu_reset_reg_dumps()
/openbmc/linux/security/keys/
H A Drequest_key.c288 down_read(&authkey->sem); in construct_get_dest_keyring()
294 up_read(&authkey->sem); in construct_get_dest_keyring()
/openbmc/linux/tools/testing/selftests/kvm/
H A Ddirty_log_test.c206 static void sem_wait_until(sem_t *sem) in sem_wait_until() argument
211 ret = sem_wait(sem); in sem_wait_until()
/openbmc/linux/drivers/pci/pcie/
H A Daspm.c1061 static int __pci_disable_link_state(struct pci_dev *pdev, int state, bool sem) in __pci_disable_link_state() argument
1080 if (sem) in __pci_disable_link_state()
1102 if (sem) in __pci_disable_link_state()
/openbmc/linux/drivers/scsi/be2iscsi/
H A Dbe_cmds.c1605 u32 sem; in beiscsi_get_post_stage() local
1608 sem = ioread32(phba->csr_va + SLIPORT_SEMAPHORE_OFFSET_BEx); in beiscsi_get_post_stage()
1611 SLIPORT_SEMAPHORE_OFFSET_SH, &sem); in beiscsi_get_post_stage()
1612 return sem; in beiscsi_get_post_stage()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmcu.c1225 int len, ret, sem; in mt7615_load_patch() local
1237 sem = mt76_connac_mcu_patch_sem_ctrl(&dev->mt76, true); in mt7615_load_patch()
1238 switch (sem) { in mt7615_load_patch()
1275 sem = mt76_connac_mcu_patch_sem_ctrl(&dev->mt76, false); in mt7615_load_patch()
1276 switch (sem) { in mt7615_load_patch()
/openbmc/qemu/include/hw/core/
H A Dcpu.h469 QemuSemaphore sem; member
/openbmc/qemu/system/
H A Dcpus.c454 qemu_sem_post(&cpu->sem); in cpus_kick_thread()
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.c293 netxen_pcie_sem_lock(struct netxen_adapter *adapter, int sem, u32 id_reg) in netxen_pcie_sem_lock() argument
298 done = NXRD32(adapter, NETXEN_PCIE_REG(PCIE_SEM_LOCK(sem))); in netxen_pcie_sem_lock()
313 netxen_pcie_sem_unlock(struct netxen_adapter *adapter, int sem) in netxen_pcie_sem_unlock() argument
315 NXRD32(adapter, NETXEN_PCIE_REG(PCIE_SEM_UNLOCK(sem))); in netxen_pcie_sem_unlock()
/openbmc/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas.h412 struct semaphore sem; member
/openbmc/linux/Documentation/translations/sp_SP/
H A Dmemory-barriers.txt546 completamente ordenadas o relajadas (sin barrera semántica). Para
548 ACQUIRE se aplica solo a la carga y la semántica RELEASE se aplica sólo a
2086 (*) semáforos
2087 (*) R/W semáforos
2196 Es posible que los cerrojos y los semáforos no proporcionen ninguna
2478 vinculada a la lista de procesos en espera del semáforo:
2500 el semáforo;
2517 Una vez que se ha puesto en cola y soltado el bloqueo de semáforo, el
2547 Esto podría solucionarse usando el bloqueo de semáforo, pero luego la
2743 la semántica de orden portátil.
[all …]

1234567