Searched refs:reg_spacing (Results 1 – 5 of 5) sorted by relevance
410 int reg_spacing; member421 (ioread16((hw)->iobase + ((off) << (hw)->reg_spacing)))423 (iowrite16((val), (hw)->iobase + ((off) << (hw)->reg_spacing)))430 int reg_spacing);471 off = off << hw->reg_spacing; in hermes_read_words()478 off = off << hw->reg_spacing; in hermes_write_bytes()489 off = off << hw->reg_spacing; in hermes_clear_words()
188 int reg_spacing) in hermes_struct_init() argument191 hw->reg_spacing = reg_spacing; in hermes_struct_init()
1594 hw->reg_spacing = HERMES_16BIT_REGSPACING; in ezusb_probe()
99 static u32 reg_spacing = 1; variable104 writeb(val, ds1511_base + (reg * reg_spacing)); in rtc_write()116 return readb(ds1511_base + (reg * reg_spacing)); in rtc_read()
259 unsigned int reg_spacing; /* between CS1, CS2, ... regs */ member638 ctrl->reg_spacing = 0x14; in brcmnand_revision_init()640 ctrl->reg_spacing = 0x10; in brcmnand_revision_init()852 return offs_cs1 + (cs - 1) * ctrl->reg_spacing + cs_offs; in brcmnand_cs_offset()854 return offs_cs0 + cs * ctrl->reg_spacing + cs_offs; in brcmnand_cs_offset()