Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/nand/raw/
Dmarvell_nand.c640 struct marvell_nfc_op *nfc_op) in marvell_nfc_send_cmd() argument
647 (u32)readl_relaxed(nfc->regs + NDCR), nfc_op->ndcb[0], in marvell_nfc_send_cmd()
648 nfc_op->ndcb[1], nfc_op->ndcb[2], nfc_op->ndcb[3]); in marvell_nfc_send_cmd()
650 writel_relaxed(to_nand_sel(marvell_nand)->ndcb0_csel | nfc_op->ndcb[0], in marvell_nfc_send_cmd()
652 writel_relaxed(nfc_op->ndcb[1], nfc->regs + NDCB0); in marvell_nfc_send_cmd()
653 writel(nfc_op->ndcb[2], nfc->regs + NDCB0); in marvell_nfc_send_cmd()
659 if (nfc_op->ndcb[0] & NDCB0_LEN_OVRD || in marvell_nfc_send_cmd()
660 NDCB0_ADDR_GET_NUM_CYC(nfc_op->ndcb[0]) >= 6) { in marvell_nfc_send_cmd()
662 writel(nfc_op->ndcb[3], nfc->regs + NDCB0); in marvell_nfc_send_cmd()
1041 struct marvell_nfc_op nfc_op = { in marvell_nfc_hw_ecc_hmg_do_read_page() local
[all …]
Darasan-nand-controller.c272 static void anfc_trigger_op(struct arasan_nfc *nfc, struct anfc_op *nfc_op) in anfc_trigger_op() argument
274 writel_relaxed(nfc_op->pkt_reg, nfc->base + PKT_REG); in anfc_trigger_op()
275 writel_relaxed(nfc_op->addr1_reg, nfc->base + MEM_ADDR1_REG); in anfc_trigger_op()
276 writel_relaxed(nfc_op->addr2_reg, nfc->base + MEM_ADDR2_REG); in anfc_trigger_op()
277 writel_relaxed(nfc_op->cmd_reg, nfc->base + CMD_REG); in anfc_trigger_op()
278 writel_relaxed(nfc_op->prog_reg, nfc->base + PROG_REG); in anfc_trigger_op()
402 struct anfc_op nfc_op = { in anfc_read_page_hw_ecc() local
432 anfc_trigger_op(nfc, &nfc_op); in anfc_read_page_hw_ecc()
520 struct anfc_op nfc_op = { in anfc_write_page_hw_ecc() local
556 anfc_trigger_op(nfc, &nfc_op); in anfc_write_page_hw_ecc()
[all …]