Lines Matching refs:rid
387 int (*read_ltv)(struct hermes *hw, int bap, u16 rid, unsigned buflen,
389 int (*write_ltv)(struct hermes *hw, int bap, u16 rid,
459 static inline int hermes_inquire(struct hermes *hw, u16 rid) in hermes_inquire() argument
461 return hw->ops->cmd_wait(hw, HERMES_CMD_INQUIRE, rid, NULL); in hermes_inquire()
495 #define HERMES_READ_RECORD(hw, bap, rid, buf) \ argument
496 (hw->ops->read_ltv((hw), (bap), (rid), sizeof(*buf), NULL, (buf)))
497 #define HERMES_WRITE_RECORD(hw, bap, rid, buf) \ argument
498 (hw->ops->write_ltv((hw), (bap), (rid), \
501 static inline int hermes_read_wordrec(struct hermes *hw, int bap, u16 rid, in hermes_read_wordrec() argument
507 err = HERMES_READ_RECORD(hw, bap, rid, &rec); in hermes_read_wordrec()
512 static inline int hermes_write_wordrec(struct hermes *hw, int bap, u16 rid, in hermes_write_wordrec() argument
516 return HERMES_WRITE_RECORD(hw, bap, rid, &rec); in hermes_write_wordrec()