Lines Matching refs:is_read
539 static int rcar_mmc_dma_rx_tx_data(const struct device *dev, struct sdhc_data *data, bool is_read) in rcar_mmc_dma_rx_tx_data() argument
556 if (is_read) { in rcar_mmc_dma_rx_tx_data()
577 (uint32_t)(is_read ? (~RCAR_MMC_DMA_INFO2_ERR_RD) : (~RCAR_MMC_DMA_INFO2_ERR_WR))); in rcar_mmc_dma_rx_tx_data()
602 if (is_read) { in rcar_mmc_dma_rx_tx_data()
690 bool is_read) in rcar_mmc_sd_buf_rx_tx_data() argument
695 uint32_t info2_poll_flag = is_read ? RCAR_MMC_INFO2_BRE : RCAR_MMC_INFO2_BWE; in rcar_mmc_sd_buf_rx_tx_data()
791 if (is_read) { in rcar_mmc_sd_buf_rx_tx_data()
827 static int rcar_mmc_rx_tx_data(const struct device *dev, struct sdhc_data *data, bool is_read) in rcar_mmc_rx_tx_data() argument
834 ret = rcar_mmc_dma_rx_tx_data(dev, data, is_read); in rcar_mmc_rx_tx_data()
838 ret = rcar_mmc_sd_buf_rx_tx_data(dev, data, is_read); in rcar_mmc_rx_tx_data()
881 bool is_read = true; in rcar_mmc_request() local
918 is_read = (reg & RCAR_MMC_CMD_RD) ? true : false; in rcar_mmc_request()
953 ret = rcar_mmc_rx_tx_data(dev, data, is_read); in rcar_mmc_request()