Home
last modified time | relevance | path

Searched refs:bytecount (Results 1 – 8 of 8) sorted by relevance

/rk3399_rockchip-uboot/drivers/fpga/
H A DstratixII.c75 int bytecount; in StratixII_ps_fpp_load() local
125 bytecount = 0; in StratixII_ps_fpp_load()
129 while (bytecount < bsize) { in StratixII_ps_fpp_load()
134 __FUNCTION__, __LINE__, bytecount); in StratixII_ps_fpp_load()
140 uint8_t data = buff[bytecount++]; in StratixII_ps_fpp_load()
151 fns->data (buff[bytecount++], 1, cookie); in StratixII_ps_fpp_load()
165 if ((bytecount % (bsize / 100)) == 0) { in StratixII_ps_fpp_load()
166 printf ("\b\b\b%02d\%", bytecount * 100 / bsize); in StratixII_ps_fpp_load()
H A Dspartan2.c109 size_t bytecount = 0; in spartan2_sp_load() local
171 while (bytecount < bsize) { in spartan2_sp_load()
175 (*fn->wdata) (data[bytecount++], true, cookie); /* write the data */ in spartan2_sp_load()
201 if (bytecount % (bsize / 40) == 0) in spartan2_sp_load()
259 size_t bytecount = 0; in spartan2_sp_dump() local
268 while (bytecount < bsize) { in spartan2_sp_dump()
273 (*fn->rdata) (&(data[bytecount++]), cookie); /* read the data */ in spartan2_sp_dump()
275 if (bytecount % (bsize / 40) == 0) in spartan2_sp_dump()
311 size_t bytecount = 0; in spartan2_ss_load() local
365 while (bytecount < bsize) { in spartan2_ss_load()
[all …]
H A Dspartan3.c113 size_t bytecount = 0; in spartan3_sp_load() local
175 while (bytecount < bsize) { in spartan3_sp_load()
179 (*fn->wdata) (data[bytecount++], true, cookie); /* write the data */ in spartan3_sp_load()
205 if (bytecount % (bsize / 40) == 0) in spartan3_sp_load()
265 size_t bytecount = 0; in spartan3_sp_dump() local
274 while (bytecount < bsize) { in spartan3_sp_dump()
279 (*fn->rdata) (&(data[bytecount++]), cookie); /* read the data */ in spartan3_sp_dump()
281 if (bytecount % (bsize / 40) == 0) in spartan3_sp_dump()
317 size_t bytecount = 0; in spartan3_ss_load() local
378 while (bytecount < bsize) { in spartan3_ss_load()
[all …]
H A Dvirtex2.c167 size_t bytecount = 0; in virtex2_ssm_load() local
249 while (bytecount < bsize) { in virtex2_ssm_load()
259 __FUNCTION__, __LINE__, bytecount); in virtex2_ssm_load()
268 bytecount, bsize); in virtex2_ssm_load()
274 (*fn->wdata) (data[bytecount++], true, cookie); in virtex2_ssm_load()
298 if (bytecount % (bsize / 40) == 0) in virtex2_ssm_load()
364 size_t bytecount = 0; in virtex2_ssm_dump() local
372 while (bytecount < bsize) { in virtex2_ssm_dump()
384 (*fn->rdata) (&(data[bytecount++]), cookie); in virtex2_ssm_dump()
386 if (bytecount % (bsize / 40) == 0) in virtex2_ssm_dump()
H A DACEX1K.c100 size_t bytecount = 0; in ACEX1K_ps_load() local
158 while (bytecount < bsize) { in ACEX1K_ps_load()
175 val = data [bytecount ++ ]; in ACEX1K_ps_load()
192 if (bytecount % (bsize / 40) == 0) in ACEX1K_ps_load()
/rk3399_rockchip-uboot/board/astro/mcf5373l/
H A Dfpga.c106 size_t bytecount = 0; in altera_write_fn() local
113 while (bytecount < len) { in altera_write_fn()
114 val = data[bytecount++]; in altera_write_fn()
127 if (bytecount % len_40 == 0) { in altera_write_fn()
328 size_t bytecount = 0; in xilinx_fastwr_config_fn() local
335 for (bytecount = 0; bytecount < len; bytecount++) { in xilinx_fastwr_config_fn()
346 if (bytecount % len_40 == 0) { in xilinx_fastwr_config_fn()
/rk3399_rockchip-uboot/drivers/net/
H A Dxilinx_emaclite.c99 static void xemaclite_alignedread(u32 *srcptr, void *destptr, u32 bytecount) in xemaclite_alignedread() argument
112 while (bytecount > 3) { in xemaclite_alignedread()
114 bytecount -= 4; in xemaclite_alignedread()
121 for (i = 0; i < bytecount; i++) in xemaclite_alignedread()
125 static void xemaclite_alignedwrite(void *srcptr, u32 *destptr, u32 bytecount) in xemaclite_alignedwrite() argument
135 while (bytecount > 3) { in xemaclite_alignedwrite()
138 bytecount -= 4; in xemaclite_alignedwrite()
145 for (i = 0; i < bytecount; i++) in xemaclite_alignedwrite()
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Datmel_usba_udc.c95 unsigned int bytecount, nr_busy; in receive_data() local
111 bytecount = USBA_BFEXT(BYTE_COUNT, status); in receive_data()
115 if (req->req.actual + bytecount >= req->req.length) { in receive_data()
117 bytecount = req->req.length - req->req.actual; in receive_data()
120 memcpy(req->req.buf + req->req.actual, ep->fifo, bytecount); in receive_data()
121 req->req.actual += bytecount; in receive_data()