Lines Matching refs:outmws
248 struct tool_mw_wrap *outmws; member
262 struct tool_mw *outmws; member
807 struct tool_mw *outmw = &tc->outmws[widx]; in tool_setup_peer_mw()
849 struct tool_mw *outmw = &tc->outmws[widx]; in tool_free_peer_mw()
854 iounmap(tc->outmws[widx].io_base); in tool_free_peer_mw()
964 tc->outmws = devm_kcalloc(&tc->ntb->dev, tc->outmw_cnt, in tool_init_mws()
965 sizeof(*tc->outmws), GFP_KERNEL); in tool_init_mws()
966 if (tc->outmws == NULL) in tool_init_mws()
970 tc->outmws[widx].widx = widx; in tool_init_mws()
971 tc->outmws[widx].pidx = -1; in tool_init_mws()
972 tc->outmws[widx].tc = tc; in tool_init_mws()
991 tc->peers[pidx].outmws = in tool_init_mws()
993 sizeof(*tc->peers[pidx].outmws), GFP_KERNEL); in tool_init_mws()
994 if (tc->peers[pidx].outmws == NULL) in tool_init_mws()
998 tc->peers[pidx].outmws[widx].pidx = pidx; in tool_init_mws()
999 tc->peers[pidx].outmws[widx].mw = &tc->outmws[widx]; in tool_init_mws()
1577 &tc->peers[pidx].outmws[widx], in tool_setup_dbgfs()