Home
last modified time | relevance | path

Searched refs:naddrs (Results 1 – 24 of 24) sorted by relevance

/drivers/mtd/nand/raw/atmel/
Dnand-controller.c116 #define ATMEL_NFC_ACYCLE(naddrs) ((naddrs) << 19) argument
186 u8 naddrs; member
433 if (nc->op.naddrs == ATMEL_NFC_MAX_ADDR_CYCLES) in atmel_nfc_exec_op()
437 ATMEL_NFC_ACYCLE(nc->op.naddrs); in atmel_nfc_exec_op()
586 for (i = 0; i < instr->ctx.addr.naddrs; i++) in atmel_smc_nand_exec_instr()
652 nc->op.addrs[nc->op.naddrs] = instr->ctx.addr.addrs[j]; in atmel_hsmc_exec_cmd_addr()
653 nc->op.naddrs++; in atmel_hsmc_exec_cmd_addr()
770 nc->op.addrs[nc->op.naddrs++] = column; in atmel_nfc_set_op_addr()
776 nc->op.addrs[nc->op.naddrs++] = column >> 8; in atmel_nfc_set_op_addr()
780 nc->op.addrs[nc->op.naddrs++] = page; in atmel_nfc_set_op_addr()
[all …]
/drivers/mtd/nand/raw/
Dtegra_nand.c359 unsigned int naddrs, i; in tegra_nand_cmd() local
381 naddrs = nand_subop_get_num_addr_cyc(subop, op_id); in tegra_nand_cmd()
384 cmd |= COMMAND_ALE | COMMAND_ALE_SIZE(naddrs); in tegra_nand_cmd()
385 for (i = 0; i < min_t(unsigned int, 4, naddrs); i++) in tegra_nand_cmd()
387 naddrs -= i; in tegra_nand_cmd()
388 for (i = 0; i < min_t(unsigned int, 4, naddrs); i++) in tegra_nand_cmd()
Darasan-nand-controller.c546 unsigned int offset, naddrs, pktsize; in anfc_parse_instructions() local
564 naddrs = nand_subop_get_num_addr_cyc(subop, op_id); in anfc_parse_instructions()
566 nfc_op->cmd_reg |= CMD_NADDRS(naddrs); in anfc_parse_instructions()
568 for (i = 0; i < min(ANFC_MAX_ADDR_CYC, naddrs); i++) { in anfc_parse_instructions()
840 if (instr->ctx.addr.naddrs > ANFC_MAX_ADDR_CYC) in anfc_check_op()
Dvf610_nfc.c384 int naddrs = nand_subop_get_num_addr_cyc(subop, op_id); in vf610_nfc_cmd() local
387 for (; i < naddrs; i++) { in vf610_nfc_cmd()
395 code |= COMMAND_NADDR_BYTES(naddrs); in vf610_nfc_cmd()
Dmxic_nand.c418 OP_ADDR_BYTES(instr->ctx.addr.naddrs), in mxic_nfc_exec_op()
422 instr->ctx.addr.naddrs); in mxic_nfc_exec_op()
Dnand_base.c1042 instrs[1].ctx.addr.naddrs++; in nand_sp_exec_read_page_op()
1079 instrs[1].ctx.addr.naddrs++; in nand_lp_exec_read_page_op()
1297 int naddrs = nand_fill_column_cycles(chip, addrs, offset_in_page); in nand_exec_prog_page_op() local
1301 if (naddrs < 0) in nand_exec_prog_page_op()
1302 return naddrs; in nand_exec_prog_page_op()
1304 addrs[naddrs++] = page; in nand_exec_prog_page_op()
1305 addrs[naddrs++] = page >> 8; in nand_exec_prog_page_op()
1307 addrs[naddrs++] = page >> 16; in nand_exec_prog_page_op()
1309 instrs[2].ctx.addr.naddrs = naddrs; in nand_exec_prog_page_op()
1686 instrs[1].ctx.addr.naddrs++; in nand_erase_op()
[all …]
Dcadence-nand-controller.c2036 unsigned int offset, naddrs; in cadence_nand_cmd_address() local
2051 naddrs = nand_subop_get_num_addr_cyc(subop, op_id); in cadence_nand_cmd_address()
2054 for (i = 0; i < naddrs; i++) in cadence_nand_cmd_address()
2060 naddrs - 1); in cadence_nand_cmd_address()
2079 unsigned int offset, naddrs; in cadence_nand_cmd_erase() local
2085 naddrs = nand_subop_get_num_addr_cyc(subop, 1); in cadence_nand_cmd_erase()
2088 for (i = 0; i < naddrs; i++) in cadence_nand_cmd_erase()
Dmarvell_nand.c1709 unsigned int offset, naddrs; in marvell_nfc_parse_instructions() local
1731 naddrs = nand_subop_get_num_addr_cyc(subop, op_id); in marvell_nfc_parse_instructions()
1734 nfc_op->ndcb[0] |= NDCB0_ADDR_CYC(naddrs); in marvell_nfc_parse_instructions()
1736 for (i = 0; i < min_t(unsigned int, 4, naddrs); i++) in marvell_nfc_parse_instructions()
1739 if (naddrs >= 5) in marvell_nfc_parse_instructions()
1741 if (naddrs >= 6) in marvell_nfc_parse_instructions()
1743 if (naddrs == 7) in marvell_nfc_parse_instructions()
Dfsl_upm.c98 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in func_exec_instr()
Dau1550nd.c168 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in au1550nd_exec_instr()
Dcs553x_nand.c169 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in cs553x_exec_instr()
Dgpio.c95 for (i = 0; i < instr->ctx.addr.naddrs; i++) in gpio_nand_exec_instr()
Dams-delta.c162 instr->ctx.addr.naddrs); in gpio_nand_exec_op()
Ddiskonchip.c524 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in doc200x_exec_instr()
610 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in doc2001plus_exec_instr()
Ddavinci_nand.c713 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in davinci_nand_exec_instr()
Dtango_nand.c150 for (i = 0; i < instr->ctx.addr.naddrs; i++) in tango_exec_instr()
Dfsmc_nand.c644 for (i = 0; i < instr->ctx.addr.naddrs; i++) in fsmc_exec_op()
Ddenali.c1122 instr->ctx.addr.naddrs); in denali_exec_instr()
Dmeson_nand.c930 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in meson_nfc_exec_op()
Dmtk_nand.c478 for (i = 0; i < instr->ctx.addr.naddrs; i++) in mtk_nfc_exec_instr()
Dstm32_fmc2_nand.c1318 for (i = 0; i < instr->ctx.addr.naddrs; i++) in stm32_fmc2_nfc_exec_op()
Dnandsim.c2192 for (i = 0; i < instr->ctx.addr.naddrs; i++) in ns_exec_op()
/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c268 for (i = 0; i < instr->ctx.addr.naddrs; i++) in ingenic_nand_exec_instr()
/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c2329 instr->ctx.addr.naddrs); in gpmi_nfc_exec_op()