Lines Matching refs:sidx
314 u32 (*spad_read)(struct ntb_dev *ntb, int sidx);
315 int (*spad_write)(struct ntb_dev *ntb, int sidx, u32 val);
317 int (*peer_spad_addr)(struct ntb_dev *ntb, int pidx, int sidx,
319 u32 (*peer_spad_read)(struct ntb_dev *ntb, int pidx, int sidx);
320 int (*peer_spad_write)(struct ntb_dev *ntb, int pidx, int sidx,
1321 static inline u32 ntb_spad_read(struct ntb_dev *ntb, int sidx) in ntb_spad_read() argument
1326 return ntb->ops->spad_read(ntb, sidx); in ntb_spad_read()
1339 static inline int ntb_spad_write(struct ntb_dev *ntb, int sidx, u32 val) in ntb_spad_write() argument
1344 return ntb->ops->spad_write(ntb, sidx, val); in ntb_spad_write()
1359 static inline int ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx, in ntb_peer_spad_addr() argument
1365 return ntb->ops->peer_spad_addr(ntb, pidx, sidx, spad_addr); in ntb_peer_spad_addr()
1378 static inline u32 ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx) in ntb_peer_spad_read() argument
1383 return ntb->ops->peer_spad_read(ntb, pidx, sidx); in ntb_peer_spad_read()
1397 static inline int ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx, in ntb_peer_spad_write() argument
1403 return ntb->ops->peer_spad_write(ntb, pidx, sidx, val); in ntb_peer_spad_write()