Searched refs:cdns_ctrl (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | cadence-nand-controller.c | 550 cadence_nand_dma_buf_ok(struct cdns_nand_ctrl *cdns_ctrl, const void *buf, in cadence_nand_dma_buf_ok() argument 553 u8 data_dma_width = cdns_ctrl->caps2.data_dma_width; in cadence_nand_dma_buf_ok() 560 static int cadence_nand_wait_for_value(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_wait_for_value() argument 567 ret = readl_relaxed_poll_timeout(cdns_ctrl->reg + reg_offset, in cadence_nand_wait_for_value() 572 dev_err(cdns_ctrl->dev, in cadence_nand_wait_for_value() 580 static int cadence_nand_set_ecc_enable(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_set_ecc_enable() argument 585 if (cadence_nand_wait_for_value(cdns_ctrl, CTRL_STATUS, in cadence_nand_set_ecc_enable() 590 reg = readl_relaxed(cdns_ctrl->reg + ECC_CONFIG_0); in cadence_nand_set_ecc_enable() 597 writel_relaxed(reg, cdns_ctrl->reg + ECC_CONFIG_0); in cadence_nand_set_ecc_enable() 602 static void cadence_nand_set_ecc_strength(struct cdns_nand_ctrl *cdns_ctrl, in cadence_nand_set_ecc_strength() argument [all …]
|