Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/linux/mtd/
Drawnand.h676 unsigned int naddrs; member
783 .naddrs = ncycles, \
1035 instr->ctx.addr.naddrs, in nand_op_trace()
1036 instr->ctx.addr.naddrs < 64 ? in nand_op_trace()
1037 instr->ctx.addr.naddrs : 64, in nand_op_trace()
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/mtd/nand/raw/
Dtegra_nand.c362 unsigned int naddrs, i; in tegra_nand_cmd() local
384 naddrs = nand_subop_get_num_addr_cyc(subop, op_id); in tegra_nand_cmd()
387 cmd |= COMMAND_ALE | COMMAND_ALE_SIZE(naddrs); in tegra_nand_cmd()
388 for (i = 0; i < min_t(unsigned int, 4, naddrs); i++) in tegra_nand_cmd()
390 naddrs -= i; in tegra_nand_cmd()
391 for (i = 0; i < min_t(unsigned int, 4, naddrs); i++) in tegra_nand_cmd()
Drenesas-nand-controller.c693 unsigned int op_id, col_addrs, row_addrs, naddrs, remainder, words, i; in rnandc_exec_op() local
742 naddrs = instr->ctx.addr.naddrs; in rnandc_exec_op()
743 if (naddrs > 5) in rnandc_exec_op()
746 col_addrs = min(2U, naddrs); in rnandc_exec_op()
747 row_addrs = naddrs > 2 ? naddrs - col_addrs : 0; in rnandc_exec_op()
Dpl35x-nand-controller.c660 unsigned int rdy_tim_ms = 0, naddrs = 0, cmds = 0, last_flags = 0; in pl35x_nand_exec_op() local
685 naddrs = nand_subop_get_num_addr_cyc(subop, op_id); in pl35x_nand_exec_op()
687 cmd_addr |= PL35X_SMC_CMD_PHASE_NADDRS(naddrs); in pl35x_nand_exec_op()
689 for (i = offset; i < naddrs; i++) { in pl35x_nand_exec_op()
716 if (naddrs > 4) in pl35x_nand_exec_op()
Darasan-nand-controller.c599 unsigned int offset, naddrs, pktsize; in anfc_parse_instructions() local
617 naddrs = nand_subop_get_num_addr_cyc(subop, op_id); in anfc_parse_instructions()
619 nfc_op->cmd_reg |= CMD_NADDRS(naddrs); in anfc_parse_instructions()
621 for (i = 0; i < min(ANFC_MAX_ADDR_CYC, naddrs); i++) { in anfc_parse_instructions()
909 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.c1168 instrs[1].ctx.addr.naddrs++; in nand_sp_exec_read_page_op()
1205 instrs[1].ctx.addr.naddrs++; in nand_lp_exec_read_page_op()
1425 int naddrs = nand_fill_column_cycles(chip, addrs, offset_in_page); in nand_exec_prog_page_op() local
1427 if (naddrs < 0) in nand_exec_prog_page_op()
1428 return naddrs; in nand_exec_prog_page_op()
1430 addrs[naddrs++] = page; in nand_exec_prog_page_op()
1431 addrs[naddrs++] = page >> 8; in nand_exec_prog_page_op()
1433 addrs[naddrs++] = page >> 16; in nand_exec_prog_page_op()
1435 instrs[2].ctx.addr.naddrs = naddrs; in nand_exec_prog_page_op()
1849 instrs[1].ctx.addr.naddrs++; in nand_erase_op()
[all …]
Dcadence-nand-controller.c2033 unsigned int offset, naddrs; in cadence_nand_cmd_address() local
2048 naddrs = nand_subop_get_num_addr_cyc(subop, op_id); in cadence_nand_cmd_address()
2051 for (i = 0; i < naddrs; i++) in cadence_nand_cmd_address()
2057 naddrs - 1); in cadence_nand_cmd_address()
2076 unsigned int offset, naddrs; in cadence_nand_cmd_erase() local
2082 naddrs = nand_subop_get_num_addr_cyc(subop, 1); in cadence_nand_cmd_erase()
2085 for (i = 0; i < naddrs; i++) in cadence_nand_cmd_erase()
Dmarvell_nand.c1694 unsigned int offset, naddrs; in marvell_nfc_parse_instructions() local
1716 naddrs = nand_subop_get_num_addr_cyc(subop, op_id); in marvell_nfc_parse_instructions()
1719 nfc_op->ndcb[0] |= NDCB0_ADDR_CYC(naddrs); in marvell_nfc_parse_instructions()
1721 for (i = 0; i < min_t(unsigned int, 4, naddrs); i++) in marvell_nfc_parse_instructions()
1724 if (naddrs >= 5) in marvell_nfc_parse_instructions()
1726 if (naddrs >= 6) in marvell_nfc_parse_instructions()
1728 if (naddrs == 7) in marvell_nfc_parse_instructions()
Dfsl_upm.c97 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in func_exec_instr()
Dau1550nd.c169 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in au1550nd_exec_instr()
Dcs553x_nand.c163 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()
Ddavinci_nand.c646 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in davinci_nand_exec_instr()
Dintel-nand-controller.c535 for (i = 0; i < instr->ctx.addr.naddrs; i++) in ebu_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()
Dfsmc_nand.c655 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.c924 for (i = 0; i < instr->ctx.addr.naddrs; i++) { in meson_nfc_exec_op()
/linux-6.1.9/fs/btrfs/
Dblock-group.h327 int *naddrs, int *stripe_len);
Dblock-group.c1760 int *naddrs, int *stripe_len) in btrfs_rmap_block() argument
1832 *naddrs = nr; in btrfs_rmap_block()
/linux-6.1.9/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c272 for (i = 0; i < instr->ctx.addr.naddrs; i++) in ingenic_nand_exec_instr()

12