Lines Matching refs:address
43 off_t address; in ZTEST_USER() local
48 address = 0; in ZTEST_USER()
49 while (address < MIN(size, 16)) { in ZTEST_USER()
50 rc = eeprom_write(eeprom, address, wr_buf1, sizeof(wr_buf1)); in ZTEST_USER()
53 rc = eeprom_read(eeprom, address, rd_buf, sizeof(rd_buf)); in ZTEST_USER()
59 address += sizeof(wr_buf1); in ZTEST_USER()
62 address = 0; in ZTEST_USER()
63 while (address < MIN(size, 16)) { in ZTEST_USER()
64 rc = eeprom_write(eeprom, address, wr_buf2, sizeof(wr_buf2)); in ZTEST_USER()
67 rc = eeprom_read(eeprom, address, rd_buf, sizeof(rd_buf)); in ZTEST_USER()
73 address += sizeof(wr_buf2); in ZTEST_USER()
83 const off_t address = 0; in ZTEST_USER() local
89 rc = eeprom_write(eeprom, address, wr_buf1, sizeof(wr_buf1)); in ZTEST_USER()
92 rc = eeprom_read(eeprom, address, rd_buf, sizeof(rd_buf)); in ZTEST_USER()
107 for (off_t address = 0; address < 16; address++) { in ZTEST_USER() local
108 rc = eeprom_write(eeprom, address, &wr, 1); in ZTEST_USER()
111 rc = eeprom_read(eeprom, address, &rd, 1); in ZTEST_USER()
126 for (off_t address = 0; address < 4; address++) { in ZTEST_USER() local
127 rc = eeprom_write(eeprom, address, wr_buf1, sizeof(wr_buf1)); in ZTEST_USER()
130 rc = eeprom_read(eeprom, address, rd_buf, sizeof(rd_buf)); in ZTEST_USER()