/drivers/tty/ |
D | tty_ldsem.c | 79 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/ |
D | i2c-designware-baytrail.c | 41 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/ |
D | vchiq_killable.h | 42 static inline int __must_check down_interruptible_killable(struct semaphore *sem) in down_interruptible_killable()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | reset.c | 51 u32 sem; in mlx4_reset() local
|
/drivers/gpu/drm/gma500/ |
D | gtt.h | 36 struct rw_semaphore sem; member
|
D | mmu.h | 22 struct rw_semaphore sem; member
|
/drivers/acpi/ |
D | osl.c | 1178 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/ |
D | as102_drv.h | 73 struct mutex sem; member
|
/drivers/infiniband/core/ |
D | iwpm_util.h | 72 struct semaphore sem; member
|
/drivers/net/ethernet/sfc/falcon/ |
D | efx.h | 268 static inline bool ef4_rwsem_assert_write_locked(struct rw_semaphore *sem) in ef4_rwsem_assert_write_locked()
|
/drivers/gpu/host1x/ |
D | cdma.h | 72 struct semaphore sem; /* signalled when event occurs */ member
|
/drivers/net/ethernet/sfc/ |
D | efx.h | 288 static inline bool efx_rwsem_assert_write_locked(struct rw_semaphore *sem) in efx_rwsem_assert_write_locked()
|
/drivers/input/joystick/ |
D | turbografx.c | 85 struct mutex sem; member
|
/drivers/staging/speakup/ |
D | spk_ttyio.c | 12 struct semaphore sem; member
|
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | nv04.c | 245 u32 reassign, chid, get, sem; in nv04_fifo_intr() local
|
/drivers/staging/vc04_services/interface/vchi/connections/ |
D | connection.h | 320 struct semaphore sem; member
|
/drivers/staging/irda/drivers/ |
D | sir-dev.h | 24 struct semaphore sem; member
|
/drivers/macintosh/ |
D | rack-meter.c | 72 struct mutex sem; member
|
/drivers/char/xilinx_hwicap/ |
D | xilinx_hwicap.h | 60 struct mutex sem; member
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 318 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/ |
D | flash.c | 27 static struct semaphore sem; variable
|
/drivers/staging/vc04_services/interface/vchi/message_drivers/ |
D | message.h | 81 struct semaphore sem; member
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_api_cmd.h | 188 struct semaphore sem; member
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 801 struct semaphore *sem; in cmd_work_handler() local 1436 struct semaphore *sem; in mlx5_cmd_comp_handler() local
|
/drivers/infiniband/ulp/isert/ |
D | ib_isert.h | 196 struct semaphore sem; member
|