Searched refs:amtcopy (Results 1 - 11 of 11) sorted by relevance
/broadcom-cfe-1.4.2/cfe/main/ |
H A D | zipstart_readz.c | 251 int amtcopy; local 260 amtcopy = len; 261 if (amtcopy > file->zlibfs_outlen) { 262 amtcopy = file->zlibfs_outlen; 268 rz_memcpy(buf,file->zlibfs_outptr,amtcopy); 269 buf += amtcopy; 273 file->zlibfs_outptr += amtcopy; 274 file->zlibfs_outlen -= amtcopy; 275 len -= amtcopy; 276 ttlcopy += amtcopy; 285 int amtcopy; local [all...] |
H A D | cfe_ldr_raw.c | 183 int amtcopy; local 303 amtcopy = maxsize; 306 onedot = amtcopy / 10; /* ten dots for entire load */ 310 while (amtcopy > 0) { 312 if (thisamt > amtcopy) thisamt = amtcopy; 320 amtcopy -= res;
|
H A D | cfe_xmodem.c | 642 int amtcopy; local 656 amtcopy = len; 658 if (amtcopy > (xmf->xmodem_blksize-xmf->xmodem_blkoffset)) { 659 amtcopy = (xmf->xmodem_blksize-xmf->xmodem_blkoffset); 663 hs_memcpy_to_hs(buf,&(xmf->xmodem_buffer[xmf->xmodem_blkoffset+HEADERSIZE]),amtcopy); 664 buf += amtcopy; 667 xmf->xmodem_blkoffset += amtcopy; 668 len -= amtcopy; 669 xmf->xmodem_fileoffset += amtcopy; 670 copied += amtcopy; [all...] |
H A D | cfe_zlibfs.c | 312 int amtcopy; local 321 amtcopy = len; 322 if (amtcopy > file->zlibfs_outlen) { 323 amtcopy = file->zlibfs_outlen; 329 hs_memcpy_to_hs(buf,file->zlibfs_outptr,amtcopy); 330 buf += amtcopy; 334 file->zlibfs_outptr += amtcopy; 335 file->zlibfs_outlen -= amtcopy; 336 len -= amtcopy; 337 ttlcopy += amtcopy; [all...] |
H A D | cfe_fatfs.c | 1742 int amtcopy; local 1792 amtcopy = len; 1793 if (amtcopy > (SECTORSIZE-offset)) { 1794 amtcopy = (SECTORSIZE-offset); 1809 if ((offset == 0) && (amtcopy == SECTORSIZE)) { 1815 hs_memcpy_to_hs(buf,temp_buf,amtcopy); 1825 hs_memcpy_to_hs(buf,&(file->ff_sector[offset]),amtcopy); 1832 buf += amtcopy; 1833 file->ff_curpos += amtcopy; 1834 ttlcopy += amtcopy; [all...] |
/broadcom-cfe-1.4.2/cfe/dev/ |
H A D | dev_ide_common.c | 1016 int amtcopy;
local 1033 amtcopy = softc->idecommon_sectorsize - (offset & (softc->idecommon_sectorsize-1));
1034 if (amtcopy > blen) amtcopy = blen;
1035 hs_memcpy_to_hs(bptr,§or[offset & (softc->idecommon_sectorsize-1)],amtcopy);
1036 bptr += amtcopy;
1037 offset += amtcopy;
1038 blen -= amtcopy;
1043 amtcopy = softc->idecommon_sectorsize;
1046 bptr += amtcopy;
1112 int amtcopy; local [all...] |
/broadcom-cfe-1.4.2/cfe/net/ |
H A D | net_tftp.c | 637 int amtcopy; local 646 amtcopy = len; 648 if (amtcopy > (info->tftp_blklen-info->tftp_blkoffset)) { 649 amtcopy = (info->tftp_blklen-info->tftp_blkoffset); 653 hs_memcpy_to_hs(buf,&(info->tftp_data[info->tftp_blkoffset]),amtcopy); 654 buf += amtcopy; 657 info->tftp_blkoffset += amtcopy; 658 len -= amtcopy; 659 info->tftp_fileoffset += amtcopy; 660 copied += amtcopy; 692 int amtcopy; local [all...] |
/broadcom-cfe-1.4.2/cfe/usb/ |
H A D | usbmass.c | 937 int amtcopy; local 956 amtcopy = softc->usbdisk_sectorsize - (offset & (softc->usbdisk_sectorsize-1)); 957 if (amtcopy > blen) amtcopy = blen; 958 hs_memcpy_to_hs(bptr,§or[offset & (softc->usbdisk_sectorsize-1)],amtcopy); 959 bptr += amtcopy; 960 offset += amtcopy; 961 blen -= amtcopy; 973 amtcopy = seccnt << sectorshift; 974 bptr += amtcopy; 1041 int amtcopy; local [all...] |
H A D | usbd.c | 964 int amtcopy; local 977 amtcopy = usb_get_string_descriptor(dev,id,respbuf,2); 985 amtcopy = usb_get_string_descriptor(dev,id,respbuf,maxlen); 988 amtcopy = sdscr->bLength - 2; 989 if (amtcopy <= 0) return amtcopy; 991 for (idx = 0; idx < amtcopy; idx+=2) { 999 return amtcopy; 1024 int amtcopy; local 1038 amtcopy [all...] |
H A D | ohci.c | 1578 int amtcopy; local 1677 amtcopy = len; 1678 if (amtcopy > pktlen) amtcopy = pktlen; 1682 curtd->td_be = BSWAP32(OHCI_VTOD(ptr+amtcopy)-1); 1687 curtransfer->t_length = amtcopy; 1693 ptr += amtcopy; 1694 len -= amtcopy; 2240 int amtcopy; local 2242 amtcopy [all...] |
/broadcom-cfe-1.4.2/cfe/ui/ |
H A D | ui_flash.c | 249 int amtcopy; local 529 amtcopy = cfe_writeblk(fh,offset,PTR2HSADDR(ptr),copysize); 531 if (copysize == amtcopy) { 532 xprintf("done. %d bytes written\n",amtcopy); 536 ui_showerror(amtcopy,"Failed.");
|
Completed in 72 milliseconds