Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/arch/powerpc/lib/
H A Dfeature-fixups.c124 unsigned int instrs[3], *dest; in do_stf_entry_barrier_fixups() local
131 instrs[0] = 0x60000000; /* nop */ in do_stf_entry_barrier_fixups()
132 instrs[1] = 0x60000000; /* nop */ in do_stf_entry_barrier_fixups()
133 instrs[2] = 0x60000000; /* nop */ in do_stf_entry_barrier_fixups()
137 instrs[i++] = 0x7d4802a6; /* mflr r10 */ in do_stf_entry_barrier_fixups()
138 instrs[i++] = 0x60000000; /* branch patched below */ in do_stf_entry_barrier_fixups()
139 instrs[i++] = 0x7d4803a6; /* mtlr r10 */ in do_stf_entry_barrier_fixups()
141 instrs[i++] = 0x7e0006ac; /* eieio + bit 6 hint */ in do_stf_entry_barrier_fixups()
143 instrs[i++] = 0x7c0004ac; /* hwsync */ in do_stf_entry_barrier_fixups()
144 instrs[ in do_stf_entry_barrier_fixups()
176 unsigned int instrs[6], *dest; do_stf_exit_barrier_fixups() local
254 unsigned int instrs[4], *dest; do_uaccess_flush_fixups() local
305 unsigned int instrs[3], *dest; __do_entry_flush_fixups() local
390 unsigned int instrs[3], *dest; do_rfi_flush_fixups() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/lib/
H A Dfeature-fixups.c134 static int do_patch_fixups(long *start, long *end, unsigned int *instrs, int num) in do_patch_fixups() argument
142 if (!is_fixup_addr_valid(dest, sizeof(*instrs) * num)) in do_patch_fixups()
148 patch_instruction(dest + j, ppc_inst(instrs[j])); in do_patch_fixups()
155 static int do_patch_entry_fixups(long *start, long *end, unsigned int *instrs, in do_patch_entry_fixups() argument
163 if (!is_fixup_addr_valid(dest, sizeof(*instrs) * 3)) in do_patch_entry_fixups()
170 patch_instruction(dest, ppc_inst(instrs[0])); in do_patch_entry_fixups()
171 patch_instruction(dest + 2, ppc_inst(instrs[2])); in do_patch_entry_fixups()
174 patch_instruction(dest + 1, ppc_inst(instrs[1])); in do_patch_entry_fixups()
175 patch_instruction(dest + 2, ppc_inst(instrs[2])); in do_patch_entry_fixups()
176 patch_instruction(dest, ppc_inst(instrs[ in do_patch_entry_fixups()
184 unsigned int instrs[3]; do_stf_entry_barrier_fixups() local
221 unsigned int instrs[6]; do_stf_exit_barrier_fixups() local
313 unsigned int instrs[4]; do_uaccess_flush_fixups() local
354 unsigned int instrs[3]; __do_entry_flush_fixups() local
438 unsigned int instrs[3]; __do_rfi_flush_fixups() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dnand_base.c1139 struct nand_op_instr instrs[] = { in nand_sp_exec_read_page_op() local
1146 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_sp_exec_read_page_op()
1154 instrs[0].ctx.cmd.opcode = NAND_CMD_READOOB; in nand_sp_exec_read_page_op()
1157 instrs[0].ctx.cmd.opcode = NAND_CMD_READ1; in nand_sp_exec_read_page_op()
1168 instrs[1].ctx.addr.naddrs++; in nand_sp_exec_read_page_op()
1181 struct nand_op_instr instrs[] = { in nand_lp_exec_read_page_op() local
1189 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_lp_exec_read_page_op()
1205 instrs[1].ctx.addr.naddrs++; in nand_lp_exec_read_page_op()
1380 struct nand_op_instr instrs[] = { in nand_read_param_page_op() local
1388 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_read_param_page_op()
1437 struct nand_op_instr instrs[] = { nand_change_read_column_op() local
1513 struct nand_op_instr instrs[] = { nand_exec_prog_page_op() local
1626 struct nand_op_instr instrs[] = { nand_prog_page_end_op() local
1746 struct nand_op_instr instrs[] = { nand_change_write_column_op() local
1800 struct nand_op_instr instrs[] = { nand_readid_op() local
1860 struct nand_op_instr instrs[] = { nand_status_op() local
1906 struct nand_op_instr instrs[] = { nand_exit_status_op() local
1942 struct nand_op_instr instrs[] = { nand_erase_op() local
2001 struct nand_op_instr instrs[] = { nand_set_features_op() local
2051 struct nand_op_instr instrs[] = { nand_get_features_op() local
2089 struct nand_op_instr instrs[] = { nand_wait_rdy_op() local
2122 struct nand_op_instr instrs[] = { nand_reset_op() local
2163 struct nand_op_instr instrs[] = { nand_read_data_op() local
2244 struct nand_op_instr instrs[] = { nand_write_data_op() local
2278 const struct nand_op_instr *instrs; global() member
[all...]
H A Dfsl_upm.c148 ret = func_exec_instr(chip, &op->instrs[i]); in fun_exec_op()
152 if (op->instrs[i].delay_ns) in fun_exec_op()
153 ndelay(op->instrs[i].delay_ns); in fun_exec_op()
H A Darasan-nand-controller.c615 instr = &subop->instrs[op_id]; in anfc_parse_instructions()
768 if (subop->instrs[0].ctx.cmd.opcode == NAND_CMD_RNDOUT && in anfc_data_read_type_exec()
769 subop->instrs[2].ctx.cmd.opcode == NAND_CMD_RNDOUTSTART) in anfc_data_read_type_exec()
820 if (subop->instrs[0].ctx.cmd.opcode != NAND_CMD_STATUS) in anfc_status_type_exec()
828 memcpy(subop->instrs[1].ctx.data.buf.in, &tmp, 1); in anfc_status_type_exec()
917 instr = &op->instrs[op_id]; in anfc_check_op()
950 op->instrs[0].type == NAND_OP_CMD_INSTR && in anfc_check_op()
951 op->instrs[0].ctx.cmd.opcode != NAND_CMD_STATUS && in anfc_check_op()
952 op->instrs[1].type == NAND_OP_DATA_IN_INSTR) in anfc_check_op()
H A Dnand_hynix.c75 struct nand_op_instr instrs[] = { in hynix_nand_cmd_op() local
78 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in hynix_nand_cmd_op()
93 struct nand_op_instr instrs[] = { in hynix_nand_reg_write_op() local
97 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in hynix_nand_reg_write_op()
H A Dnand_toshiba.c37 struct nand_op_instr instrs[] = { in toshiba_nand_benand_read_eccstatus_op() local
42 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in toshiba_nand_benand_read_eccstatus_op()
H A Dgpio.c151 ret = gpio_nand_exec_instr(chip, &op->instrs[i]); in gpio_nand_exec_op()
155 if (op->instrs[i].delay_ns) in gpio_nand_exec_op()
156 ndelay(op->instrs[i].delay_ns); in gpio_nand_exec_op()
H A Dnand_macronix.c264 struct nand_op_instr instrs[] = { in nand_power_down_op() local
268 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_power_down_op()
H A Dams-delta.c151 for (instr = op->instrs; instr < op->instrs + op->ninstrs; instr++) { in gpio_nand_exec_op()
H A Dcadence-nand-controller.c2051 instr = &subop->instrs[op_id]; in cadence_nand_cmd_opcode()
2085 instr = &subop->instrs[op_id]; in cadence_nand_cmd_address()
2119 if (subop->instrs[0].ctx.cmd.opcode == NAND_CMD_ERASE1) { in cadence_nand_cmd_erase()
2126 instr = &subop->instrs[1]; in cadence_nand_cmd_erase()
2145 .instrs = &subop->instrs[op_id], in cadence_nand_cmd_erase()
2166 instr = &subop->instrs[op_id]; in cadence_nand_cmd_data()
2232 const struct nand_op_instr *instr = &subop->instrs[op_id]; in cadence_nand_cmd_waitrdy()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dnand_base.c1013 struct nand_op_instr instrs[] = { in nand_sp_exec_read_page_op() local
1020 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_sp_exec_read_page_op()
1028 instrs[0].ctx.cmd.opcode = NAND_CMD_READOOB; in nand_sp_exec_read_page_op()
1031 instrs[0].ctx.cmd.opcode = NAND_CMD_READ1; in nand_sp_exec_read_page_op()
1042 instrs[1].ctx.addr.naddrs++; in nand_sp_exec_read_page_op()
1055 struct nand_op_instr instrs[] = { in nand_lp_exec_read_page_op() local
1063 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_lp_exec_read_page_op()
1079 instrs[1].ctx.addr.naddrs++; in nand_lp_exec_read_page_op()
1151 struct nand_op_instr instrs[] = { in nand_read_param_page_op() local
1158 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_read_param_page_op()
1207 struct nand_op_instr instrs[] = { nand_change_read_column_op() local
1283 struct nand_op_instr instrs[] = { nand_exec_prog_page_op() local
1405 struct nand_op_instr instrs[] = { nand_prog_page_end_op() local
1513 struct nand_op_instr instrs[] = { nand_change_write_column_op() local
1567 struct nand_op_instr instrs[] = { nand_readid_op() local
1606 struct nand_op_instr instrs[] = { nand_status_op() local
1641 struct nand_op_instr instrs[] = { nand_exit_status_op() local
1676 struct nand_op_instr instrs[] = { nand_erase_op() local
1734 struct nand_op_instr instrs[] = { nand_set_features_op() local
1781 struct nand_op_instr instrs[] = { nand_get_features_op() local
1805 struct nand_op_instr instrs[] = { nand_wait_rdy_op() local
1838 struct nand_op_instr instrs[] = { nand_reset_op() local
1875 struct nand_op_instr instrs[] = { nand_read_data_op() local
1925 struct nand_op_instr instrs[] = { nand_write_data_op() local
1959 const struct nand_op_instr *instrs; global() member
[all...]
H A Dfsl_upm.c148 ret = func_exec_instr(chip, &op->instrs[i]); in fun_exec_op()
152 if (op->instrs[i].delay_ns) in fun_exec_op()
153 ndelay(op->instrs[i].delay_ns); in fun_exec_op()
H A Dnand_hynix.c75 struct nand_op_instr instrs[] = { in hynix_nand_cmd_op() local
78 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in hynix_nand_cmd_op()
93 struct nand_op_instr instrs[] = { in hynix_nand_reg_write_op() local
97 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in hynix_nand_reg_write_op()
H A Dnand_macronix.c254 struct nand_op_instr instrs[] = { in nand_power_down_op() local
258 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in nand_power_down_op()
H A Dnand_toshiba.c37 struct nand_op_instr instrs[] = { in toshiba_nand_benand_read_eccstatus_op() local
42 struct nand_operation op = NAND_OPERATION(chip->cur_cs, instrs); in toshiba_nand_benand_read_eccstatus_op()
H A Darasan-nand-controller.c550 instr = &subop->instrs[op_id]; in anfc_parse_instructions()
739 if (subop->instrs[0].ctx.cmd.opcode != NAND_CMD_STATUS) in anfc_status_type_exec()
747 memcpy(subop->instrs[1].ctx.data.buf.in, &tmp, 1); in anfc_status_type_exec()
836 instr = &op->instrs[op_id]; in anfc_check_op()
869 op->instrs[0].type == NAND_OP_CMD_INSTR && in anfc_check_op()
870 op->instrs[0].ctx.cmd.opcode != NAND_CMD_STATUS && in anfc_check_op()
871 op->instrs[1].type == NAND_OP_DATA_IN_INSTR) in anfc_check_op()
H A Dgpio.c151 ret = gpio_nand_exec_instr(chip, &op->instrs[i]); in gpio_nand_exec_op()
155 if (op->instrs[i].delay_ns) in gpio_nand_exec_op()
156 ndelay(op->instrs[i].delay_ns); in gpio_nand_exec_op()
H A Dams-delta.c151 for (instr = op->instrs; instr < op->instrs + op->ninstrs; instr++) { in gpio_nand_exec_op()
H A Dcadence-nand-controller.c2008 instr = &subop->instrs[op_id]; in cadence_nand_cmd_opcode()
2042 instr = &subop->instrs[op_id]; in cadence_nand_cmd_address()
2076 if (subop->instrs[0].ctx.cmd.opcode == NAND_CMD_ERASE1) { in cadence_nand_cmd_erase()
2083 instr = &subop->instrs[1]; in cadence_nand_cmd_erase()
2102 .instrs = &subop->instrs[op_id], in cadence_nand_cmd_erase()
2123 instr = &subop->instrs[op_id]; in cadence_nand_cmd_data()
2189 const struct nand_op_instr *instr = &subop->instrs[op_id]; in cadence_nand_cmd_waitrdy()
H A Dau1550nd.c226 ret = au1550nd_exec_instr(this, &op->instrs[i]); in au1550nd_exec_op()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ingenic/
H A Dingenic_nand_drv.c324 ret = ingenic_nand_exec_instr(chip, cs, &op->instrs[i]); in ingenic_nand_exec_op()
328 if (op->instrs[i].delay_ns) in ingenic_nand_exec_op()
329 ndelay(op->instrs[i].delay_ns); in ingenic_nand_exec_op()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ingenic/
H A Dingenic_nand_drv.c327 ret = ingenic_nand_exec_instr(chip, cs, &op->instrs[i]); in ingenic_nand_exec_op()
331 if (op->instrs[i].delay_ns) in ingenic_nand_exec_op()
332 ndelay(op->instrs[i].delay_ns); in ingenic_nand_exec_op()
/kernel/linux/linux-5.10/include/linux/mtd/
H A Drawnand.h817 * @instrs: array of instructions
818 * @ninstrs: length of the @instrs array
833 const struct nand_op_instr *instrs; member
976 * @instrs: array of instructions to execute
977 * @ninstrs: length of the @instrs array
983 const struct nand_op_instr *instrs; member
990 .instrs = _instrs, \
/kernel/linux/linux-6.6/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
1006 * @instrs: array of instructions to execute
1007 * @ninstrs: length of the @instrs array
1013 const struct nand_op_instr *instrs; member
1020 .instrs = _instrs, \

Completed in 41 milliseconds

123