Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/ntb/test/
Dntb_tool.c549 struct tool_mw *inmw = filep->private_data; in tool_mw_read() local
551 if (inmw->mm_base == NULL) in tool_mw_read()
555 inmw->mm_base, inmw->size); in tool_mw_read()
561 struct tool_mw *inmw = filep->private_data; in tool_mw_write() local
563 if (inmw->mm_base == NULL) in tool_mw_write()
566 return simple_write_to_buffer(inmw->mm_base, inmw->size, offp, in tool_mw_write()
578 struct tool_mw *inmw = &tc->peers[pidx].inmws[widx]; in tool_setup_mw() local
582 if (inmw->mm_base != NULL) in tool_setup_mw()
590 inmw->size = min_t(resource_size_t, req_size, size); in tool_setup_mw()
591 inmw->size = round_up(inmw->size, addr_align); in tool_setup_mw()
[all …]