Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireless/intersil/orinoco/
Dhermes.h412 int reg_spacing; member
423 (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()
Dhermes.c187 int reg_spacing) in hermes_struct_init() argument
190 hw->reg_spacing = reg_spacing; in hermes_struct_init()
Dorinoco_usb.c1638 hw->reg_spacing = HERMES_16BIT_REGSPACING; in ezusb_probe()
/linux-5.19.10/drivers/rtc/
Drtc-ds1511.c99 static u32 reg_spacing = 1; variable
104 writeb(val, ds1511_base + (reg * reg_spacing)); in rtc_write()
110 return readb(ds1511_base + (reg * reg_spacing)); in rtc_read()
/linux-5.19.10/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c266 unsigned int reg_spacing; /* between CS1, CS2, ... regs */ member
659 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()