Searched refs:instrs (Results 1 - 25 of 36) sorted by relevance

12

/linux-master/arch/powerpc/lib/
H A Dfeature-fixups.c134 static int do_patch_fixups(long *start, long *end, unsigned int *instrs, int num) argument
142 if (!is_fixup_addr_valid(dest, sizeof(*instrs) * num))
148 patch_instruction(dest + j, ppc_inst(instrs[j]));
155 static int do_patch_entry_fixups(long *start, long *end, unsigned int *instrs, argument
163 if (!is_fixup_addr_valid(dest, sizeof(*instrs) * 3))
170 patch_instruction(dest, ppc_inst(instrs[0]));
171 patch_instruction(dest + 2, ppc_inst(instrs[2]));
174 patch_instruction(dest + 1, ppc_inst(instrs[1]));
175 patch_instruction(dest + 2, ppc_inst(instrs[2]));
176 patch_instruction(dest, ppc_inst(instrs[
184 unsigned int instrs[3]; local
221 unsigned int instrs[6]; local
313 unsigned int instrs[4]; local
354 unsigned int instrs[3]; local
438 unsigned int instrs[3]; local
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dnand_base.c1142 struct nand_op_instr instrs[] = { local
1149 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1157 instrs[0].ctx.cmd.opcode = NAND_CMD_READOOB;
1160 instrs[0].ctx.cmd.opcode = NAND_CMD_READ1;
1171 instrs[1].ctx.addr.naddrs++;
1184 struct nand_op_instr instrs[] = { local
1192 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1208 instrs[1].ctx.addr.naddrs++;
1397 struct nand_op_instr instrs[] = { local
1405 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
1454 struct nand_op_instr instrs[] = { local
1530 struct nand_op_instr instrs[] = { local
1644 struct nand_op_instr instrs[] = { local
1764 struct nand_op_instr instrs[] = { local
1818 struct nand_op_instr instrs[] = { local
1878 struct nand_op_instr instrs[] = { local
1924 struct nand_op_instr instrs[] = { local
1960 struct nand_op_instr instrs[] = { local
2020 struct nand_op_instr instrs[] = { local
2070 struct nand_op_instr instrs[] = { local
2108 struct nand_op_instr instrs[] = { local
2141 struct nand_op_instr instrs[] = { local
2182 struct nand_op_instr instrs[] = { local
2263 struct nand_op_instr instrs[] = { local
2297 const struct nand_op_instr *instrs; member in struct:nand_op_parser_ctx
[all...]
H A Dfsl_upm.c148 ret = func_exec_instr(chip, &op->instrs[i]);
152 if (op->instrs[i].delay_ns)
153 ndelay(op->instrs[i].delay_ns);
H A Dnand_hynix.c74 struct nand_op_instr instrs[] = { local
77 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
92 struct nand_op_instr instrs[] = { local
96 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
H A Dnand_toshiba.c37 struct nand_op_instr instrs[] = { local
42 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
H A Darasan-nand-controller.c615 instr = &subop->instrs[op_id];
768 if (subop->instrs[0].ctx.cmd.opcode == NAND_CMD_RNDOUT &&
769 subop->instrs[2].ctx.cmd.opcode == NAND_CMD_RNDOUTSTART)
820 if (subop->instrs[0].ctx.cmd.opcode != NAND_CMD_STATUS)
828 memcpy(subop->instrs[1].ctx.data.buf.in, &tmp, 1);
917 instr = &op->instrs[op_id];
950 op->instrs[0].type == NAND_OP_CMD_INSTR &&
951 op->instrs[0].ctx.cmd.opcode != NAND_CMD_STATUS &&
952 op->instrs[1].type == NAND_OP_DATA_IN_INSTR)
H A Dgpio.c151 ret = gpio_nand_exec_instr(chip, &op->instrs[i]);
155 if (op->instrs[i].delay_ns)
156 ndelay(op->instrs[i].delay_ns);
H A Dnand_macronix.c264 struct nand_op_instr instrs[] = { local
268 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs);
H A Dams-delta.c151 for (instr = op->instrs; instr < op->instrs + op->ninstrs; instr++) {
H A Dcadence-nand-controller.c2053 instr = &subop->instrs[op_id];
2087 instr = &subop->instrs[op_id];
2121 if (subop->instrs[0].ctx.cmd.opcode == NAND_CMD_ERASE1) {
2128 instr = &subop->instrs[1];
2147 .instrs = &subop->instrs[op_id],
2168 instr = &subop->instrs[op_id];
2234 const struct nand_op_instr *instr = &subop->instrs[op_id];
H A Dcs553x_nand.c206 ret = cs553x_exec_instr(cs553x, &op->instrs[i]);
H A Dau1550nd.c227 ret = au1550nd_exec_instr(this, &op->instrs[i]);
H A Ddiskonchip.c348 struct nand_op_instr instrs[] = { local
354 struct nand_operation op = NAND_OPERATION(cs, instrs);
583 doc200x_exec_instr(this, &op->instrs[i]);
655 doc2001plus_exec_instr(this, &op->instrs[i]);
H A Dmxic_nand.c402 instr = &op->instrs[op_id];
H A Ddavinci_nand.c695 ret = davinci_nand_exec_instr(info, &op->instrs[i]);
H A Dqcom_nandc.c2604 instr = &subop->instrs[op_id];
2802 int instrs = 1; local
2817 instrs = 3;
2832 write_reg_dma(nandc, NAND_FLASH_CMD, instrs, NAND_BAM_NEXT_SGL);
2981 instr = &op->instrs[op_id];
H A Dmarvell_nand.c1727 instr = &subop->instrs[op_id];
1909 switch (subop->instrs[0].type) {
1956 if (subop->instrs[0].type == NAND_OP_DATA_OUT_INSTR) {
H A Dmeson_nand.c998 instr = &op->instrs[op_id];
1035 instr = &op->instrs[op_id];
H A Dfsmc_nand.c645 instr = &op->instrs[op_id];
H A Dvf610_nfc.c355 return &subop->instrs[*op_id];
H A Dintel-nand-controller.c526 instr = &op->instrs[op_id];
/linux-master/drivers/mtd/nand/raw/ingenic/
H A Dingenic_nand_drv.c327 ret = ingenic_nand_exec_instr(chip, cs, &op->instrs[i]);
331 if (op->instrs[i].delay_ns)
332 ndelay(op->instrs[i].delay_ns);
/linux-master/include/linux/mtd/
H A Drawnand.h847 * @instrs: array of instructions
848 * @ninstrs: length of the @instrs array
863 const struct nand_op_instr *instrs; member in struct:nand_subop
1008 * @instrs: array of instructions to execute
1009 * @ninstrs: length of the @instrs array
1016 const struct nand_op_instr *instrs; member in struct:nand_operation
1023 .instrs = _instrs, \
1031 .instrs = _instrs, \
/linux-master/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c2411 const struct nand_op_instr *instr = &op->instrs[i];
2423 ((i == (op->ninstrs - 2)) && (op->instrs[i + 1].type == NAND_OP_WAITRDY_INSTR));
2469 op->instrs[0].type == NAND_OP_CMD_INSTR &&
2470 op->instrs[0].ctx.cmd.opcode == NAND_CMD_STATUS &&
2471 op->instrs[1].type == NAND_OP_DATA_IN_INSTR)
2480 op->instrs[0].type == NAND_OP_CMD_INSTR &&
2481 op->instrs[0].ctx.cmd.opcode == NAND_CMD_RESET &&
2482 op->instrs[1].type == NAND_OP_WAITRDY_INSTR)
2502 status = op->instrs[1].ctx.data.buf.in;
/linux-master/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c623 ret = atmel_smc_nand_exec_instr(nand, &op->instrs[i]);
643 const struct nand_op_instr *instr = &subop->instrs[i];
663 const struct nand_op_instr *instr = subop->instrs;
681 const struct nand_op_instr *instr = subop->instrs;

Completed in 327 milliseconds

12