Lines Matching refs:status
165 * @state: Set of FLAGS to indicate status.
451 u32 status;
460 status = readl(regs + S3C64XX_SPI_STATUS);
461 } while (RX_FIFO_LVL(status, sdd) < max_fifo && --val);
464 return RX_FIFO_LVL(status, sdd);
472 u32 status;
494 status = readl(regs + S3C64XX_SPI_STATUS);
495 while ((TX_FIFO_LVL(status, sdd)
496 || !S3C64XX_SPI_ST_TX_DONE(status, sdd))
499 status = readl(regs + S3C64XX_SPI_STATUS);
504 /* If timed out while checking rx/tx status return error */
516 u32 status;
528 status = readl(regs + S3C64XX_SPI_STATUS);
529 } while (RX_FIFO_LVL(status, sdd) < xfer->len && --val);
681 int status;
696 status = s3c64xx_spi_config(sdd);
697 if (status)
698 return status;
725 status = s3c64xx_enable_datapath(sdd, xfer, use_dma);
729 if (status) {
730 dev_err(&spi->dev, "failed to enable data path for transfer: %d\n", status);
735 status = s3c64xx_wait_for_dma(sdd, xfer);
737 status = s3c64xx_wait_for_pio(sdd, xfer);
739 if (status) {
745 xfer->len, use_dma ? 1 : 0, status);
790 return status;