Home
last modified time | relevance | path

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

12345678910>>...33

/u-boot/test/dm/
A Dmmc.c33 char write[4 * 512], read[4 * 512]; in dm_test_mmc_blk() local
43 ut_asserteq(4, blk_dread(dev_desc, 0, 4, read)); in dm_test_mmc_blk()
44 ut_asserteq_mem(write, read, sizeof(write)); in dm_test_mmc_blk()
49 ut_asserteq(4, blk_dread(dev_desc, 0, 4, read)); in dm_test_mmc_blk()
50 ut_asserteq_mem(write, read, sizeof(write)); in dm_test_mmc_blk()
/u-boot/drivers/mtd/nand/raw/
A Dnand_spl_loaders.c104 int page, read; in nand_spl_read_block() local
119 read = min(len, CONFIG_SYS_NAND_PAGE_SIZE - offset); in nand_spl_read_block()
120 memcpy(dst, scratch_buf + offset, read); in nand_spl_read_block()
124 read = CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_read_block()
127 len -= read; in nand_spl_read_block()
128 dst += read; in nand_spl_read_block()
/u-boot/common/spl/
A Dspl_semihosting.c14 long read; in smh_read_full() local
16 read = smh_read(fd, memp, len); in smh_read_full()
17 if (read < 0) in smh_read_full()
18 return read; in smh_read_full()
19 if (read != len) in smh_read_full()
A Dspl_nor.c51 load.read = spl_nor_load_read; in spl_nor_load_image()
99 load.read = spl_nor_load_read; in spl_nor_load_image()
107 load.read = spl_nor_load_read; in spl_nor_load_image()
117 load.read = spl_nor_load_read; in spl_nor_load_image()
/u-boot/doc/SPI/
A Dstatus.txt12 - Added memory_mapped support for read operations.
14 - Extended read commands support(dual read, dual IO read)
16 - Quad Read support(quad fast read, quad IO read)
/u-boot/drivers/i2c/
A Dihs_i2c.c58 static int wait_for_int(struct udevice *dev, int read) in wait_for_int() argument
67 | (read ? I2CINT_RECEIVE_EV : I2CINT_TRANSMIT_EV)))) { in wait_for_int()
80 uchar *buffer, int len, int read, bool is_last) in ihs_i2c_transfer() argument
93 if (!read && len) { in ihs_i2c_transfer()
102 | (read ? 0 : I2CMB_WRITE) in ihs_i2c_transfer()
109 res = wait_for_int(dev, read); in ihs_i2c_transfer()
118 if (read) { in ihs_i2c_transfer()
128 …nt ihs_i2c_send_buffer(struct udevice *dev, uchar chip, u8 *data, int len, bool hold_bus, int read) in ihs_i2c_send_buffer() argument
136 res = ihs_i2c_transfer(dev, chip, data, transfer, read, in ihs_i2c_send_buffer()
155 int alen, uchar *buffer, int len, int read) in ihs_i2c_access() argument
[all …]
/u-boot/doc/usage/cmd/
A Dread.rst3 read and write commands
11 read <interface> <dev[:part|#partname]> <addr> <blk#> <cnt>
14 The read and write commands can be used for raw access to data in
18 read section in read and write commands
31 The write command is completely equivalent to the read command, except
38 read mmc 2.3 $loadaddr 0 0x1000
41 read mmc 1#kernel $loadaddr 0 0x8000
A Drng.rst17 prints the random bytes read on the console. A maximum of 64 bytes can
18 be read in one invocation of the command.
22 read. Defaults to 0.
25 Number of random bytes to be read and displayed on the
A Dload.rst16 The load command is used to read a file from a filesystem into memory.
51 149280 bytes read in 11 ms (12.9 MiB/s)
54 149280 bytes read in 9 ms (15.8 MiB/s)
57 149024 bytes read in 10 ms (14.2 MiB/s)
60 16 bytes read in 1 ms (15.6 KiB/s)
A Dfatload.rst16 The fatload command is used to read a file from a FAT filesystem into memory.
57 149280 bytes read in 11 ms (12.9 MiB/s)
60 149280 bytes read in 9 ms (15.8 MiB/s)
63 149024 bytes read in 10 ms (14.2 MiB/s)
66 16 bytes read in 1 ms (15.6 KiB/s)
/u-boot/arch/arm/dts/
A Dkeystone-k2l-evm.dts53 ti,cs-read-hold-ns = <6>;
54 ti,cs-read-strobe-ns = <23>;
55 ti,cs-read-setup-ns = <9>;
78 read-only;
84 read-only;
102 m25p,fast-read;
108 read-only;
A Dkeystone-k2e-evm.dts76 ti,cs-read-hold-ns = <6>;
77 ti,cs-read-strobe-ns = <23>;
78 ti,cs-read-setup-ns = <9>;
101 read-only;
107 read-only;
125 m25p,fast-read;
131 read-only;
A Dkeystone-k2hk-evm.dts97 ti,cs-read-hold-ns = <6>;
98 ti,cs-read-strobe-ns = <23>;
99 ti,cs-read-setup-ns = <9>;
122 read-only;
128 read-only;
153 m25p,fast-read;
159 read-only;
/u-boot/doc/
A DREADME.sata6 * ext2load to read a file from ext2 file system
8 1.0 How to read the SATA hard disk's information?
34 1.2 How to raw read the kernel, file system, dtb from a SATA hard disk?
37 => sata read 200000 0 2000
40 => sata read 1000000 2000 8000
43 => sata read 2000000 a000 1000
/u-boot/drivers/mtd/onenand/
A Donenand_spl.c134 int page, read; in onenand_spl_read_block() local
153 read = min(len, psize - offset); in onenand_spl_read_block()
154 memcpy(dst, scratch_buf + offset, read); in onenand_spl_read_block()
158 read = psize; in onenand_spl_read_block()
161 len -= read; in onenand_spl_read_block()
162 dst += read; in onenand_spl_read_block()
/u-boot/arch/x86/include/asm/acpi/
A Dcpu.asl9 /* Notify OS to re-read CPU tables */
15 /* Notify OS to re-read CPU _PPC limit */
21 /* Notify OS to re-read Throttle Limit tables */
/u-boot/tools/dtoc/
A Dtest_dtoc.py813 data = infile.read()
819 data = infile.read()
825 data = infile.read()
841 data = infile.read()
852 data = infile.read()
890 data = infile.read()
901 data = infile.read()
930 data = infile.read()
943 data = infile.read()
1028 data = infile.read()
[all …]
/u-boot/lib/
A Dsemihosting.c98 struct smh_rdwr_s read; in smh_read() local
102 read.fd = fd; in smh_read()
103 read.memp = memp; in smh_read()
104 read.len = len; in smh_read()
106 ret = smh_trap(SYSREAD, &read); in smh_read()
/u-boot/drivers/misc/
A Drockchip-efuse.c53 int (*read)(struct udevice *dev, int offset, void *buf, int size); member
236 if (!data->read) in rockchip_efuse_read()
242 ret = data->read(dev, offset, buf, size); in rockchip_efuse_read()
255 ret = data->read(dev, block_start, buffer, blocks); in rockchip_efuse_read()
266 .read = rockchip_efuse_read,
279 .read = rockchip_rk3036_efuse_read,
284 .read = rockchip_rk3128_efuse_read,
289 .read = rockchip_rk3288_efuse_read,
294 .read = rockchip_rk3328_efuse_read,
301 .read = rockchip_rk3399_efuse_read,
A Drockchip-otp.c69 int (*read)(struct udevice *dev, int offset, void *buf, int size); member
247 if (!data->read) in rockchip_otp_read()
253 ret = data->read(dev, offset, buf, size); in rockchip_otp_read()
266 ret = data->read(dev, block_start, buffer, blocks); in rockchip_otp_read()
277 .read = rockchip_otp_read,
290 .read = rockchip_px30_otp_read,
295 .read = rockchip_rk3568_otp_read,
301 .read = rockchip_rk3588_otp_read,
/u-boot/drivers/rng/
A Doptee_rng.c123 size_t read = 0, rng_size = 0; in optee_rng_read() local
141 while (read < len) { in optee_rng_read()
142 rng_size = min(len - read, (size_t)MAX_ENTROPY_REQ_SZ); in optee_rng_read()
147 read += rng_size; in optee_rng_read()
181 .read = optee_rng_read,
A Drng-uclass.c16 if (!ops->read) in dm_rng_read()
19 return ops->read(dev, buffer, size); in dm_rng_read()
/u-boot/drivers/pci/
A Dpci_compat.c25 PCI_HOSE_OP(read, byte, 8, u8 *)
26 PCI_HOSE_OP(read, word, 16, u16 *)
27 PCI_HOSE_OP(read, dword, 32, u32 *)
/u-boot/arch/mips/mach-mscc/
A Dphy.c10 int mscc_phy_rd_wr(u8 read, in mscc_phy_rd_wr() argument
20 data = (read ? MSCC_F_MII_CMD_MIIM_CMD_OPR_FIELD(2) : /* Read */ in mscc_phy_rd_wr()
44 if (read) { in mscc_phy_rd_wr()
/u-boot/drivers/axi/
A Daxi_sandbox.c37 if (!ops || !ops->read) in axi_sandbox_read()
40 return ops->read(emul, address, data, size); in axi_sandbox_read()
68 .read = axi_sandbox_read,

Completed in 39 milliseconds

12345678910>>...33