Searched refs:semaphore (Results 51 - 75 of 190) sorted by path

12345678

/linux-master/drivers/infiniband/hw/efa/
H A Defa_com.h12 #include <linux/semaphore.h>
73 struct semaphore avail_cmds;
/linux-master/drivers/infiniband/hw/erdma/
H A Derdma.h112 struct semaphore credits;
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_device.h552 struct semaphore poll_sem;
557 struct semaphore event_sem;
/linux-master/drivers/infiniband/hw/mlx5/
H A Dmlx5_ib.h750 struct semaphore sem;
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_dev.h47 #include <linux/semaphore.h>
122 struct semaphore poll_sem;
123 struct semaphore event_sem;
/linux-master/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma.h54 #include <linux/semaphore.h>
218 struct semaphore cmd_sema;
/linux-master/drivers/infiniband/ulp/isert/
H A Dib_isert.c23 #include <linux/semaphore.h>
H A Dib_isert.h207 struct semaphore sem;
/linux-master/drivers/input/misc/
H A Dhp_sdc_rtc.c48 #include <linux/semaphore.h>
58 static struct semaphore i8042tregs;
68 struct semaphore tsem;
87 t.act.semaphore = &tsem;
159 t.act.semaphore = &i8042tregs;
/linux-master/drivers/input/serio/
H A Dhp_sdc.c70 #include <linux/semaphore.h>
201 if (curr->act.semaphore)
202 up(curr->act.semaphore);
328 if (curr->act.semaphore)
329 up(curr->act.semaphore);
566 up(curr->act.semaphore);
833 struct semaphore s_sync;
903 t_sync.act.semaphore = &s_sync;
998 struct semaphore tq_init_sem;
1039 tq_init.act.semaphore
[all...]
H A Dhp_sdc_mlc.c43 #include <linux/semaphore.h>
150 /* Try to down the semaphore */
193 if (priv->trans.act.semaphore != &mlc->csem)
203 priv->trans.act.semaphore = &mlc->csem;
217 priv->trans.act.semaphore = &mlc->osem;
228 /* Try to down the semaphore -- it should be up. */
245 priv->trans.act.semaphore = &mlc->osem;
286 priv->trans.act.semaphore = &mlc->osem;
316 hp_sdc_mlc_priv.trans.act.semaphore = &mlc->osem;
/linux-master/drivers/md/bcache/
H A Dbcache.h310 struct semaphore sb_write_mutex;
342 struct semaphore in_flight;
540 struct semaphore sb_write_mutex;
666 struct semaphore moving_in_flight;
683 struct semaphore uuid_write_mutex;
H A Dbtree.h139 struct semaphore io_mutex;
/linux-master/drivers/md/
H A Ddm-core.h128 struct semaphore swap_bios_semaphore;
H A Ddm-region-hash.c88 struct semaphore recovery_count;
/linux-master/drivers/md/dm-vdo/indexer/
H A Dsparse-cache.c145 struct semaphore lock;
147 struct semaphore wait;
178 static inline void __down(struct semaphore *semaphore) argument
181 * Do not use down(semaphore). Instead use down_interruptible so that
184 while (down_interruptible(semaphore) != 0) {
/linux-master/drivers/media/dvb-core/
H A Ddvb_frontend.c24 #include <linux/semaphore.h>
98 struct semaphore sem;
/linux-master/drivers/media/pci/ngene/
H A Dngene.h729 struct semaphore pll_mutex;
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_msg_queue.h11 #include <linux/semaphore.h>
/linux-master/drivers/media/usb/em28xx/
H A Dem28xx-dvb.c97 struct semaphore pll_mutex;
1738 /* FIXME: do we need a pll semaphore? */
1769 /* FIXME: do we need a pll semaphore? */
/linux-master/drivers/misc/cxl/
H A Dcxl.h10 #include <linux/semaphore.h>
H A Dflash.c4 #include <linux/semaphore.h>
28 static struct semaphore sem;
402 /* Allows one process to open the device by using a semaphore */
/linux-master/drivers/misc/genwqe/
H A Dcard_base.h26 #include <linux/semaphore.h>
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_llh.c62 u32 semaphore)
64 aq_hw_write_reg(aq_hw, HW_ATL_GLB_CPU_SEM_ADR(semaphore), glb_cpu_sem);
67 u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore) argument
69 return aq_hw_read_reg(aq_hw, HW_ATL_GLB_CPU_SEM_ADR(semaphore));
61 hw_atl_reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem, u32 semaphore) argument
H A Dhw_atl_llh.h39 /* set global microprocessor semaphore */
41 u32 semaphore);
43 /* get global microprocessor semaphore */
44 u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore);
854 /* get global microprocessor ram semaphore */
857 /* get global microprocessor mdio semaphore */

Completed in 398 milliseconds

12345678