Lines Matching defs:mw
170 struct ntb_transport_mw mw[NTB_NUM_MW];
517 if (nt->mw[i].virt_addr != NULL)
518 contigfree(nt->mw[i].virt_addr, nt->mw[i].size,
1111 struct ntb_transport_mw *mw = &nt->mw[num_mw];
1114 mw->size = size;
1116 mw->virt_addr = contigmalloc(mw->size, M_NTB_IF, M_ZERO, 0,
1117 BUS_SPACE_MAXADDR, mw->size, 0);
1118 if (mw->virt_addr == NULL) {
1120 (int)mw->size);
1124 mw->dma_addr = vtophys(mw->virt_addr);
1127 ntb_set_mw_addr(nt->ntb, num_mw, mw->dma_addr);
1146 rx_size = (unsigned int) nt->mw[mw_num].size / num_qps_mw;
1147 qp->remote_rx_info = (void *)((uint8_t *)nt->mw[mw_num].virt_addr +