ebh.c | 1 /* $NetBSD: ebh.c,v 1.11 2025/01/08 11:39:50 andvar Exp $ */ 38 #include "ebh.h" 45 int nor_calc_data_offs(struct chfs_ebh *ebh, int pebnr, int offset); 46 int nand_calc_data_offs(struct chfs_ebh *ebh, int pebnr, int offset); 47 int nor_read_eb_hdr(struct chfs_ebh *ebh, int pebnr, struct chfs_eb_hdr *ebhdr); 48 int nand_read_eb_hdr(struct chfs_ebh *ebh, int pebnr, struct chfs_eb_hdr *ebhdr); 49 int nor_write_eb_hdr(struct chfs_ebh *ebh, int pebnr, struct chfs_eb_hdr *ebhdr); 50 int nand_write_eb_hdr(struct chfs_ebh *ebh, int pebnr,struct chfs_eb_hdr *ebhdr); 51 int nor_check_eb_hdr(struct chfs_ebh *ebh, void *buf); 52 int nand_check_eb_hdr(struct chfs_ebh *ebh, void *buf) 877 struct chfs_ebh *ebh = priv->ebh; local in function:erase_callback 1093 struct chfs_ebh *ebh = data; local in function:erase_thread [all...] |