Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dmarvell_nand.c632 struct marvell_nfc_op *nfc_op) in marvell_nfc_send_cmd()
639 (u32)readl_relaxed(nfc->regs + NDCR), nfc_op->ndcb[0], in marvell_nfc_send_cmd()
640 nfc_op->ndcb[1], nfc_op->ndcb[2], nfc_op->ndcb[3]); in marvell_nfc_send_cmd()
642 writel_relaxed(to_nand_sel(marvell_nand)->ndcb0_csel | nfc_op->ndcb[0], in marvell_nfc_send_cmd()
644 writel_relaxed(nfc_op->ndcb[1], nfc->regs + NDCB0); in marvell_nfc_send_cmd()
645 writel(nfc_op->ndcb[2], nfc->regs + NDCB0); in marvell_nfc_send_cmd()
651 if (nfc_op->ndcb[0] & NDCB0_LEN_OVRD || in marvell_nfc_send_cmd()
652 NDCB0_ADDR_GET_NUM_CYC(nfc_op in marvell_nfc_send_cmd()
631 marvell_nfc_send_cmd(struct nand_chip *chip, struct marvell_nfc_op *nfc_op) marvell_nfc_send_cmd() argument
1027 struct marvell_nfc_op nfc_op = { marvell_nfc_hw_ecc_hmg_do_read_page() local
1141 struct marvell_nfc_op nfc_op = { marvell_nfc_hw_ecc_hmg_do_write_page() local
1298 struct marvell_nfc_op nfc_op = { marvell_nfc_hw_ecc_bch_read_chunk() local
1561 struct marvell_nfc_op nfc_op = { marvell_nfc_hw_ecc_bch_write_chunk() local
1695 marvell_nfc_parse_instructions(struct nand_chip *chip, const struct nand_subop *subop, struct marvell_nfc_op *nfc_op) marvell_nfc_parse_instructions() argument
1785 marvell_nfc_xfer_data_pio(struct nand_chip *chip, const struct nand_subop *subop, struct marvell_nfc_op *nfc_op) marvell_nfc_xfer_data_pio() argument
1819 struct marvell_nfc_op nfc_op; marvell_nfc_monolithic_access_exec() local
1883 struct marvell_nfc_op nfc_op; marvell_nfc_naked_access_exec() local
1955 struct marvell_nfc_op nfc_op; marvell_nfc_naked_waitrdy_exec() local
1969 struct marvell_nfc_op nfc_op; marvell_nfc_read_id_type_exec() local
2009 struct marvell_nfc_op nfc_op; marvell_nfc_read_status_exec() local
2049 struct marvell_nfc_op nfc_op; marvell_nfc_reset_cmd_type_exec() local
2078 struct marvell_nfc_op nfc_op; marvell_nfc_erase_cmd_type_exec() local
[all...]
H A Darasan-nand-controller.c243 static void anfc_trigger_op(struct arasan_nfc *nfc, struct anfc_op *nfc_op) in anfc_trigger_op() argument
245 writel_relaxed(nfc_op->pkt_reg, nfc->base + PKT_REG); in anfc_trigger_op()
246 writel_relaxed(nfc_op->addr1_reg, nfc->base + MEM_ADDR1_REG); in anfc_trigger_op()
247 writel_relaxed(nfc_op->addr2_reg, nfc->base + MEM_ADDR2_REG); in anfc_trigger_op()
248 writel_relaxed(nfc_op->cmd_reg, nfc->base + CMD_REG); in anfc_trigger_op()
249 writel_relaxed(nfc_op->prog_reg, nfc->base + PROG_REG); in anfc_trigger_op()
338 struct anfc_op nfc_op = { in anfc_read_page_hw_ecc() local
368 anfc_trigger_op(nfc, &nfc_op); in anfc_read_page_hw_ecc()
456 struct anfc_op nfc_op = { in anfc_write_page_hw_ecc() local
492 anfc_trigger_op(nfc, &nfc_op); in anfc_write_page_hw_ecc()
531 anfc_parse_instructions(struct nand_chip *chip, const struct nand_subop *subop, struct anfc_op *nfc_op) anfc_parse_instructions() argument
615 anfc_rw_pio_op(struct arasan_nfc *nfc, struct anfc_op *nfc_op) anfc_rw_pio_op() argument
663 struct anfc_op nfc_op = {}; anfc_misc_data_type_exec() local
711 struct anfc_op nfc_op = {}; anfc_misc_zerolen_type_exec() local
768 struct anfc_op nfc_op = {}; anfc_wait_type_exec() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dmarvell_nand.c640 struct marvell_nfc_op *nfc_op) in marvell_nfc_send_cmd()
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 in marvell_nfc_send_cmd()
639 marvell_nfc_send_cmd(struct nand_chip *chip, struct marvell_nfc_op *nfc_op) marvell_nfc_send_cmd() argument
1041 struct marvell_nfc_op nfc_op = { marvell_nfc_hw_ecc_hmg_do_read_page() local
1155 struct marvell_nfc_op nfc_op = { marvell_nfc_hw_ecc_hmg_do_write_page() local
1312 struct marvell_nfc_op nfc_op = { marvell_nfc_hw_ecc_bch_read_chunk() local
1575 struct marvell_nfc_op nfc_op = { marvell_nfc_hw_ecc_bch_write_chunk() local
1709 marvell_nfc_parse_instructions(struct nand_chip *chip, const struct nand_subop *subop, struct marvell_nfc_op *nfc_op) marvell_nfc_parse_instructions() argument
1799 marvell_nfc_xfer_data_pio(struct nand_chip *chip, const struct nand_subop *subop, struct marvell_nfc_op *nfc_op) marvell_nfc_xfer_data_pio() argument
1833 struct marvell_nfc_op nfc_op; marvell_nfc_monolithic_access_exec() local
1897 struct marvell_nfc_op nfc_op; marvell_nfc_naked_access_exec() local
1969 struct marvell_nfc_op nfc_op; marvell_nfc_naked_waitrdy_exec() local
1983 struct marvell_nfc_op nfc_op; marvell_nfc_read_id_type_exec() local
2023 struct marvell_nfc_op nfc_op; marvell_nfc_read_status_exec() local
2063 struct marvell_nfc_op nfc_op; marvell_nfc_reset_cmd_type_exec() local
2092 struct marvell_nfc_op nfc_op; marvell_nfc_erase_cmd_type_exec() local
[all...]
H A 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()
595 anfc_parse_instructions(struct nand_chip *chip, const struct nand_subop *subop, struct anfc_op *nfc_op) anfc_parse_instructions() argument
680 anfc_rw_pio_op(struct arasan_nfc *nfc, struct anfc_op *nfc_op) anfc_rw_pio_op() argument
728 struct anfc_op nfc_op = {}; anfc_misc_data_type_exec() local
792 struct anfc_op nfc_op = {}; anfc_misc_zerolen_type_exec() local
849 struct anfc_op nfc_op = {}; anfc_wait_type_exec() local
[all...]

Completed in 9 milliseconds