Searched refs:from (Results 26 - 50 of 93) sorted by relevance

1234

/u-boot/drivers/mtd/spi/
H A Dsf_mtd.c52 static int spi_flash_mtd_read(struct mtd_info *mtd, loff_t from, size_t len, argument
61 err = spi_flash_read(flash, from, len, buf);
156 * spi_flash object from being destroyed when del_mtd_device() fails.
H A Dspi-nor-tiny.c4 * influence from lart.c (Abraham Van Der Merwe) and mtd_dataflash.c
9 * Synced from Linux v4.19
86 static ssize_t spi_nor_read_data(struct spi_nor *nor, loff_t from, size_t len, argument
91 SPI_MEM_OP_ADDR(nor->addr_width, from, 1),
238 * 3-byte-address reads come from the second 16M.
394 static int spi_nor_read_tiny(struct mtd_info *mtd, loff_t from, size_t len, argument
400 dev_dbg(nor->dev, "from 0x%08x, len %zd\n", (u32)from, len);
403 loff_t addr = from;
416 from
[all...]
/u-boot/boot/
H A Dbootmeth_cros.c54 * Useful metadata extends from b - 8KB through to b + 32 KB
58 PROBE_SIZE = SZ_4K, /* initial bytes read from partition */
68 * This is read from the disk and recorded for use when the full kernel must
71 * @body_offset: Offset of kernel body from start of partition (in bytes)
73 * @part_start: Block offset of selected partition from the start of the disk
99 static int copy_cmdline(const char *from, const char *uuid, char **bufp) argument
107 len = strnlen(from, sizeof(buf));
112 for (to = buf, end = buf + maxlen - UUID_STR_LEN - 1; *from; from++) {
115 if (from[
[all...]
H A Dimage-board.c164 void memmove_wd(void *to, void *from, size_t len, ulong chunksz) argument
166 if (to == from)
170 if (to > from) {
171 from += len;
178 if (to > from) {
180 from -= tail;
182 memmove(to, from, tail);
183 if (to < from) {
185 from += tail;
190 memmove(to, from, le
[all...]
/u-boot/scripts/dtc/
H A Dupdate-dtc-source.sh11 # Usage: from the top level Linux source tree, run:
25 # * Extract the version number from the dtc repo for the commit message
27 # * run 'make check" on dtc built from the kernel tree
73 This adds the following commits from upstream:
/u-boot/
H A Dconfig.mk7 # This file is included from ./Makefile and spl/Makefile.
11 # That's the reason why this file must be included from spl/Makefile too.
/u-boot/scripts/
H A Dconfig3 # Manipulate options in a .config file from the command line
15 Manipulate options in a .config file from the command line.
/u-boot/cmd/
H A Darmflash.c200 ulong from, to; local
203 from = afi->flash_mem_start + afi->regions[i].offset;
214 memcpy((void *)to, (void *)from, size);
216 printf("loaded region %d from %08lX to %08lX, %08X bytes\n",
218 from,
/u-boot/drivers/mtd/onenand/
H A Donenand_base.c311 * Get OneNAND density from device ID
323 * @param addr offset to read from or write to
538 * @param offset offset to read from or write to
563 * @param offset offset to read from or write to
592 * @param offset offset to read from or write to
764 * @param column oob offset to read from
808 * @param status return value from onenand_wait
836 "Attempting to recover from uncorrectable read\n");
846 * @param from offset to read from
851 onenand_read_ops_nolock(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) argument
1002 onenand_read_oob_nolock(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) argument
1105 onenand_read(struct mtd_info *mtd, loff_t from, size_t len, size_t * retlen, u_char * buf) argument
1132 onenand_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) argument
1214 onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) argument
[all...]
/u-boot/drivers/mtd/
H A Dmtdconcat.c65 concat_read(struct mtd_info *mtd, loff_t from, size_t len, argument
80 if (from >= subdev->size) {
83 from -= subdev->size;
86 if (from + len > subdev->size)
88 size = subdev->size - from;
93 err = mtd_read(subdev, from, size, &retsize, buf);
115 from = 0;
240 concat_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) argument
251 if (from >= subdev->size) {
252 from
[all...]
H A Dcfi_mtd.c67 static int cfi_mtd_read(struct mtd_info *mtd, loff_t from, size_t len, argument
71 u_char *f = (u_char*)(fi->start[0]) + from;
/u-boot/arch/riscv/include/asm/
H A Dio.h333 #define outsb_p(port, from, len) outsb(port, from, len)
334 #define outsw_p(port, from, len) outsw(port, from, len)
335 #define outsl_p(port, from, len) outsl(port, from, len)
/u-boot/include/
H A Dvideo_console.h101 * @x0: left x position, in pixels from left side
102 * @y0: top y position, in pixels from top
137 * move_rows() - Move text rows from one place to another
416 * vidconsole_move_rows() - Move text rows from one place to another
507 * @x: x position from left in pixels
508 * @y: y position from top in pixels
539 * @from and @to can be in either order. The region between them is synced.
542 * @from: Start/end address within the framebuffer (->fb)
547 int vidconsole_sync_copy(struct udevice *dev, void *from, void *to);
568 static inline int vidconsole_sync_copy(struct udevice *dev, void *from, argument
[all...]
H A Dmxs_nand.h68 loff_t from, struct mtd_oob_ops *ops);
H A Dnet6.h281 * ip6_make_snma() - aMake up Solicited Node Multicast Address from IPv6 addr
362 * @from: source IPv6 addr
364 static inline void net_copy_ip6(void *to, const void *from) argument
366 memcpy((void *)to, from, sizeof(struct in6_addr));
443 static inline void net_copy_ip6(void *to, const void *from) argument
/u-boot/common/eeprom/
H A Deeprom_field.c17 int from = reverse ? field->size - 1 : 0; local
21 for (i = from; i != to; reverse ? i-- : i++)
/u-boot/common/
H A Dusb_kbd.c6 * Part of this source has been derived from the Linux USB
451 /* gets the character from the queue */
584 printf("Failed to get keyboard state from device %04x:%04x\n",
/u-boot/disk/
H A Dpart_amiga.c36 static void bcpl_strcpy(char *to, char *from) argument
38 int len = *from++;
42 *to++ = *from++;
180 PRINTF("Scanning for BOOT from 0 to %d\n", limit);
/u-boot/drivers/mtd/nand/raw/
H A Dnand_bbt.c162 * read_bbt - [GENERIC] Read the bad block table starting from page
170 * Read the bad block table starting from page.
178 loff_t from; local
186 from = ((loff_t)page) << this->page_shift;
196 from += marker_len;
199 res = mtd_read(mtd, from, len, &retlen, buf);
203 from & ~mtd->writesize);
207 from & ~mtd->writesize);
249 from += len;
311 * Scan read data from dat
461 loff_t from; local
[all...]
H A Dmxc_nand_spl.c242 /* main copy loop from NAND-buffer to SDRAM memory */
282 int nand_spl_load_image(uint32_t from, unsigned int size, void *buf) argument
292 page = from / CONFIG_SYS_NAND_PAGE_SIZE;
329 * from NAND into SDRAM and starts it from there.
342 /* Copy from NAND successful, start U-Boot */
346 /* Unrecoverable error when copying from NAND */
/u-boot/fs/ubifs/
H A Dlpt_commit.c68 * @cnode: cnode from which to begin searching
155 * This function finds the next empty LEB in the ltab starting from @lnum. If a
341 * function starting from @lnum. If a LEB is found it is returned in @lnum and
374 int lnum, offs, len, from, err, wlen, alen, done_ltab, done_lsave; local
383 from = offs;
414 wlen = offs - from;
418 err = ubifs_leb_write(c, lnum, buf + from, from,
427 offs = from = 0;
474 wlen = offs - from;
[all...]
/u-boot/drivers/video/
H A Dvideo-uclass.c144 debug("Video frame buffers from %lx to %lx\n", gd->video_bottom,
436 int video_sync_copy(struct udevice *dev, void *from, void *to) argument
444 if ((ulong)to > (ulong)from) {
445 size = to - from;
446 offset = from - priv->fb;
448 size = from - to;
461 "[** FAULT sync_copy fb=%p, from=%p, to=%p, offset=%lx]",
462 priv->fb, from, to, offset);
/u-boot/include/linux/mtd/
H A Donenand.h175 int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from,
/u-boot/arch/arm/cpu/armv7/
H A Dcache_v7_asm.S23 * Note: copied from arch/arm/mm/cache-v7.S of Linux 4.4
29 ands r3, r3, #7 << 1 @ extract LoC*2 from clidr
35 mov r1, r0, lsr r2 @ extract cache type bits from clidr
91 * Note: copied from __v7_flush_dcache_all above with
100 ands r3, r3, #7 << 1 @ extract LoC*2 from clidr
105 mov r1, r0, lsr r2 @ extract cache type bits from clidr
/u-boot/drivers/spi/
H A Dti_qspi.c33 /* AM4372: QSPI gets SPI_GCLK from PRCM unit as PER_CLKOUTM2 divided by 4. */
261 /* TODO: control from sf layer to here through dm-spi */
331 u32 from = 0; local
344 from = op->addr.val;
345 if (from + op->data.nbytes > priv->mmap_size)
353 (void *)priv->memory_map + from, op->data.nbytes);

Completed in 434 milliseconds

1234