Home
last modified time | relevance | path

Searched refs:wait_mask (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/scsi/
Daha1542.c78 static inline bool wait_mask(u16 port, u8 mask, u8 allof, u8 noneof, int timeout) in wait_mask() function
102 if (!wait_mask(STATUS(base), CDF, 0, CDF, 0)) in aha1542_outb()
112 if (!wait_mask(STATUS(base), CDF, 0, CDF, 0)) in aha1542_out()
116 if (!wait_mask(INTRFLAGS(base), INTRMASK, HACC, 0, 0)) in aha1542_out()
128 if (!wait_mask(STATUS(base), DF, DF, 0, timeout)) in aha1542_in()
212 if (!wait_mask(STATUS(sh->io_port), STATMASK, INIT | IDLE, STST | DIAGF | INVDCMD | DF | CDF, 0)) in aha1542_test_port()
225 if (!wait_mask(STATUS(sh->io_port), DF, DF, 0, 0)) in aha1542_test_port()
235 if (!wait_mask(INTRFLAGS(sh->io_port), HACC, HACC, 0, 0)) in aha1542_test_port()
551 if (!wait_mask(INTRFLAGS(sh->io_port), INTRMASK, HACC, 0, 0)) in aha1542_getconfig()
617 if (!wait_mask(INTRFLAGS(sh->io_port), INTRMASK, HACC, 0, 100)) in aha1542_mbenable()
[all …]
/Linux-v5.4/drivers/spi/
Dspi-armada-3700.c113 u32 wait_mask; member
329 if (!cause || !(a3700_spi->wait_mask & cause)) in a3700_spi_interrupt()
358 if (a3700_spi->wait_mask & ctrl_reg) in a3700_spi_wait_completion()
364 a3700_spi->wait_mask); in a3700_spi_wait_completion()
370 a3700_spi->wait_mask = 0; in a3700_spi_wait_completion()
384 if (a3700_spi->wait_mask & ctrl_reg) in a3700_spi_wait_completion()
399 a3700_spi->wait_mask = bit_mask; in a3700_spi_transfer_wait()
Dspi-rspi.c441 static int rspi_wait_for_interrupt(struct rspi_data *rspi, u8 wait_mask, in rspi_wait_for_interrupt() argument
447 if (rspi->spsr & wait_mask) in rspi_wait_for_interrupt()
451 ret = wait_event_timeout(rspi->wait, rspi->spsr & wait_mask, HZ); in rspi_wait_for_interrupt()
452 if (ret == 0 && !(rspi->spsr & wait_mask)) in rspi_wait_for_interrupt()
/Linux-v5.4/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c239 static int wait_status(struct refill_engine *engine, u32 wait_mask) in wait_status() argument
255 if ((r & wait_mask) == wait_mask) in wait_status()