Lines Matching refs:hermes
377 struct hermes;
381 int (*init)(struct hermes *hw);
382 int (*cmd_wait)(struct hermes *hw, u16 cmd, u16 parm0,
384 int (*init_cmd_wait)(struct hermes *hw, u16 cmd,
387 int (*allocate)(struct hermes *hw, u16 size, u16 *fid);
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,
396 int (*read_pda)(struct hermes *hw, __le16 *pda,
398 int (*program_init)(struct hermes *hw, u32 entry_point);
399 int (*program_end)(struct hermes *hw);
400 int (*program)(struct hermes *hw, const char *buf,
409 struct hermes { struct
430 void hermes_struct_init(struct hermes *hw, void __iomem *address, argument
435 static inline int hermes_present(struct hermes *hw) in hermes_present()
440 static inline void hermes_set_irqmask(struct hermes *hw, u16 events) in hermes_set_irqmask()
446 static inline int hermes_enable_port(struct hermes *hw, int port) in hermes_enable_port()
452 static inline int hermes_disable_port(struct hermes *hw, int port) in hermes_disable_port()
460 static inline int hermes_inquire(struct hermes *hw, u16 rid) in hermes_inquire()
469 static inline void hermes_read_words(struct hermes *hw, int off, in hermes_read_words()
476 static inline void hermes_write_bytes(struct hermes *hw, int off, in hermes_write_bytes()
485 static inline void hermes_clear_words(struct hermes *hw, int off, in hermes_clear_words()
502 static inline int hermes_read_wordrec(struct hermes *hw, int bap, u16 rid, in hermes_read_wordrec()
513 static inline int hermes_write_wordrec(struct hermes *hw, int bap, u16 rid, in hermes_write_wordrec()