Searched refs:HIFMC_DMA_MAX_LEN (Results 1 – 1 of 1) sorted by relevance
63 #define HIFMC_DMA_MAX_LEN (4096) macro64 #define HIFMC_DMA_MASK (HIFMC_DMA_MAX_LEN - 1)276 for (offset = 0; offset < len; offset += HIFMC_DMA_MAX_LEN) { in hisi_spi_nor_read()277 size_t trans = min_t(size_t, HIFMC_DMA_MAX_LEN, len - offset); in hisi_spi_nor_read()299 for (offset = 0; offset < len; offset += HIFMC_DMA_MAX_LEN) { in hisi_spi_nor_write()300 size_t trans = min_t(size_t, HIFMC_DMA_MAX_LEN, len - offset); in hisi_spi_nor_write()452 host->buffer = dmam_alloc_coherent(dev, HIFMC_DMA_MAX_LEN, in hisi_spi_nor_probe()