Searched refs:ndfcbase (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/mtd/nand/
H A Dndfc.c39 void __iomem *ndfcbase; member in struct:ndfc_controller
54 ccr = in_be32(ndfc->ndfcbase + NDFC_CCR); ndfc_select_chip()
60 out_be32(ndfc->ndfcbase + NDFC_CCR, ccr); ndfc_select_chip()
72 writel(cmd & 0xFF, ndfc->ndfcbase + NDFC_CMD); ndfc_hwcontrol()
74 writel(cmd & 0xFF, ndfc->ndfcbase + NDFC_ALE); ndfc_hwcontrol()
82 return in_be32(ndfc->ndfcbase + NDFC_STAT) & NDFC_STAT_IS_READY; ndfc_ready()
91 ccr = in_be32(ndfc->ndfcbase + NDFC_CCR); ndfc_enable_hwecc()
93 out_be32(ndfc->ndfcbase + NDFC_CCR, ccr); ndfc_enable_hwecc()
106 ecc = in_be32(ndfc->ndfcbase + NDFC_ECC); ndfc_calculate_ecc()
129 *p++ = in_be32(ndfc->ndfcbase + NDFC_DATA); ndfc_read_buf()
139 out_be32(ndfc->ndfcbase + NDFC_DATA, *p++); ndfc_write_buf()
153 chip->IO_ADDR_R = ndfc->ndfcbase + NDFC_DATA; ndfc_chip_init()
154 chip->IO_ADDR_W = ndfc->ndfcbase + NDFC_DATA; ndfc_chip_init()
228 ndfc->ndfcbase = of_iomap(ofdev->dev.of_node, 0); ndfc_probe()
229 if (!ndfc->ndfcbase) { ndfc_probe()
241 out_be32(ndfc->ndfcbase + NDFC_CCR, ccr); ndfc_probe()
247 out_be32(ndfc->ndfcbase + offset, be32_to_cpup(reg)); ndfc_probe()
252 iounmap(ndfc->ndfcbase); ndfc_probe()

Completed in 35 milliseconds