Searched refs:wait_mask (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/scsi/ |
H A D | aha1542.c | 81 static inline bool wait_mask(u16 port, u8 mask, u8 allof, u8 noneof, int timeout) in wait_mask() function 105 if (!wait_mask(STATUS(base), CDF, 0, CDF, 0)) in aha1542_outb() 115 if (!wait_mask(STATUS(base), CDF, 0, CDF, 0)) in aha1542_out() 119 if (!wait_mask(INTRFLAGS(base), INTRMASK, HACC, 0, 0)) in aha1542_out() 133 if (!wait_mask(STATUS(base), DF, DF, 0, timeout)) in aha1542_in() 225 if (!wait_mask(STATUS(sh->io_port), STATMASK, INIT | IDLE, STST | DIAGF | INVDCMD | DF | CDF, 0)) in aha1542_test_port() 240 if (!wait_mask(STATUS(sh->io_port), DF, DF, 0, 0)) in aha1542_test_port() 250 if (!wait_mask(INTRFLAGS(sh->io_port), HACC, HACC, 0, 0)) in aha1542_test_port() 555 if (!wait_mask(INTRFLAGS(sh->io_port), INTRMASK, HACC, 0, 0)) in aha1542_getconfig() 625 if (!wait_mask(INTRFLAGS(sh->io_port), INTRMASK, HACC, 0, 100)) in aha1542_mbenable() [all …]
|
/linux/drivers/spi/ |
H A D | spi-armada-3700.c | 112 u32 wait_mask; member 326 if (!cause || !(a3700_spi->wait_mask & cause)) in a3700_spi_interrupt() 355 if (a3700_spi->wait_mask & ctrl_reg) in a3700_spi_wait_completion() 361 a3700_spi->wait_mask); in a3700_spi_wait_completion() 367 a3700_spi->wait_mask = 0; in a3700_spi_wait_completion() 381 if (a3700_spi->wait_mask & ctrl_reg) in a3700_spi_wait_completion() 396 a3700_spi->wait_mask = bit_mask; in a3700_spi_transfer_wait()
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_dmm_tiler.c | 230 static int wait_status(struct refill_engine *engine, u32 wait_mask) in wait_status() argument 246 if ((r & wait_mask) == wait_mask) in wait_status()
|