Lines Matching refs:bap
388 int (*read_ltv)(struct hermes *hw, int bap, u16 rid, unsigned buflen,
390 int (*write_ltv)(struct hermes *hw, int bap, u16 rid,
392 int (*bap_pread)(struct hermes *hw, int bap, void *buf, int len,
394 int (*bap_pwrite)(struct hermes *hw, int bap, const void *buf,
496 #define HERMES_READ_RECORD(hw, bap, rid, buf) \ argument
497 (hw->ops->read_ltv((hw), (bap), (rid), sizeof(*buf), NULL, (buf)))
498 #define HERMES_WRITE_RECORD(hw, bap, rid, buf) \ argument
499 (hw->ops->write_ltv((hw), (bap), (rid), \
502 static inline int hermes_read_wordrec(struct hermes *hw, int bap, u16 rid, in hermes_read_wordrec() argument
508 err = HERMES_READ_RECORD(hw, bap, rid, &rec); in hermes_read_wordrec()
513 static inline int hermes_write_wordrec(struct hermes *hw, int bap, u16 rid, in hermes_write_wordrec() argument
517 return HERMES_WRITE_RECORD(hw, bap, rid, &rec); in hermes_write_wordrec()