Lines Matching refs:offset

76 			    uint8_t addr_width, const uint8_t *comp_buffer, unsigned int offset)  in run_partial_read()  argument
82 i2c->name, addr, offset); in run_partial_read()
86 start_addr[0] = (uint8_t) (offset & 0xFF); in run_partial_read()
89 sys_put_be16((uint16_t)(offset & 0xFFFF), start_addr); in run_partial_read()
96 start_addr, (addr_width >> 3), i2c_buffer, TEST_DATA_SIZE-offset); in run_partial_read()
99 if (memcmp(i2c_buffer, &comp_buffer[offset], TEST_DATA_SIZE-offset)) { in run_partial_read()
100 to_display_format(i2c_buffer, TEST_DATA_SIZE-offset, in run_partial_read()
102 to_display_format(&comp_buffer[offset], TEST_DATA_SIZE-offset, in run_partial_read()
115 uint8_t addr_width, unsigned int offset) in run_program_read() argument
122 i2c->name, addr, offset); in run_program_read()
124 for (i = 0 ; i < TEST_DATA_SIZE-offset ; ++i) { in run_program_read()
130 start_addr[0] = (uint8_t) (offset & 0xFF); in run_program_read()
133 sys_put_be16((uint16_t)(offset & 0xFFFF), start_addr); in run_program_read()
153 start_addr, (addr_width >> 3), i2c_buffer, TEST_DATA_SIZE-offset); in run_program_read()
156 for (i = 0 ; i < TEST_DATA_SIZE-offset ; ++i) { in run_program_read()
158 to_display_format(i2c_buffer, TEST_DATA_SIZE-offset, in run_program_read()
179 int ret, offset; in ZTEST() local
242 for (offset = 0 ; offset < TEST_DATA_SIZE-1 ; ++offset) { in ZTEST()
244 addr_0_width, eeprom_0_data, offset), in ZTEST()
250 offset), in ZTEST()
255 for (offset = 0 ; offset < TEST_DATA_SIZE-1 ; ++offset) { in ZTEST()
257 addr_0_width, offset), in ZTEST()
261 addr_1_width, offset), in ZTEST()