Lines Matching refs:byte
127 u32 byte; in pci1xxxx_eeprom_read() local
140 for (byte = 0; byte < count; byte++) { in pci1xxxx_eeprom_read()
141 writel(EEPROM_CMD_EPC_BUSY_BIT | (off + byte), rb + in pci1xxxx_eeprom_read()
154 buf[byte] = readl(rb + MMAP_EEPROM_OFFSET(EEPROM_DATA_REG)); in pci1xxxx_eeprom_read()
156 ret = byte; in pci1xxxx_eeprom_read()
169 u32 byte; in pci1xxxx_eeprom_write() local
182 for (byte = 0; byte < count; byte++) { in pci1xxxx_eeprom_write()
183 writel(*(value + byte), rb + MMAP_EEPROM_OFFSET(EEPROM_DATA_REG)); in pci1xxxx_eeprom_write()
185 (off + byte); in pci1xxxx_eeprom_write()
200 ret = byte; in pci1xxxx_eeprom_write()
224 u32 byte; in pci1xxxx_otp_read() local
238 for (byte = 0; byte < count; byte++) { in pci1xxxx_otp_read()
239 otp_device_set_address(priv, (u16)(off + byte)); in pci1xxxx_otp_read()
259 buf[byte] = readl(rb + MMAP_OTP_OFFSET(OTP_RD_DATA_OFFSET)); in pci1xxxx_otp_read()
261 ret = byte; in pci1xxxx_otp_read()
274 u32 byte; in pci1xxxx_otp_write() local
288 for (byte = 0; byte < count; byte++) { in pci1xxxx_otp_write()
289 otp_device_set_address(priv, (u16)(off + byte)); in pci1xxxx_otp_write()
298 writel(*(value + byte), rb + MMAP_OTP_OFFSET(OTP_PRGM_DATA_OFFSET)); in pci1xxxx_otp_write()
318 ret = byte; in pci1xxxx_otp_write()