Searched refs:mw_cfg (Results 1 – 1 of 1) sorted by relevance
1291 struct idt_mw_cfg *mw_cfg; in idt_ntb_peer_mw_set_trans() local1304 mw_cfg = &ndev->mws[widx]; in idt_ntb_peer_mw_set_trans()1305 if (!IS_ALIGNED(addr, mw_cfg->addr_align)) in idt_ntb_peer_mw_set_trans()1307 if (!IS_ALIGNED(size, mw_cfg->size_align) || size > mw_cfg->size_max) in idt_ntb_peer_mw_set_trans()1311 if (mw_cfg->type == IDT_MW_DIR) { in idt_ntb_peer_mw_set_trans()1312 const struct idt_ntb_bar *bar = &ntdata_tbl.bars[mw_cfg->bar]; in idt_ntb_peer_mw_set_trans()1322 limit = pci_bus_address(ntb->pdev, mw_cfg->bar) + size; in idt_ntb_peer_mw_set_trans()1329 lutoff = SET_FIELD(LUTOFFSET_INDEX, 0, mw_cfg->idx) | in idt_ntb_peer_mw_set_trans()1330 SET_FIELD(LUTOFFSET_BAR, 0, mw_cfg->bar); in idt_ntb_peer_mw_set_trans()1360 struct idt_mw_cfg *mw_cfg; in idt_ntb_peer_mw_clear_trans() local[all …]