Lines Matching refs:numbytes
585 int numbytes; in ocd_write_bytes() local
589 numbytes = min (len, 256 - 8); in ocd_write_bytes()
596 buf[7] = numbytes; in ocd_write_bytes()
598 memcpy (&buf[8], myaddr, numbytes); in ocd_write_bytes()
599 ocd_put_packet (buf, 8 + numbytes); in ocd_write_bytes()
615 numbytes = error_address - memaddr; in ocd_write_bytes()
617 len -= numbytes; in ocd_write_bytes()
626 len -= numbytes; in ocd_write_bytes()
627 memaddr += numbytes; in ocd_write_bytes()
628 myaddr += numbytes; in ocd_write_bytes()
656 int numbytes; in ocd_read_bytes() local
660 numbytes = min (len, 256 - 7); in ocd_read_bytes()
667 buf[6] = numbytes; in ocd_read_bytes()
685 numbytes = error_address - memaddr; in ocd_read_bytes()
687 len -= numbytes; in ocd_read_bytes()
696 memcpy (myaddr, &p[4], numbytes); in ocd_read_bytes()
698 len -= numbytes; in ocd_read_bytes()
699 memaddr += numbytes; in ocd_read_bytes()
700 myaddr += numbytes; in ocd_read_bytes()