Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/scsi/
Daha1542.c81 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-5.19.10/drivers/spi/
Dspi-armada-3700.c113 u32 wait_mask; member
327 if (!cause || !(a3700_spi->wait_mask & cause)) in a3700_spi_interrupt()
356 if (a3700_spi->wait_mask & ctrl_reg) in a3700_spi_wait_completion()
362 a3700_spi->wait_mask); in a3700_spi_wait_completion()
368 a3700_spi->wait_mask = 0; in a3700_spi_wait_completion()
382 if (a3700_spi->wait_mask & ctrl_reg) in a3700_spi_wait_completion()
397 a3700_spi->wait_mask = bit_mask; in a3700_spi_transfer_wait()
Dspi-rspi.c459 static int rspi_wait_for_interrupt(struct rspi_data *rspi, u8 wait_mask, in rspi_wait_for_interrupt() argument
465 if (rspi->spsr & wait_mask) in rspi_wait_for_interrupt()
469 ret = wait_event_timeout(rspi->wait, rspi->spsr & wait_mask, HZ); in rspi_wait_for_interrupt()
470 if (ret == 0 && !(rspi->spsr & wait_mask)) in rspi_wait_for_interrupt()
/linux-5.19.10/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c229 static int wait_status(struct refill_engine *engine, u32 wait_mask) in wait_status() argument
245 if ((r & wait_mask) == wait_mask) in wait_status()