Lines Matching refs:fcb
42 static inline uint32_t fcb_flash_magic(const struct fcb *fcbp) in fcb_flash_magic()
56 int fcb_put_len(const struct fcb *fcbp, uint8_t *buf, uint16_t len);
57 int fcb_get_len(const struct fcb *fcbp, uint8_t *buf, uint16_t *len);
59 static inline int fcb_len_in_flash(struct fcb *fcbp, uint16_t len) in fcb_len_in_flash()
67 const struct flash_area *fcb_open_flash(const struct fcb *fcbp);
68 uint8_t fcb_get_align(const struct fcb *fcbp);
69 int fcb_erase_sector(const struct fcb *fcbp, const struct flash_sector *sector);
71 int fcb_getnext_in_sector(struct fcb *fcbp, struct fcb_entry *loc);
72 struct flash_sector *fcb_getnext_sector(struct fcb *fcbp, struct flash_sector *sector);
73 int fcb_getnext_nolock(struct fcb *fcbp, struct fcb_entry *loc);
75 int fcb_elem_info(struct fcb *fcbp, struct fcb_entry *loc);
76 int fcb_elem_endmarker(struct fcb *fcbp, struct fcb_entry *loc, uint8_t *crc8p);
78 int fcb_sector_hdr_init(struct fcb *fcbp, struct flash_sector *sector, uint16_t id);
79 int fcb_sector_hdr_read(struct fcb *fcbp, struct flash_sector *sector, struct fcb_disk_area *fdap);