Lines Matching full:fa
27 const struct flash_area *fa; in ZTEST() local
33 ret = flash_area_open(SLOT1_PARTITION_ID, &fa); in ZTEST()
39 for (offs = 0; offs < fa->fa_size; offs += sizeof(temp)) { in ZTEST()
40 ret = flash_area_read(fa, offs, &temp, sizeof(temp)); in ZTEST()
43 ret = flash_area_write(fa, offs, &temp2, sizeof(temp)); in ZTEST()
51 for (offs = 0; offs < fa->fa_size; offs += sizeof(temp)) { in ZTEST()
52 ret = flash_area_read(fa, offs, &temp, sizeof(temp)); in ZTEST()
60 const struct flash_area *fa; in ZTEST() local
72 ret = flash_area_open(SLOT1_PARTITION_ID, &fa); in ZTEST()
80 ret = flash_area_read(fa, fa->fa_size - sizeof(expectation), in ZTEST()
92 ret = flash_area_read(fa, fa->fa_size - sizeof(expectation), in ZTEST()
107 const struct flash_area *fa; in ZTEST() local
113 ret = flash_area_open(SLOT0_PARTITION_ID, &fa); in ZTEST()
122 ret = flash_area_read(fa, fa->fa_size - sizeof(img_magic), in ZTEST()
127 ret = flash_area_write(fa, fa->fa_size - 16, in ZTEST()
133 ret = flash_area_write(fa, fa->fa_size - 32, &flag, sizeof(flag)); in ZTEST()
139 ret = flash_area_read(fa, fa->fa_size - 24, readout, in ZTEST()