Home
last modified time | relevance | path

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

/bootable/bootloader/legacy/include/boot/
Dflash.h56 void *data, unsigned bytes);
57 #define flash_read(ptn, offset, data, bytes) flash_read_ext(ptn, 0, offset, data, bytes) argument
59 const void *data, unsigned bytes);
Dtags.h37 void (*func)(unsigned type, void *data, unsigned bytes, void *cookie);
/bootable/bootloader/legacy/libboot/
Dtags_partition.c33 static void ptn_importer(unsigned tag, void *data, unsigned bytes, void *cookie) in ptn_importer() argument
38 while(bytes >= sizeof(*ptn)) { in ptn_importer()
42 bytes -= sizeof(*ptn); in ptn_importer()
Dtags_serialno.c33 static void tag_serialno(unsigned tag, void *data, unsigned bytes, void *cookie) in tag_serialno() argument
35 if(bytes == 8) { in tag_serialno()
Dtags_revision.c33 static void tag_revision(unsigned tag, void *data, unsigned bytes, void *cookie) in tag_revision() argument
35 if(bytes == 4) { in tag_revision()
Dtags_cmdline.c33 static void tag_cmdline(unsigned tag, void *data, unsigned bytes, void *cookie) in tag_cmdline() argument
/bootable/bootloader/legacy/
Dfastboot_protocol.txt15 * Max packet size must be 64 bytes for full-speed and 512 bytes for
25 packet no greater than 64 bytes.
27 2. Client response with a single packet no greater than 64 bytes.
28 The first four bytes of the response are "OKAY", "FAIL", "DATA",
29 or "INFO". Additional bytes may contain an (ascii) informative
32 a. INFO -> the remaining 60 bytes are an informative message
36 b. FAIL -> the requested command failed. The remaining 60 bytes
43 A DATA response packet will be 12 bytes long, in the form of
50 until the client has sent or received the number of bytes indicated
53 4. Client responds with a single packet no greater than 64 bytes.
[all …]
/bootable/bootloader/legacy/arch_msm7k/
Dnand.c527 … flash_read_ext(ptentry *ptn, unsigned extra_per_page, unsigned offset, void *data, unsigned bytes) in flash_read_ext() argument
531 unsigned count = (bytes + 2047 + extra_per_page) / (2048 + extra_per_page); in flash_read_ext()
560 int flash_write(ptentry *ptn, unsigned extra_per_page, const void *data, unsigned bytes) in flash_write() argument
572 while(bytes > 0) { in flash_write()
573 if(bytes < wsize) { in flash_write()
574 dprintf("flash_write_image: image undersized (%d < %d)\n", bytes, wsize); in flash_write()
598 bytes += (page & 63) * wsize; in flash_write()
609 bytes -= wsize; in flash_write()