Home
last modified time | relevance | path

Searched defs:sem (Results 1 – 25 of 35) sorted by relevance

12

/drivers/tty/
Dtty_ldsem.c79 static inline long ldsem_atomic_update(long delta, struct ld_semaphore *sem) in ldsem_atomic_update()
89 static inline int ldsem_cmpxchg(long *old, long new, struct ld_semaphore *sem) in ldsem_cmpxchg()
104 void __init_ldsem(struct ld_semaphore *sem, const char *name, in __init_ldsem()
121 static void __ldsem_wake_readers(struct ld_semaphore *sem) in __ldsem_wake_readers()
150 static inline int writer_trylock(struct ld_semaphore *sem) in writer_trylock()
164 static void __ldsem_wake_writer(struct ld_semaphore *sem) in __ldsem_wake_writer()
180 static void __ldsem_wake(struct ld_semaphore *sem) in __ldsem_wake()
188 static void ldsem_wake(struct ld_semaphore *sem) in ldsem_wake()
201 down_read_failed(struct ld_semaphore *sem, long count, long timeout) in down_read_failed()
268 down_write_failed(struct ld_semaphore *sem, long count, long timeout) in down_write_failed()
[all …]
/drivers/i2c/busses/
Di2c-designware-baytrail.c41 static int get_sem(struct dw_i2c_dev *dev, u32 *sem) in get_sem()
74 u32 sem = PUNIT_SEMAPHORE_ACQUIRE; in baytrail_i2c_acquire() local
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_killable.h42 static inline int __must_check down_interruptible_killable(struct semaphore *sem) in down_interruptible_killable()
/drivers/net/ethernet/mellanox/mlx4/
Dreset.c51 u32 sem; in mlx4_reset() local
/drivers/gpu/drm/gma500/
Dgtt.h36 struct rw_semaphore sem; member
Dmmu.h22 struct rw_semaphore sem; member
/drivers/acpi/
Dosl.c1178 struct semaphore *sem = NULL; in acpi_os_create_semaphore() local
1203 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_delete_semaphore() local
1223 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_wait_semaphore() local
1267 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_signal_semaphore() local
/drivers/media/usb/as102/
Das102_drv.h73 struct mutex sem; member
/drivers/infiniband/core/
Diwpm_util.h72 struct semaphore sem; member
/drivers/net/ethernet/sfc/falcon/
Defx.h268 static inline bool ef4_rwsem_assert_write_locked(struct rw_semaphore *sem) in ef4_rwsem_assert_write_locked()
/drivers/gpu/host1x/
Dcdma.h72 struct semaphore sem; /* signalled when event occurs */ member
/drivers/net/ethernet/sfc/
Defx.h288 static inline bool efx_rwsem_assert_write_locked(struct rw_semaphore *sem) in efx_rwsem_assert_write_locked()
/drivers/input/joystick/
Dturbografx.c85 struct mutex sem; member
/drivers/staging/speakup/
Dspk_ttyio.c12 struct semaphore sem; member
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dnv04.c245 u32 reassign, chid, get, sem; in nv04_fifo_intr() local
/drivers/staging/vc04_services/interface/vchi/connections/
Dconnection.h320 struct semaphore sem; member
/drivers/staging/irda/drivers/
Dsir-dev.h24 struct semaphore sem; member
/drivers/macintosh/
Drack-meter.c72 struct mutex sem; member
/drivers/char/xilinx_hwicap/
Dxilinx_hwicap.h60 struct mutex sem; member
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c318 qlcnic_pcie_sem_lock(struct qlcnic_adapter *adapter, int sem, u32 id_reg) in qlcnic_pcie_sem_lock()
354 qlcnic_pcie_sem_unlock(struct qlcnic_adapter *adapter, int sem) in qlcnic_pcie_sem_unlock()
/drivers/misc/cxl/
Dflash.c27 static struct semaphore sem; variable
/drivers/staging/vc04_services/interface/vchi/message_drivers/
Dmessage.h81 struct semaphore sem; member
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_api_cmd.h188 struct semaphore sem; member
/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c801 struct semaphore *sem; in cmd_work_handler() local
1436 struct semaphore *sem; in mlx5_cmd_comp_handler() local
/drivers/infiniband/ulp/isert/
Dib_isert.h196 struct semaphore sem; member

12