Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 64) sorted by relevance

123

/lk-master/app/lkboot/
A Dlkboot.c53 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 Dlkboot.h23 lkb_t *lkboot_create_lkb(void *cookie, lkb_read_hook *read, lkb_write_hook *write);
/lk-master/app/tests/
A Dcbuf_tests.c105 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 Dio.c27 if (!io->hooks->read) in io_read()
30 return io->hooks->read(io, buf, len); in io_read()
/lk-master/dev/class/
A Duart_api.c18 if (ops->read) in class_uart_read()
19 return ops->read(dev, buf, len); in class_uart_read()
A Dblock_api.c50 if (ops->read) in class_block_read()
51 return ops->read(dev, offset, buf, count); in class_block_read()
A Di2c_api.c28 if (ops->read) in class_i2c_read()
29 return ops->read(dev, addr, buf, len); in class_i2c_read()
/lk-master/arch/microblaze/
A Dlinker.ld16 /* 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 Dlinker.ld9 /* 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 Dreadme.dox41 * 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 Dlinker-twosegment.ld4 * 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 Dreadme.dox2 * @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 Dmtldr126 … 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 Dstdio.c120 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 Dethernetif.c195 read data into(q->payload, q->len);
197 acknowledge that packet has been read();
/lk-master/dev/include/dev/class/
A Duart.h16 ssize_t (*read)(struct device *dev, void *buf, size_t len); member
A Dblock.h21 ssize_t (*read)(struct device *dev, off_t offset, void *buf, size_t count); member
A Di2c.h18 status_t (*read)(struct device *dev, uint8_t addr, void *buf, size_t len); member
/lk-master/platform/lpc15xx/
A Dlpccheck.py12 a = struct.unpack('iiiiiii', f.read(7*4))
/lk-master/tools/
A Dbin2h.py19 f = bytearray(sys.stdin.read(), 'utf-8')
A Dliblkboot.c24 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 Dtodo.md11 + lib console make read only blocks
/lk-master/lib/io/include/lib/
A Dio.h33 ssize_t (*read)(struct io_handle *handle, char *buf, size_t len); member
/lk-master/platform/zynq/
A Dmkbootheader.py78 buf = fin.read(1024)
/lk-master/external/platform/pico/rp2_common/boot_stage2/
A Dpad_checksum30 idata = open(args.ifile, "rb").read()

Completed in 21 milliseconds

123