Searched refs:written (Results 1 - 15 of 15) sorted by relevance

/u-boot/drivers/serial/
H A Dserial_semihosting.c47 unsigned long written; local
67 ret = smh_write(priv->outfd, s, len, &written);
68 if (written)
69 return written;
H A Dserial-uclass.c265 ssize_t written = ops->puts(dev, str, len); local
267 if (written < 0)
268 return written;
269 str += written;
270 len -= written;
/u-boot/include/
H A Dsemihosting.h110 * @written: Pointer which will be updated with the actual bytes written
114 long smh_write(long fd, const void *memp, size_t len, ulong *written);
/u-boot/drivers/fastboot/
H A Dfb_nand.c94 size_t length, size_t *written)
102 return nand_write_skip_bad(mtd, offset, &length, written,
111 size_t written; local
116 blkcnt * info->blksz, &written);
122 /* TODO - verify that the value "written" includes the "bad-blocks" ... */
128 return written / info->blksz;
92 _fb_nand_write(struct mtd_info *mtd, struct part_info *part, void *buffer, u32 offset, size_t length, size_t *written) argument
/u-boot/lib/
H A Dsemihosting.c113 long smh_write(long fd, const void *memp, size_t len, ulong *written) argument
125 *written = len - ret;
H A Dmembuff.c45 /* update the head pointer to mark these bytes as written */
66 /* update the head pointer to mark these bytes as written */
71 /* return the number of bytes which can be/must be written */
189 int towrite, i, written; local
191 for (i = written = 0; i < 2; i++) {
192 /* ask where some data can be written */
197 written += towrite;
202 /* return the number of bytes written */
203 return written;
/u-boot/drivers/sound/
H A Dtegra_ahub.c101 ssize_t written = 0; local
108 while (written < len) {
115 written += sizeof(*data);
118 return written;
/u-boot/fs/ubifs/
H A Dio.c29 * boundary) which contains data is written, not the whole write-buffer,
374 * ubifs_prepare_node - prepare node to be written to flash.
380 * This function prepares node at @node to be written to the media - it
408 * ubifs_prep_grp_node - prepare node of a group to be written to flash.
414 * This function prepares node at @node to be written to the media - it
682 * case of failure. If the node cannot be written because there is no more
688 int err, written, n, aligned_len = ALIGN(len, 8); local
751 written = 0;
770 written += wbuf->avail;
789 written
[all...]
/u-boot/drivers/mtd/ubi/
H A Dio.c72 * When the VID header is being written out, it shifts the VID header pointer
223 * of physical eraseblock @pnum. If all the data were successfully written,
228 * Note, in case of an error, it is possible that something was still written
235 size_t written; local
280 err = mtd_write(ubi->mtd, addr, len, &written, buf);
282 ubi_err(ubi, "error %d while writing %d bytes to PEB %d:%d, written %zd bytes",
283 err, len, pnum, offset, written);
287 ubi_assert(written == len);
484 size_t written; local
509 err = mtd_write(ubi->mtd, addr, 4, &written, (voi
[all...]
/u-boot/drivers/mtd/onenand/
H A Donenand_base.c1418 int written = 0, column, thislen, subpage; local
1450 while (written < len) {
1453 thislen = min_t(int, mtd->writesize - column, len - written);
1510 written += thislen;
1512 if (written == len)
1520 ops->retlen = written;
1530 * @param retlen pointer to variable to store the number of written bytes
1541 int written = 0, oobcmd; local
1588 while (written < len) {
1589 int thislen = min_t(int, oobsize, len - written);
[all...]
/u-boot/fs/yaffs2/
H A Dyaffs_yaffs2.c879 int written; local
887 written =
890 if (written == this_write) {
1005 /* This is a partially written block
1010 "Partially written block %d detected. gc will fix this.",
/u-boot/doc/sphinx/
H A Dparse-headers.pl375 The output is written at the (OUT_FILE).
/u-boot/drivers/mtd/spi/
H A Dspi-nor-core.c1129 /* Write status register and ensure bits in mask match written values */
1763 * Write an address range to the nor chip. Data must be written in
1783 ssize_t written; local
1812 written = ret;
1817 *retlen += written;
1818 i += written;
1925 * The first byte will be written to the status register, while the
1926 * second byte will be written to the configuration register.
/u-boot/common/
H A Dcli_hush_upstream.c15 * written Dec 2000 and Jan 2001 by Larry Doolittle. The
19 * written by Erik Andersen <andersen@codepoet.org>. That, in turn,
4481 // as written:
7336 * if word is null) is written to standard error
8305 int len, written; local
8329 written = write(pair.wr, heredoc, len);
8330 if (written <= 0)
8332 len -= written;
8338 heredoc += written;
/u-boot/scripts/
H A Dcheckpatch.pl5732 # Check for bitwise tests written as boolean
6480 "Comparison to NULL could be written \"${equal}${val}\"\n" . $herecurr) &&
7665 Do _NOT_ trust the results written to this file.

Completed in 602 milliseconds