Lines Matching refs:pidx
150 static int ntb_epf_mw_count(struct ntb_dev *ntb, int pidx) in ntb_epf_mw_count() argument
155 if (pidx != NTB_DEF_PEER_IDX) { in ntb_epf_mw_count()
156 dev_err(dev, "Unsupported Peer ID %d\n", pidx); in ntb_epf_mw_count()
163 static int ntb_epf_mw_get_align(struct ntb_dev *ntb, int pidx, int idx, in ntb_epf_mw_get_align() argument
172 if (pidx != NTB_DEF_PEER_IDX) { in ntb_epf_mw_get_align()
173 dev_err(dev, "Unsupported Peer ID %d\n", pidx); in ntb_epf_mw_get_align()
241 static u32 ntb_epf_peer_spad_read(struct ntb_dev *ntb, int pidx, int idx) in ntb_epf_peer_spad_read() argument
247 if (pidx != NTB_DEF_PEER_IDX) { in ntb_epf_peer_spad_read()
248 dev_err(dev, "Unsupported Peer ID %d\n", pidx); in ntb_epf_peer_spad_read()
261 static int ntb_epf_peer_spad_write(struct ntb_dev *ntb, int pidx, in ntb_epf_peer_spad_write() argument
268 if (pidx != NTB_DEF_PEER_IDX) { in ntb_epf_peer_spad_write()
269 dev_err(dev, "Unsupported Peer ID %d\n", pidx); in ntb_epf_peer_spad_write()
403 static int ntb_epf_mw_set_trans(struct ntb_dev *ntb, int pidx, int idx, in ntb_epf_mw_set_trans() argument
411 if (pidx != NTB_DEF_PEER_IDX) { in ntb_epf_mw_set_trans()
412 dev_err(dev, "Unsupported Peer ID %d\n", pidx); in ntb_epf_mw_set_trans()
435 static int ntb_epf_mw_clear_trans(struct ntb_dev *ntb, int pidx, int idx) in ntb_epf_mw_clear_trans() argument