Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ntb/test/
H A Dntb_pingpong.c264 if (ntb_spad_count(ntb) < 1 && ntb_msg_count(ntb) < 1) { in pp_check_ntb()
267 } else if (ntb_spad_count(ntb) < 1) { in pp_check_ntb()
H A Dntb_msi_test.c329 if (ntb_spad_is_unsafe(ntb) || ntb_spad_count(ntb) < 2 * num_irqs + 1) { in ntb_msit_probe()
H A Dntb_perf.c679 if (ntb_spad_count(perf->ntb) >= PERF_SPAD_CNT(perf->pcnt) && in perf_init_service()
720 scnt = ntb_spad_count(perf->ntb); in perf_enable_service()
H A Dntb_tool.c1238 tc->inspad_cnt = ntb_spad_count(tc->ntb); in tool_init_spads()
1252 tc->peers[pidx].outspad_cnt = ntb_spad_count(tc->ntb); in tool_init_spads()
/openbmc/linux/drivers/ntb/
H A Dntb_transport.c701 if (spad >= ntb_spad_count(nt->ndev)) in ntb_transport_setup_qp_peer_msi()
729 if (spad >= ntb_spad_count(nt->ndev)) { in ntb_transport_setup_qp_msi()
1015 count = ntb_spad_count(nt->ndev); in ntb_transport_link_cleanup()
1307 spad_count = ntb_spad_count(ndev); in ntb_transport_probe()
/openbmc/linux/include/linux/
H A Dntb.h1304 static inline int ntb_spad_count(struct ntb_dev *ntb) in ntb_spad_count() function