Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dndfc.c23 #include <linux/mtd/ndfc.h>
45 struct ndfc_controller *ndfc = nand_get_controller_data(nchip); in ndfc_select_chip() local
47 ccr = in_be32(ndfc->ndfcbase + NDFC_CCR); in ndfc_select_chip()
50 ccr |= NDFC_CCR_BS(chip + ndfc->chip_select); in ndfc_select_chip()
53 out_be32(ndfc->ndfcbase + NDFC_CCR, ccr); in ndfc_select_chip()
58 struct ndfc_controller *ndfc = nand_get_controller_data(chip); in ndfc_hwcontrol() local
64 writel(cmd & 0xFF, ndfc->ndfcbase + NDFC_CMD); in ndfc_hwcontrol()
66 writel(cmd & 0xFF, ndfc->ndfcbase + NDFC_ALE); in ndfc_hwcontrol()
71 struct ndfc_controller *ndfc = nand_get_controller_data(chip); in ndfc_ready() local
73 return in_be32(ndfc in ndfc_ready()
79 struct ndfc_controller *ndfc = nand_get_controller_data(chip); ndfc_enable_hwecc() local
90 struct ndfc_controller *ndfc = nand_get_controller_data(chip); ndfc_calculate_ecc() local
113 struct ndfc_controller *ndfc = nand_get_controller_data(chip); ndfc_read_buf() local
122 struct ndfc_controller *ndfc = nand_get_controller_data(chip); ndfc_write_buf() local
132 ndfc_chip_init(struct ndfc_controller *ndfc, struct device_node *node) ndfc_chip_init() argument
187 struct ndfc_controller *ndfc; ndfc_probe() local
246 struct ndfc_controller *ndfc = dev_get_drvdata(&ofdev->dev); ndfc_remove() local
[all...]
H A DMakefile22 obj-$(CONFIG_MTD_NAND_NDFC) += ndfc.o
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dndfc.c22 #include <linux/mtd/ndfc.h>
45 struct ndfc_controller *ndfc = nand_get_controller_data(nchip); in ndfc_select_chip() local
47 ccr = in_be32(ndfc->ndfcbase + NDFC_CCR); in ndfc_select_chip()
50 ccr |= NDFC_CCR_BS(chip + ndfc->chip_select); in ndfc_select_chip()
53 out_be32(ndfc->ndfcbase + NDFC_CCR, ccr); in ndfc_select_chip()
58 struct ndfc_controller *ndfc = nand_get_controller_data(chip); in ndfc_hwcontrol() local
64 writel(cmd & 0xFF, ndfc->ndfcbase + NDFC_CMD); in ndfc_hwcontrol()
66 writel(cmd & 0xFF, ndfc->ndfcbase + NDFC_ALE); in ndfc_hwcontrol()
71 struct ndfc_controller *ndfc = nand_get_controller_data(chip); in ndfc_ready() local
73 return in_be32(ndfc in ndfc_ready()
79 struct ndfc_controller *ndfc = nand_get_controller_data(chip); ndfc_enable_hwecc() local
90 struct ndfc_controller *ndfc = nand_get_controller_data(chip); ndfc_calculate_ecc() local
113 struct ndfc_controller *ndfc = nand_get_controller_data(chip); ndfc_read_buf() local
122 struct ndfc_controller *ndfc = nand_get_controller_data(chip); ndfc_write_buf() local
132 ndfc_chip_init(struct ndfc_controller *ndfc, struct device_node *node) ndfc_chip_init() argument
187 struct ndfc_controller *ndfc; ndfc_probe() local
246 struct ndfc_controller *ndfc = dev_get_drvdata(&ofdev->dev); ndfc_remove() local
[all...]
H A DMakefile19 obj-$(CONFIG_MTD_NAND_NDFC) += ndfc.o

Completed in 2 milliseconds