Searched refs:reg_spacing (Results 1 – 5 of 5) sorted by relevance
412 int reg_spacing; member423 (ioread16((hw)->iobase + ((off) << (hw)->reg_spacing)))425 (iowrite16((val), (hw)->iobase + ((off) << (hw)->reg_spacing)))432 int reg_spacing);473 off = off << hw->reg_spacing; in hermes_read_words()480 off = off << hw->reg_spacing; in hermes_write_bytes()491 off = off << hw->reg_spacing; in hermes_clear_words()
187 int reg_spacing) in hermes_struct_init() argument190 hw->reg_spacing = reg_spacing; in hermes_struct_init()
1638 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()110 return readb(ds1511_base + (reg * reg_spacing)); in rtc_read()
266 unsigned int reg_spacing; /* between CS1, CS2, ... regs */ member659 ctrl->reg_spacing = 0x14; in brcmnand_revision_init()661 ctrl->reg_spacing = 0x10; in brcmnand_revision_init()878 return offs_cs1 + (cs - 1) * ctrl->reg_spacing + cs_offs; in brcmnand_cs_offset()880 return offs_cs0 + cs * ctrl->reg_spacing + cs_offs; in brcmnand_cs_offset()