Lines Matching refs:peers
521 ndev->peers[ndev->peer_cnt].port = port; in idt_scan_ports()
522 ndev->peers[ndev->peer_cnt].part = part; in idt_scan_ports()
585 return ndev->peers[pidx].port; in idt_ntb_peer_port_number()
647 port_mask &= ~BIT(ndev->peers[pidx].port); in idt_init_link()
648 part_mask &= ~BIT(ndev->peers[pidx].part); in idt_init_link()
842 port = ndev->peers[pidx].port; in idt_ntb_peer_link_is_up()
861 idt_nt_write(ndev, IDT_NT_NTMTBLADDR, ndev->peers[pidx].part); in idt_ntb_peer_link_is_up()
1142 peer = &ndev->peers[pidx]; in idt_init_mws()
1177 return ndev->peers[pidx].mw_cnt; in idt_ntb_mw_count()
1205 peer = &ndev->peers[pidx]; in idt_ntb_mw_get_align()
1316 data = SET_FIELD(BARSETUP_TPART, data, ndev->peers[pidx].part); in idt_ntb_peer_mw_set_trans()
1331 data = SET_FIELD(LUTUDATA_PART, 0, ndev->peers[pidx].part) | in idt_ntb_peer_mw_set_trans()
1802 SET_FIELD(SWPxMSGCTL_PART, 0, ndev->peers[pidx].part); in idt_ntb_peer_msg_write()
2368 idx, ndev->peers[idx].port, ndev->peers[idx].part); in idt_dbgfs_info_read()
2426 pidx, ndev->peers[pidx].port); in idt_dbgfs_info_read()
2429 for (idx = 0; idx < ndev->peers[pidx].mw_cnt; idx += cnt) { in idt_dbgfs_info_read()
2430 data = ndev->peers[pidx].mws[idx].type; in idt_dbgfs_info_read()
2442 ndev->peers[pidx].mws[idx].bar); in idt_dbgfs_info_read()
2446 ndev->peers[pidx].mws[idx].addr_align); in idt_dbgfs_info_read()
2450 ndev->peers[pidx].mws[idx].size_align, in idt_dbgfs_info_read()
2451 ndev->peers[pidx].mws[idx].size_max); in idt_dbgfs_info_read()
2484 idx, data, src, ndev->peers[src].port); in idt_dbgfs_info_read()