Searched refs:mem_off (Results 1 – 3 of 3) sorted by relevance
/arch/mips/generic/ |
D | yamon-dt.c | 81 int i, err, mem_off; in yamon_dt_append_memory() local 122 mem_off = fdt_path_offset(fdt, "/memory"); in yamon_dt_append_memory() 123 if (mem_off == -FDT_ERR_NOTFOUND) in yamon_dt_append_memory() 124 mem_off = fdt_add_subnode(fdt, 0, "memory"); in yamon_dt_append_memory() 125 if (mem_off < 0) { in yamon_dt_append_memory() 126 pr_err("Unable to find or add memory DT node: %d\n", mem_off); in yamon_dt_append_memory() 127 return mem_off; in yamon_dt_append_memory() 130 err = fdt_setprop_string(fdt, mem_off, "device_type", "memory"); in yamon_dt_append_memory() 138 err = fdt_setprop(fdt, mem_off, "reg", in yamon_dt_append_memory() 147 err = fdt_setprop(fdt, mem_off, "linux,usable-memory", in yamon_dt_append_memory()
|
/arch/mips/mti-malta/ |
D | malta-dtshim.c | 136 int i, err, mem_off; in append_memory() local 144 mem_off = fdt_path_offset(fdt, "/memory"); in append_memory() 145 if (mem_off >= 0) in append_memory() 206 mem_off = fdt_add_subnode(fdt, root_off, "memory"); in append_memory() 207 if (mem_off < 0) in append_memory() 208 panic("Unable to add memory node to DT: %d", mem_off); in append_memory() 210 err = fdt_setprop_string(fdt, mem_off, "device_type", "memory"); in append_memory() 215 err = fdt_setprop(fdt, mem_off, "reg", mem_array, in append_memory() 221 err = fdt_setprop(fdt, mem_off, "linux,usable-memory", mem_array, in append_memory()
|
/arch/mips/net/ |
D | ebpf_jit.c | 662 int src, dst, r, td, ts, mem_off, b_off; in build_one_insn() local 1368 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn() 1373 mem_off = insn->off; in build_one_insn() 1378 emit_instr(ctx, sb, MIPS_R_AT, mem_off, dst); in build_one_insn() 1381 emit_instr(ctx, sh, MIPS_R_AT, mem_off, dst); in build_one_insn() 1384 emit_instr(ctx, sw, MIPS_R_AT, mem_off, dst); in build_one_insn() 1387 emit_instr(ctx, sd, MIPS_R_AT, mem_off, dst); in build_one_insn() 1399 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn() 1404 mem_off = insn->off; in build_one_insn() 1411 emit_instr(ctx, lbu, dst, mem_off, src); in build_one_insn() [all …]
|