Lines Matching full:rb
99 void __iomem *rb = priv->reg_base; in is_eeprom_responsive() local
104 rb + MMAP_EEPROM_OFFSET(EEPROM_CMD_REG)); in is_eeprom_responsive()
106 rb + MMAP_EEPROM_OFFSET(EEPROM_CMD_REG)); in is_eeprom_responsive()
111 true, rb + MMAP_EEPROM_OFFSET(EEPROM_CMD_REG)); in is_eeprom_responsive()
124 void __iomem *rb = priv->reg_base; in pci1xxxx_eeprom_read() local
141 writel(EEPROM_CMD_EPC_BUSY_BIT | (off + byte), rb + in pci1xxxx_eeprom_read()
148 rb + MMAP_EEPROM_OFFSET(EEPROM_CMD_REG)); in pci1xxxx_eeprom_read()
154 buf[byte] = readl(rb + MMAP_EEPROM_OFFSET(EEPROM_DATA_REG)); in pci1xxxx_eeprom_read()
165 void __iomem *rb = priv->reg_base; in pci1xxxx_eeprom_write() local
182 writel(*(value + byte), rb + MMAP_EEPROM_OFFSET(EEPROM_DATA_REG)); in pci1xxxx_eeprom_write()
185 writel(regval, rb + MMAP_EEPROM_OFFSET(EEPROM_CMD_REG)); in pci1xxxx_eeprom_write()
187 rb + MMAP_EEPROM_OFFSET(EEPROM_CMD_REG)); in pci1xxxx_eeprom_write()
193 rb + MMAP_EEPROM_OFFSET(EEPROM_CMD_REG)); in pci1xxxx_eeprom_write()
219 void __iomem *rb = priv->reg_base; in pci1xxxx_otp_read() local
238 data = readl(rb + MMAP_OTP_OFFSET(OTP_FUNC_CMD_OFFSET)); in pci1xxxx_otp_read()
240 rb + MMAP_OTP_OFFSET(OTP_FUNC_CMD_OFFSET)); in pci1xxxx_otp_read()
241 data = readl(rb + MMAP_OTP_OFFSET(OTP_CMD_GO_OFFSET)); in pci1xxxx_otp_read()
243 rb + MMAP_OTP_OFFSET(OTP_CMD_GO_OFFSET)); in pci1xxxx_otp_read()
249 rb + MMAP_OTP_OFFSET(OTP_STATUS_OFFSET)); in pci1xxxx_otp_read()
251 data = readl(rb + MMAP_OTP_OFFSET(OTP_PASS_FAIL_OFFSET)); in pci1xxxx_otp_read()
257 buf[byte] = readl(rb + MMAP_OTP_OFFSET(OTP_RD_DATA_OFFSET)); in pci1xxxx_otp_read()
268 void __iomem *rb = priv->reg_base; in pci1xxxx_otp_write() local
292 data = readl(rb + MMAP_OTP_OFFSET(OTP_PRGM_MODE_OFFSET)); in pci1xxxx_otp_write()
294 rb + MMAP_OTP_OFFSET(OTP_PRGM_MODE_OFFSET)); in pci1xxxx_otp_write()
295 writel(*(value + byte), rb + MMAP_OTP_OFFSET(OTP_PRGM_DATA_OFFSET)); in pci1xxxx_otp_write()
296 data = readl(rb + MMAP_OTP_OFFSET(OTP_FUNC_CMD_OFFSET)); in pci1xxxx_otp_write()
298 rb + MMAP_OTP_OFFSET(OTP_FUNC_CMD_OFFSET)); in pci1xxxx_otp_write()
299 data = readl(rb + MMAP_OTP_OFFSET(OTP_CMD_GO_OFFSET)); in pci1xxxx_otp_write()
301 rb + MMAP_OTP_OFFSET(OTP_CMD_GO_OFFSET)); in pci1xxxx_otp_write()
307 rb + MMAP_OTP_OFFSET(OTP_STATUS_OFFSET)); in pci1xxxx_otp_write()
309 data = readl(rb + MMAP_OTP_OFFSET(OTP_PASS_FAIL_OFFSET)); in pci1xxxx_otp_write()