/lk-master/app/lkboot/ |
A D | lkboot.c | 53 lkb_read_hook *read; member 62 lkb_t *lkboot_create_lkb(void *cookie, lkb_read_hook *read, lkb_write_hook *write) { in lkboot_create_lkb() argument 70 lkb->read = read; in lkboot_create_lkb() 151 if (lkb->read(lkb->cookie, &hdr, sizeof(hdr))) goto fail; in lkb_read() 160 if (lkb->read(lkb->cookie, data, len)) goto fail; in lkb_read() 164 if (lkb->read(lkb->cookie, data, lkb->avail)) { in lkb_read() 187 if (lkb->read(lkb->cookie, &hdr, sizeof(hdr))) goto fail; in lkboot_process_command() 190 if (lkb->read(lkb->cookie, cmd, hdr.length)) goto fail; in lkboot_process_command()
|
A D | lkboot.h | 23 lkb_t *lkboot_create_lkb(void *cookie, lkb_read_hook *read, lkb_write_hook *write);
|
/lk-master/app/tests/ |
A D | cbuf_tests.c | 105 int read = cbuf_read(&cbuf, buf_in, to_read, false); in cbuf_tests() local 106 ASSERT_LEQ(read, to_read); in cbuf_tests() 108 for (int i = 0; i < read; ++i) { in cbuf_tests() 112 pos_in += read; in cbuf_tests()
|
/lk-master/lib/io/ |
A D | io.c | 27 if (!io->hooks->read) in io_read() 30 return io->hooks->read(io, buf, len); in io_read()
|
/lk-master/dev/class/ |
A D | uart_api.c | 18 if (ops->read) in class_uart_read() 19 return ops->read(dev, buf, len); in class_uart_read()
|
A D | block_api.c | 50 if (ops->read) in class_block_read() 51 return ops->read(dev, offset, buf, count); in class_block_read()
|
A D | i2c_api.c | 28 if (ops->read) in class_i2c_read() 29 return ops->read(dev, addr, buf, len); in class_i2c_read()
|
/lk-master/arch/microblaze/ |
A D | linker.ld | 16 /* text/read-only data */ 83 /* read-write small data with initial value */ 102 /* read only small variables without initial value */ 107 /* read-write small variables without initial value */
|
/lk-master/arch/mips/ |
A D | linker.ld | 9 /* text/read-only data */ 55 /* read only small variables without initial value */ 88 /* read-write small data with initial value */ 107 /* read-write small variables without initial value */
|
/lk-master/external/platform/lpc15xx/lpcopen/periph_i2cs_interrupt/example/ |
A D | readme.dox | 41 * EEPROMs have their memory locations set and read via I2C write and read 45 …TART> <ADDR><W> Write 16-bit address <REPEAT START><R> READ READ ... READ <STOP> (unbound read)<br> 47 * - <START> <ADDR><R> READ READ ... READ <STOP> (unbound read)<br> 50 * Unbound read oeprations have no limit on size and will go as long as the master
|
/lk-master/arch/riscv/ |
A D | linker-twosegment.ld | 4 * In this case the read only portion of the binary lives in read only 24 /* text/read-only data */
|
/lk-master/external/platform/lpc15xx/lpcopen/periph_eeprom/example/ |
A D | readme.dox | 2 * @brief EEPROM example using IAP command to read/write from/to EEPROM 32 /** @defgroup EXAMPLES_PERIPH_15XX_EEPROM LPC15xx EEPROM read/write example 35 * This examples uses the IAP commands to read and write a small test
|
/lk-master/tools/moot/ |
A D | mtldr | 126 … resp = self._ep_in.read(CommandDispatcher.response_struct_len, timeout=timeout).tostring() 128 resp = self._ep_in.read(CommandDispatcher.response_struct_len).tostring() 171 resp = self._ep_in.read(int(datalen), timeout=CommandDispatcher.data_phase_timeout) 241 binary = file.read()
|
/lk-master/external/platform/pico/rp2_common/pico_stdio/ |
A D | stdio.c | 120 int read = driver->in_chars(buf, len); in stdio_get_until() local 121 if (read > 0) { in stdio_get_until() 122 return read; in stdio_get_until()
|
/lk-master/external/lib/lwip/netif/ |
A D | ethernetif.c | 195 read data into(q->payload, q->len); 197 acknowledge that packet has been read();
|
/lk-master/dev/include/dev/class/ |
A D | uart.h | 16 ssize_t (*read)(struct device *dev, void *buf, size_t len); member
|
A D | block.h | 21 ssize_t (*read)(struct device *dev, off_t offset, void *buf, size_t count); member
|
A D | i2c.h | 18 status_t (*read)(struct device *dev, uint8_t addr, void *buf, size_t len); member
|
/lk-master/platform/lpc15xx/ |
A D | lpccheck.py | 12 a = struct.unpack('iiiiiii', f.read(7*4))
|
/lk-master/tools/ |
A D | bin2h.py | 19 f = bytearray(sys.stdin.read(), 'utf-8')
|
A D | liblkboot.c | 24 r = read(s, data, len); in readx() 116 if (read(fd, &buf[sizeof(buf) - 1], 1) < 1) { in trim_fpga_image()
|
/lk-master/docs/ |
A D | todo.md | 11 + lib console make read only blocks
|
/lk-master/lib/io/include/lib/ |
A D | io.h | 33 ssize_t (*read)(struct io_handle *handle, char *buf, size_t len); member
|
/lk-master/platform/zynq/ |
A D | mkbootheader.py | 78 buf = fin.read(1024)
|
/lk-master/external/platform/pico/rp2_common/boot_stage2/ |
A D | pad_checksum | 30 idata = open(args.ifile, "rb").read()
|