Lines Matching refs:widx

273 	int (*mw_get_align)(struct ntb_dev *ntb, int pidx, int widx,
277 int (*mw_set_trans)(struct ntb_dev *ntb, int pidx, int widx,
279 int (*mw_clear_trans)(struct ntb_dev *ntb, int pidx, int widx);
281 int (*peer_mw_get_addr)(struct ntb_dev *ntb, int widx,
283 int (*peer_mw_set_trans)(struct ntb_dev *ntb, int pidx, int widx,
285 int (*peer_mw_clear_trans)(struct ntb_dev *ntb, int pidx, int widx);
823 static inline int ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int widx, in ntb_mw_get_align() argument
831 return ntb->ops->mw_get_align(ntb, pidx, widx, addr_align, size_align, in ntb_mw_get_align()
854 static inline int ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx, in ntb_mw_set_trans() argument
860 return ntb->ops->mw_set_trans(ntb, pidx, widx, addr, size); in ntb_mw_set_trans()
875 static inline int ntb_mw_clear_trans(struct ntb_dev *ntb, int pidx, int widx) in ntb_mw_clear_trans() argument
878 return ntb_mw_set_trans(ntb, pidx, widx, 0, 0); in ntb_mw_clear_trans()
880 return ntb->ops->mw_clear_trans(ntb, pidx, widx); in ntb_mw_clear_trans()
912 static inline int ntb_peer_mw_get_addr(struct ntb_dev *ntb, int widx, in ntb_peer_mw_get_addr() argument
915 return ntb->ops->peer_mw_get_addr(ntb, widx, base, size); in ntb_peer_mw_get_addr()
936 static inline int ntb_peer_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx, in ntb_peer_mw_set_trans() argument
942 return ntb->ops->peer_mw_set_trans(ntb, pidx, widx, addr, size); in ntb_peer_mw_set_trans()
961 int widx) in ntb_peer_mw_clear_trans() argument
964 return ntb_peer_mw_set_trans(ntb, pidx, widx, 0, 0); in ntb_peer_mw_clear_trans()
966 return ntb->ops->peer_mw_clear_trans(ntb, pidx, widx); in ntb_peer_mw_clear_trans()