Home
last modified time | relevance | path

Searched refs:reg_spacing (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/net/wireless/intersil/orinoco/
Dhermes.h410 int reg_spacing; member
421 (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()
Dhermes.c188 int reg_spacing) in hermes_struct_init() argument
191 hw->reg_spacing = reg_spacing; in hermes_struct_init()
Dorinoco_usb.c1594 hw->reg_spacing = HERMES_16BIT_REGSPACING; in ezusb_probe()
/Linux-v5.10/drivers/rtc/
Drtc-ds1511.c99 static u32 reg_spacing = 1; variable
104 writeb(val, ds1511_base + (reg * reg_spacing)); in rtc_write()
116 return readb(ds1511_base + (reg * reg_spacing)); in rtc_read()
/Linux-v5.10/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c259 unsigned int reg_spacing; /* between CS1, CS2, ... regs */ member
638 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()