Home
last modified time | relevance | path

Searched refs:ntb_spad_count (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/ntb/test/
Dntb_pingpong.c265 if (ntb_spad_count(ntb) < 1 && ntb_msg_count(ntb) < 1) { in pp_check_ntb()
268 } else if (ntb_spad_count(ntb) < 1) { in pp_check_ntb()
Dntb_msi_test.c330 if (ntb_spad_is_unsafe(ntb) || ntb_spad_count(ntb) < 2 * num_irqs + 1) { in ntb_msit_probe()
Dntb_perf.c672 if (ntb_spad_count(perf->ntb) >= PERF_SPAD_CNT(perf->pcnt) && in perf_init_service()
713 scnt = ntb_spad_count(perf->ntb); in perf_enable_service()
Dntb_tool.c1241 tc->inspad_cnt = ntb_spad_count(tc->ntb); in tool_init_spads()
1255 tc->peers[pidx].outspad_cnt = ntb_spad_count(tc->ntb); in tool_init_spads()
/Linux-v5.4/drivers/ntb/
Dntb_transport.c703 if (spad >= ntb_spad_count(nt->ndev)) in ntb_transport_setup_qp_peer_msi()
731 if (spad >= ntb_spad_count(nt->ndev)) { in ntb_transport_setup_qp_msi()
997 count = ntb_spad_count(nt->ndev); in ntb_transport_link_cleanup()
1289 spad_count = ntb_spad_count(ndev); in ntb_transport_probe()
/Linux-v5.4/include/linux/
Dntb.h1304 static inline int ntb_spad_count(struct ntb_dev *ntb) in ntb_spad_count() function