Lines Matching refs:uf
195 struct rtas_update_flash_t *uf;
197 uf = (struct rtas_update_flash_t *) dp->data;
198 if (uf->flist) {
206 if (uf->status != FLASH_AUTH)
207 uf->status = flash_list_valid(uf->flist);
209 if (uf->status == FLASH_IMG_READY)
210 rtas_firmware_flash_list = uf->flist;
212 free_flash_list(uf->flist);
214 uf->flist = NULL;
257 struct rtas_update_flash_t *uf;
261 uf = (struct rtas_update_flash_t *) dp->data;
264 get_flash_status_msg(uf->status, msg);
266 sprintf(msg, "%d\n", uf->status);
301 struct rtas_update_flash_t *uf;
306 uf = (struct rtas_update_flash_t *) dp->data;
308 if (uf->status == FLASH_AUTH || count == 0)
315 if (uf->flist == NULL) {
316 uf->flist = kmem_cache_alloc(flash_block_cache, GFP_KERNEL);
317 if (!uf->flist)
321 fl = uf->flist;