Searched refs:wait_mask (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/scsi/ |
D | aha1542.c | 70 static inline bool wait_mask(u16 port, u8 mask, u8 allof, u8 noneof, int timeout) in wait_mask() function 94 if (!wait_mask(STATUS(base), CDF, 0, CDF, 0)) in aha1542_outb() 104 if (!wait_mask(STATUS(base), CDF, 0, CDF, 0)) in aha1542_out() 108 if (!wait_mask(INTRFLAGS(base), INTRMASK, HACC, 0, 0)) in aha1542_out() 120 if (!wait_mask(STATUS(base), DF, DF, 0, timeout)) in aha1542_in() 204 if (!wait_mask(STATUS(sh->io_port), STATMASK, INIT | IDLE, STST | DIAGF | INVDCMD | DF | CDF, 0)) in aha1542_test_port() 217 if (!wait_mask(STATUS(sh->io_port), DF, DF, 0, 0)) in aha1542_test_port() 227 if (!wait_mask(INTRFLAGS(sh->io_port), HACC, HACC, 0, 0)) in aha1542_test_port() 524 if (!wait_mask(INTRFLAGS(sh->io_port), INTRMASK, HACC, 0, 0)) in aha1542_getconfig() 590 if (!wait_mask(INTRFLAGS(sh->io_port), INTRMASK, HACC, 0, 100)) in aha1542_mbenable() [all …]
|
/Linux-v4.19/drivers/spi/ |
D | spi-armada-3700.c | 116 u32 wait_mask; member 332 if (!cause || !(a3700_spi->wait_mask & cause)) in a3700_spi_interrupt() 361 if (a3700_spi->wait_mask & ctrl_reg) in a3700_spi_wait_completion() 367 a3700_spi->wait_mask); in a3700_spi_wait_completion() 373 a3700_spi->wait_mask = 0; in a3700_spi_wait_completion() 387 if (a3700_spi->wait_mask & ctrl_reg) in a3700_spi_wait_completion() 402 a3700_spi->wait_mask = bit_mask; in a3700_spi_transfer_wait()
|
D | spi-rspi.c | 446 static int rspi_wait_for_interrupt(struct rspi_data *rspi, u8 wait_mask, in rspi_wait_for_interrupt() argument 452 if (rspi->spsr & wait_mask) in rspi_wait_for_interrupt() 456 ret = wait_event_timeout(rspi->wait, rspi->spsr & wait_mask, HZ); in rspi_wait_for_interrupt() 457 if (ret == 0 && !(rspi->spsr & wait_mask)) in rspi_wait_for_interrupt()
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 114 static int wait_status(struct refill_engine *engine, u32 wait_mask) in wait_status() argument 130 if ((r & wait_mask) == wait_mask) in wait_status()
|