Lines Matching refs:sfl
67 hndsflash_read(hndsflash_t *sfl, uint offset, uint len, const uchar *buf)
69 ASSERT(sfl);
70 ASSERT(sfl->read);
72 return (sfl->read)(sfl, offset, len, buf);
79 hndsflash_write(hndsflash_t *sfl, uint offset, uint len, const uchar *buf)
81 ASSERT(sfl);
82 ASSERT(sfl->write);
84 return (sfl->write)(sfl, offset, len, (const uchar *)buf);
91 hndsflash_erase(hndsflash_t *sfl, uint offset)
93 ASSERT(sfl);
94 ASSERT(sfl->erase);
96 return (sfl->erase)(sfl, offset);
103 int hndsflash_commit(hndsflash_t *sfl, uint offset, uint len, const uchar *buf)
105 ASSERT(sfl);
106 ASSERT(sfl->commit);
108 return (sfl->commit)(sfl, offset, len, (const uchar *)buf);
112 int hndsflash_poll(hndsflash_t *sfl, uint offset)
114 ASSERT(sfl);
116 if (!sfl->poll)
119 return (sfl->poll)(sfl, offset);