Home
last modified time | relevance | path

Searched refs:ntb_peer_port_number (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/ntb/test/
Dntb_pingpong.c131 out_db = BIT_ULL(ntb_peer_port_number(pp->ntb, pidx)); in pp_find_next_peer()
156 ntb_peer_port_number(pp->ntb, pp->out_pidx), pp->out_db); in pp_setup()
181 ntb_peer_port_number(pp->ntb, pp->out_pidx), count, count); in pp_ping()
204 spad_data, msg_data, ntb_peer_port_number(pp->ntb, pidx)); in pp_pong()
301 if (lport < ntb_peer_port_number(pp->ntb, pidx)) in pp_init_flds()
Dntb_perf.c1208 ntb_peer_port_number(perf->ntb, perf->test_peer->pidx), in perf_dbgfs_read_info()
1219 ntb_peer_port_number(perf->ntb, peer->pidx), peer->pidx, in perf_dbgfs_read_info()
1450 if (lport < ntb_peer_port_number(perf->ntb, pidx)) { in perf_init_peers()
1468 ntb_peer_port_number(perf->ntb, 0) == 0) { in perf_init_peers()
Dntb_msi_test.c205 *port = ntb_peer_port_number(peer->nm->ntb, peer->pidx); in ntb_msit_dbgfs_port_get()
Dntb_tool.c437 ntb_peer_port_number(tc->ntb, peer->pidx)); in tool_peer_port_read()
672 ntb_peer_port_number(inmw->tc->ntb, inmw->pidx), in tool_mw_trans_read()
901 ntb_peer_port_number(outmw->tc->ntb, outmw->pidx), in tool_peer_mw_trans_read()
/kernel/linux/linux-5.10/include/linux/
Dntb.h653 static inline int ntb_peer_port_number(struct ntb_dev *ntb, int pidx) in ntb_peer_port_number() function
684 if (lport <= ntb_peer_port_number(ntb, pidx)) in ntb_logical_port_number()
707 if (ntb_peer_port_number(ntb, pidx) < ntb_port_number(ntb)) in ntb_peer_logical_port_number()