Lines Matching refs:eeprom_offset
486 u8 eeprom_offset, void *buffer, int len) in ipath_eeprom_internal_read() argument
500 eeprom_offset = (eeprom_offset << 1) | READ_CMD; in ipath_eeprom_internal_read()
501 ret = i2c_startcmd(dd, eeprom_offset); in ipath_eeprom_internal_read()
511 ret = wr_byte(dd, eeprom_offset); in ipath_eeprom_internal_read()
547 static int ipath_eeprom_internal_write(struct ipath_devdata *dd, u8 eeprom_offset, in ipath_eeprom_internal_write() argument
564 (eeprom_offset << 1) | WRITE_CMD)) { in ipath_eeprom_internal_write()
566 eeprom_offset); in ipath_eeprom_internal_write()
575 ret = wr_byte(dd, eeprom_offset); in ipath_eeprom_internal_write()
584 eeprom_offset += sub_len; in ipath_eeprom_internal_write()
641 int ipath_eeprom_read(struct ipath_devdata *dd, u8 eeprom_offset, in ipath_eeprom_read() argument
648 ret = ipath_eeprom_internal_read(dd, eeprom_offset, buff, len); in ipath_eeprom_read()
662 int ipath_eeprom_write(struct ipath_devdata *dd, u8 eeprom_offset, in ipath_eeprom_write() argument
669 ret = ipath_eeprom_internal_write(dd, eeprom_offset, buff, len); in ipath_eeprom_write()