Home
last modified time | relevance | path

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

12

/drivers/tty/
Dtty_ldsem.c77 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/
Di2c-designware-baytrail.c31 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/
Dmain.c522 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/
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.c1181 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/
Diwpm_util.h72 struct semaphore sem; member
/drivers/media/usb/as102/
Das102_drv.h73 struct mutex sem; member
/drivers/gpu/host1x/
Dcdma.h70 struct semaphore sem; /* signalled when event occurs */ member
/drivers/net/ethernet/sfc/
Defx.h279 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/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.h321 struct semaphore sem; member
/drivers/net/irda/
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.c26 static struct semaphore sem; variable
/drivers/staging/vc04_services/interface/vchi/message_drivers/
Dmessage.h84 struct semaphore sem; member
/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c784 struct semaphore *sem; in cmd_work_handler() local
1419 struct semaphore *sem; in mlx5_cmd_comp_handler() local
/drivers/infiniband/ulp/isert/
Dib_isert.h194 struct semaphore sem; member
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c322 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/
Daspm.c723 static void __pci_disable_link_state(struct pci_dev *pdev, int state, bool sem) in __pci_disable_link_state()

12