Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 46) sorted by relevance

12

/lk-master/external/platform/pico/rp2_common/boot_stage2/
A Dpad_checksum47 ofile.write("// Padded and checksummed version of: {}\n\n".format(args.ifile))
48 ofile.write(".cpu cortex-m0plus\n")
49 ofile.write(".thumb\n\n")
50 ofile.write(".section .boot2, \"ax\"\n\n")
53 ofile.write(".byte {}\n".format(", ".join("0x{:02x}".format(b) for b in chunk)))
/lk-master/arch/arm/arm/
A Dfaults.c170 bool write = !!BIT(fsr, 11); in arm_data_abort_handler() local
175 dprintf(CRITICAL, "alignment fault on %s\n", write ? "write" : "read"); in arm_data_abort_handler()
179 dprintf(CRITICAL, "translation fault on %s\n", write ? "write" : "read"); in arm_data_abort_handler()
183 dprintf(CRITICAL, "access flag fault on %s\n", write ? "write" : "read"); in arm_data_abort_handler()
191 dprintf(CRITICAL, "permission fault on %s\n", write ? "write" : "read"); in arm_data_abort_handler()
197 dprintf(CRITICAL, "synchronous external abort on %s\n", write ? "write" : "read"); in arm_data_abort_handler()
200 dprintf(CRITICAL, "asynchronous external abort on %s\n", write ? "write" : "read"); in arm_data_abort_handler()
/lk-master/tools/
A Dlkboot.c46 write(STDERR_FILENO, "\"", 1); in printsysparam()
47 write(STDERR_FILENO, data, len); in printsysparam()
48 write(STDERR_FILENO, "\"\n", 2); in printsysparam()
A Dliblkboot.c75 if (write(s, &hdr, sizeof(hdr)) != sizeof(hdr)) { in upload()
80 if (write(s, buf + pos, xfer) != xfer) { in upload()
91 if (write(s, &hdr, sizeof(hdr)) != sizeof(hdr)) { in upload()
250 if (write(fd_out, &hdr, sizeof(hdr)) != sizeof(hdr)) goto iofail; in lkboot_txn()
251 if (write(fd_out, cmd, len) != len) goto iofail; in lkboot_txn()
A Dbin2h.py23 sys.stdout.write("%#04x," % c)
/lk-master/app/lkboot/
A Dlkboot.c54 lkb_write_hook *write; member
62 lkb_t *lkboot_create_lkb(void *cookie, lkb_read_hook *read, lkb_write_hook *write) { in lkboot_create_lkb() argument
71 lkb->write = write; in lkboot_create_lkb()
112 if (lkb->write(lkb->cookie, &hdr, sizeof(hdr)) != sizeof(&hdr)) { in lkb_send()
117 if (len && (lkb->write(lkb->cookie, data, len) != (ssize_t)len)) { in lkb_send()
A Dlkboot.h23 lkb_t *lkboot_create_lkb(void *cookie, lkb_read_hook *read, lkb_write_hook *write);
/lk-master/lib/io/
A Dio.c18 if (!io->hooks->write) in io_write()
21 return io->hooks->write(io, buf, len); in io_write()
/lk-master/dev/class/
A Duart_api.c30 if (ops->write) in class_uart_write()
31 return ops->write(dev, buf, len); in class_uart_write()
A Dblock_api.c39 if (ops->write) in class_block_write()
40 return ops->write(dev, offset, buf, count); in class_block_write()
A Di2c_api.c17 if (ops->write) in class_i2c_write()
18 return ops->write(dev, addr, buf, len); in class_i2c_write()
/lk-master/platform/zynq/
A Dmkbootheader.py74 fout.write(header)
81 fout.write(buf)
/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 Dmtldr151 self._ep_out.write(command)
164 self._ep_out.write(command)
185 self._ep_out.write(command)
196 self._ep_out.write(data, timeout=CommandDispatcher.data_phase_timeout)
/lk-master/dev/virtio/block/
A Dvirtio-block.c193 …rtio_block_read_write(struct virtio_device *dev, void *buf, off_t offset, size_t len, bool write) { in virtio_block_read_write() argument
204 bdev->blk_req->type = write ? VIRTIO_BLK_T_OUT : VIRTIO_BLK_T_IN; in virtio_block_read_write()
234 … desc->flags |= write ? 0 : VRING_DESC_F_WRITE; /* mark buffer as write-only if its a block read */ in virtio_block_read_write()
266 …next_desc->flags = write ? 0 : VRING_DESC_F_WRITE; /* mark buffer as write-only if its a block rea… in virtio_block_read_write()
/lk-master/dev/virtio/block/include/dev/virtio/
A Dblock.h16 …read_write(struct virtio_device *dev, void *buf, off_t offset, size_t len, bool write) __NONNULL();
/lk-master/dev/include/dev/class/
A Duart.h17 ssize_t (*write)(struct device *dev, const void *buf, size_t len); member
A Dblock.h20 ssize_t (*write)(struct device *dev, off_t offset, const void *buf, size_t count); member
A Di2c.h17 status_t (*write)(struct device *dev, uint8_t addr, const void *buf, size_t len); member
/lk-master/platform/lpc15xx/
A Dlpccheck.py20 f.write(struct.pack('i', s))
/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
46 * - <START> <ADDR><W> Write 16-bit address WRITE WRITE ... WRITE <STOP> (unbound write)<br>
52 * will wrap. All reads and write operations auto-increment. Read operations without a
/lk-master/lib/io/include/lib/
A Dio.h32 ssize_t (*write)(struct io_handle *handle, const char *buf, size_t len); member
/lk-master/arch/microblaze/
A Dlinker.ld83 /* read-write small data with initial value */
107 /* read-write small variables without initial value */
/lk-master/arch/mips/
A Dlinker.ld88 /* read-write small data with initial value */
107 /* read-write small variables without initial value */
/lk-master/external/platform/lpc15xx/lpcopen/periph_flashiap/example/
A Dreadme.dox3 * to write to FLASH memory with FLASH signature generator
33 /** @defgroup EXAMPLES_PERIPH_15XX_FLASHSIG LPC15xx FLASH read/write/signature example

Completed in 16 milliseconds

12