/drivers/tty/ |
D | tty_ldsem.c | 77 static inline long ldsem_atomic_update(long delta, struct ld_semaphore *sem) in ldsem_atomic_update() 87 static inline int ldsem_cmpxchg(long *old, long new, struct ld_semaphore *sem) in ldsem_cmpxchg() 102 void __init_ldsem(struct ld_semaphore *sem, const char *name, in __init_ldsem() 119 static void __ldsem_wake_readers(struct ld_semaphore *sem) in __ldsem_wake_readers() 149 static inline int writer_trylock(struct ld_semaphore *sem) in writer_trylock() 163 static void __ldsem_wake_writer(struct ld_semaphore *sem) in __ldsem_wake_writer() 179 static void __ldsem_wake(struct ld_semaphore *sem) in __ldsem_wake() 187 static void ldsem_wake(struct ld_semaphore *sem) in ldsem_wake() 200 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 | 31 static int get_sem(struct device *dev, u32 *sem) in get_sem() 63 u32 sem = PUNIT_SEMAPHORE_ACQUIRE; in baytrail_i2c_acquire() local
|
/drivers/net/wireless/marvell/mwifiex/ |
D | main.c | 522 struct semaphore *sem = adapter->card_sem; in mwifiex_fw_dpc() local 1367 mwifiex_shutdown_sw(struct mwifiex_adapter *adapter, struct semaphore *sem) in mwifiex_shutdown_sw() 1445 mwifiex_reinit_sw(struct mwifiex_adapter *adapter, struct semaphore *sem, in mwifiex_reinit_sw() 1570 mwifiex_add_card(void *card, struct semaphore *sem, in mwifiex_add_card() 1671 int mwifiex_remove_card(struct mwifiex_adapter *adapter, struct semaphore *sem) in mwifiex_remove_card()
|
/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 | 1181 struct semaphore *sem = NULL; in acpi_os_create_semaphore() local 1206 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_delete_semaphore() local 1226 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_wait_semaphore() local 1270 struct semaphore *sem = (struct semaphore *)handle; in acpi_os_signal_semaphore() local
|
/drivers/infiniband/core/ |
D | iwpm_util.h | 72 struct semaphore sem; member
|
/drivers/media/usb/as102/ |
D | as102_drv.h | 73 struct mutex sem; member
|
/drivers/gpu/host1x/ |
D | cdma.h | 70 struct semaphore sem; /* signalled when event occurs */ member
|
/drivers/net/ethernet/sfc/ |
D | efx.h | 279 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/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 | 321 struct semaphore sem; member
|
/drivers/net/irda/ |
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 | 26 static struct semaphore sem; variable
|
/drivers/staging/vc04_services/interface/vchi/message_drivers/ |
D | message.h | 84 struct semaphore sem; member
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 784 struct semaphore *sem; in cmd_work_handler() local 1419 struct semaphore *sem; in mlx5_cmd_comp_handler() local
|
/drivers/infiniband/ulp/isert/ |
D | ib_isert.h | 194 struct semaphore sem; member
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hw.c | 322 netxen_pcie_sem_lock(struct netxen_adapter *adapter, int sem, u32 id_reg) in netxen_pcie_sem_lock() 342 netxen_pcie_sem_unlock(struct netxen_adapter *adapter, int sem) in netxen_pcie_sem_unlock()
|
/drivers/pci/pcie/ |
D | aspm.c | 723 static void __pci_disable_link_state(struct pci_dev *pdev, int state, bool sem) in __pci_disable_link_state()
|