Searched refs:mem_off (Results 1 – 3 of 3) sorted by relevance
/arch/mips/generic/ |
D | yamon-dt.c | 87 int i, err, mem_off; in yamon_dt_append_memory() local 128 mem_off = fdt_path_offset(fdt, "/memory"); in yamon_dt_append_memory() 129 if (mem_off == -FDT_ERR_NOTFOUND) in yamon_dt_append_memory() 130 mem_off = fdt_add_subnode(fdt, 0, "memory"); in yamon_dt_append_memory() 131 if (mem_off < 0) { in yamon_dt_append_memory() 132 pr_err("Unable to find or add memory DT node: %d\n", mem_off); in yamon_dt_append_memory() 133 return mem_off; in yamon_dt_append_memory() 136 err = fdt_setprop_string(fdt, mem_off, "device_type", "memory"); in yamon_dt_append_memory() 144 err = fdt_setprop(fdt, mem_off, "reg", in yamon_dt_append_memory() 153 err = fdt_setprop(fdt, mem_off, "linux,usable-memory", in yamon_dt_append_memory()
|
/arch/mips/mti-malta/ |
D | malta-dtshim.c | 140 int i, err, mem_off; in append_memory() local 148 mem_off = fdt_path_offset(fdt, "/memory"); in append_memory() 149 if (mem_off >= 0) in append_memory() 210 mem_off = fdt_add_subnode(fdt, root_off, "memory"); in append_memory() 211 if (mem_off < 0) in append_memory() 212 panic("Unable to add memory node to DT: %d", mem_off); in append_memory() 214 err = fdt_setprop_string(fdt, mem_off, "device_type", "memory"); in append_memory() 219 err = fdt_setprop(fdt, mem_off, "reg", mem_array, in append_memory() 225 err = fdt_setprop(fdt, mem_off, "linux,usable-memory", mem_array, in append_memory()
|
/arch/mips/net/ |
D | ebpf_jit.c | 670 int src, dst, r, td, ts, mem_off, b_off; in build_one_insn() local 1443 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn() 1448 mem_off = insn->off; in build_one_insn() 1453 emit_instr(ctx, sb, MIPS_R_AT, mem_off, dst); in build_one_insn() 1456 emit_instr(ctx, sh, MIPS_R_AT, mem_off, dst); in build_one_insn() 1459 emit_instr(ctx, sw, MIPS_R_AT, mem_off, dst); in build_one_insn() 1462 emit_instr(ctx, sd, MIPS_R_AT, mem_off, dst); in build_one_insn() 1474 mem_off = insn->off + MAX_BPF_STACK; in build_one_insn() 1479 mem_off = insn->off; in build_one_insn() 1486 emit_instr(ctx, lbu, dst, mem_off, src); in build_one_insn() [all …]
|