Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dlpc32xx_nand_slc.c507 int board_nand_init(struct nand_chip *lpc32xx_chip) in board_nand_init() argument
521 lpc32xx_chip->cmd_ctrl = lpc32xx_nand_cmd_ctrl; in board_nand_init()
522 lpc32xx_chip->dev_ready = lpc32xx_nand_dev_ready; in board_nand_init()
529 lpc32xx_chip->read_byte = lpc32xx_read_byte; in board_nand_init()
530 lpc32xx_chip->write_byte = lpc32xx_write_byte; in board_nand_init()
534 lpc32xx_chip->ecc.mode = NAND_ECC_HW; in board_nand_init()
536 lpc32xx_chip->read_buf = lpc32xx_dma_read_buf; in board_nand_init()
537 lpc32xx_chip->write_buf = lpc32xx_dma_write_buf; in board_nand_init()
539 lpc32xx_chip->ecc.calculate = lpc32xx_ecc_calculate; in board_nand_init()
540 lpc32xx_chip->ecc.correct = lpc32xx_correct_data; in board_nand_init()
[all …]
H A Dlpc32xx_nand_mlc.c539 static struct nand_chip lpc32xx_chip; variable
547 struct mtd_info *mtd = nand_to_mtd(&lpc32xx_chip); in board_nand_init()
552 lpc32xx_chip.IO_ADDR_R = &lpc32xx_nand_mlc_registers->buff; in board_nand_init()
553 lpc32xx_chip.IO_ADDR_W = &lpc32xx_nand_mlc_registers->buff; in board_nand_init()
554 lpc32xx_chip.cmd_ctrl = lpc32xx_cmd_ctrl; in board_nand_init()
556 lpc32xx_chip.dev_ready = lpc32xx_dev_ready; in board_nand_init()
559 lpc32xx_chip.options |= NAND_NO_SUBPAGE_WRITE; in board_nand_init()
563 lpc32xx_chip.ecc.mode = NAND_ECC_HW; in board_nand_init()
564 lpc32xx_chip.ecc.layout = &lpc32xx_largepage_ecclayout; in board_nand_init()
565 lpc32xx_chip.ecc.size = 512; in board_nand_init()
[all …]
/openbmc/linux/drivers/irqchip/
H A Dirq-lpc32xx.c132 static const struct irq_chip lpc32xx_chip = { variable
175 irq_set_chip_and_handler(virq, &lpc32xx_chip, handle_level_irq); in lpc32xx_irq_domain_map()