Home
last modified time | relevance | path

Searched refs:mem_off (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/arch/mips/mti-malta/
Dmalta-dtshim.c56 int i, err, mem_off; in append_memory() local
62 mem_off = fdt_path_offset(fdt, "/memory"); in append_memory()
63 if (mem_off >= 0) in append_memory()
110 mem_off = fdt_add_subnode(fdt, root_off, "memory"); in append_memory()
111 if (mem_off < 0) in append_memory()
112 panic("Unable to add memory node to DT: %d", mem_off); in append_memory()
114 err = fdt_setprop_string(fdt, mem_off, "device_type", "memory"); in append_memory()
119 err = fdt_setprop(fdt, mem_off, "reg", mem_array, in append_memory()
125 err = fdt_setprop(fdt, mem_off, "linux,usable-memory", mem_array, in append_memory()
/linux-4.4.14/drivers/target/tcm_fc/
Dtfc_io.c63 u32 mem_off = 0; in ft_queue_data_in() local
96 mem_off = sg->offset; in ft_queue_data_in()
114 mem_off = sg->offset; in ft_queue_data_in()
143 off_in_page = mem_off; in ft_queue_data_in()
155 from = kmap_atomic(page + (mem_off >> PAGE_SHIFT)); in ft_queue_data_in()
157 from += mem_off & ~PAGE_MASK; in ft_queue_data_in()
159 (mem_off & ~PAGE_MASK))); in ft_queue_data_in()
165 mem_off += tlen; in ft_queue_data_in()
217 u32 mem_off = 0; in ft_recv_write_data() local
293 mem_off = sg->offset; in ft_recv_write_data()
[all …]