Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/spi-nor/
Dfsl-quadspi.c292 u32 nor_size; member
652 int nor_size = q->nor_size; in fsl_qspi_set_map_addr() local
655 qspi_writel(q, nor_size + q->memmap_phy, base + QUADSPI_SFA1AD); in fsl_qspi_set_map_addr()
656 qspi_writel(q, nor_size * 2 + q->memmap_phy, base + QUADSPI_SFA2AD); in fsl_qspi_set_map_addr()
657 qspi_writel(q, nor_size * 3 + q->memmap_phy, base + QUADSPI_SFB1AD); in fsl_qspi_set_map_addr()
658 qspi_writel(q, nor_size * 4 + q->memmap_phy, base + QUADSPI_SFB2AD); in fsl_qspi_set_map_addr()
826 q->chip_base_addr = q->nor_size * (nor - q->nor); in fsl_qspi_set_base_addr()
1110 if (q->nor_size == 0) { in fsl_qspi_probe()
1111 q->nor_size = mtd->size; in fsl_qspi_probe()