Searched refs:inmw (Results 1 – 1 of 1) sorted by relevance
544 struct tool_mw *inmw = filep->private_data; in tool_mw_read() local546 if (inmw->mm_base == NULL) in tool_mw_read()550 inmw->mm_base, inmw->size); in tool_mw_read()556 struct tool_mw *inmw = filep->private_data; in tool_mw_write() local558 if (inmw->mm_base == NULL) in tool_mw_write()561 return simple_write_to_buffer(inmw->mm_base, inmw->size, offp, in tool_mw_write()573 struct tool_mw *inmw = &tc->peers[pidx].inmws[widx]; in tool_setup_mw() local577 if (inmw->mm_base != NULL) in tool_setup_mw()585 inmw->size = min_t(resource_size_t, req_size, size); in tool_setup_mw()586 inmw->size = round_up(inmw->size, addr_align); in tool_setup_mw()[all …]