Lines Matching refs:blocksize
336 size_t bsize, u32 blocksize, u32 *swap, in zynq_validate_bitstream() argument
342 buf_start = check_data((u8 *)buf, blocksize, swap); in zynq_validate_bitstream()
420 loff_t blocksize, actread; in zynq_loadfs() local
425 blocksize = fsinfo->blocksize; in zynq_loadfs()
434 if (fs_read(filename, (u32) buf, pos, blocksize, &actread) < 0) in zynq_loadfs()
437 if (zynq_validate_bitstream(desc, buf, bsize, blocksize, &swap, in zynq_loadfs()
444 buf = zynq_align_dma_buffer((u32 *)buf, blocksize, swap); in zynq_loadfs()
446 if (zynq_dma_transfer((u32)buf | 1, blocksize >> 2, in zynq_loadfs()
450 bsize -= blocksize; in zynq_loadfs()
451 pos += blocksize; in zynq_loadfs()
456 if (bsize > blocksize) { in zynq_loadfs()
457 if (fs_read(filename, (u32) buf, pos, blocksize, &actread) < 0) in zynq_loadfs()
463 } while (bsize > blocksize); in zynq_loadfs()
465 buf = zynq_align_dma_buffer((u32 *)buf, blocksize, swap); in zynq_loadfs()