Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/target/tcm_fc/
Dtfc_io.c50 u32 mem_off = 0; in ft_queue_data_in() local
83 mem_off = sg->offset; in ft_queue_data_in()
101 mem_off = sg->offset; in ft_queue_data_in()
130 off_in_page = mem_off; in ft_queue_data_in()
141 from = kmap_atomic(page + (mem_off >> PAGE_SHIFT)); in ft_queue_data_in()
143 from += offset_in_page(mem_off); in ft_queue_data_in()
145 offset_in_page(mem_off))); in ft_queue_data_in()
151 mem_off += tlen; in ft_queue_data_in()
203 u32 mem_off = 0; in ft_recv_write_data() local
278 mem_off = sg->offset; in ft_recv_write_data()
[all …]
/linux-6.6.21/arch/mips/generic/
Dyamon-dt.c81 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()
/linux-6.6.21/arch/mips/mti-malta/
Dmalta-dtshim.c136 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()
/linux-6.6.21/drivers/infiniband/ulp/rtrs/
Drtrs-clt.h88 unsigned int mem_off; member
Drtrs-clt.c1112 imm = req->permit->mem_off + req->data_len + req->usr_len; in rtrs_clt_write_req()
1245 imm = req->permit->mem_off + req->data_len + req->usr_len; in rtrs_clt_read_req()
1427 permit->mem_off = i << (MAX_IMM_PAYL_BITS - chunk_bits); in alloc_permits()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c497 int t4_memory_rw_init(struct adapter *adap, int win, int mtype, u32 *mem_off, in t4_memory_rw_init() argument
511 *mem_off = 2 * (edc_size * 1024 * 1024); in t4_memory_rw_init()
513 *mem_off = (mtype * (edc_size * 1024 * 1024)); in t4_memory_rw_init()
517 *mem_off = (MEM_MC0 * edc_size + mc_size) * 1024 * 1024; in t4_memory_rw_init()
Dcxgb4.h1821 int t4_memory_rw_init(struct adapter *adap, int win, int mtype, u32 *mem_off,