Searched refs:reg_spacing (Results 1 – 2 of 2) sorted by relevance
284 int reg_spacing; member303 inw((hw)->iobase + ( (off) << (hw)->reg_spacing )) : \304 readw((hw)->iobase + ( (off) << (hw)->reg_spacing )))306 outw_p((val), (hw)->iobase + ( (off) << (hw)->reg_spacing )) : \307 writew((val), (hw)->iobase + ( (off) << (hw)->reg_spacing )))313 void hermes_struct_init(hermes_t *hw, ulong address, int io_space, int reg_spacing);367 off = off << hw->reg_spacing;; in hermes_read_words()387 off = off << hw->reg_spacing;; in hermes_write_words()409 off = off << hw->reg_spacing;; in hermes_clear_words()
129 int io_space, int reg_spacing) in hermes_struct_init() argument133 hw->reg_spacing = reg_spacing; in hermes_struct_init()