Lines Matching refs:sfl
53 init_mtd_partitions(hndsflash_t *sfl, struct mtd_info *mtd, size_t size);
62 hndsflash_t *sfl;
71 bcmsflash_mtd_poll(hndsflash_t *sfl, unsigned int offset, int timeout)
77 if (!hndsflash_poll(sfl, offset))
81 if (!hndsflash_poll(sfl, offset))
97 hndsflash_t *sfl = ((struct bcmsflash_mtd *)mtd->priv)->sfl;
110 if ((bytes = hndsflash_read(sfl, (uint)from, len, buf))
128 hndsflash_t *sfl = ((struct bcmsflash_mtd *)mtd->priv)->sfl;
140 if ((bytes = hndsflash_write(sfl, (uint)to, len, (u_char *)buf))
145 if ((ret = bcmsflash_mtd_poll(sfl, (unsigned int)to, HZ)))
160 hndsflash_t *sfl = ((struct bcmsflash_mtd *)mtd->priv)->sfl;
180 if ((ret = hndsflash_erase(sfl, addr)) < 0)
182 if ((ret = bcmsflash_mtd_poll(sfl, addr, 10 * HZ)))
234 bcmsflash.sfl = info;