Lines Matching refs:eeprom_buf
93 u8 *eeprom_buf, u16 buf_size, bool read) in __amdgpu_eeprom_xfer() argument
106 const u8 *p = eeprom_buf; in __amdgpu_eeprom_xfer()
111 buf_size -= len, eeprom_addr += len, eeprom_buf += len) { in __amdgpu_eeprom_xfer()
147 msgs[1].buf = eeprom_buf; in __amdgpu_eeprom_xfer()
168 return r < 0 ? r : eeprom_buf - p; in __amdgpu_eeprom_xfer()
182 u8 *eeprom_buf, u16 buf_size, bool read) in amdgpu_eeprom_xfer() argument
196 eeprom_buf, buf_size, read); in amdgpu_eeprom_xfer()
213 buf_size -= ps, eeprom_addr += ps, eeprom_buf += ps) { in amdgpu_eeprom_xfer()
217 eeprom_buf, ps, read); in amdgpu_eeprom_xfer()
228 u32 eeprom_addr, u8 *eeprom_buf, in amdgpu_eeprom_read() argument
231 return amdgpu_eeprom_xfer(i2c_adap, eeprom_addr, eeprom_buf, bytes, in amdgpu_eeprom_read()
236 u32 eeprom_addr, u8 *eeprom_buf, in amdgpu_eeprom_write() argument
239 return amdgpu_eeprom_xfer(i2c_adap, eeprom_addr, eeprom_buf, bytes, in amdgpu_eeprom_write()