Searched refs:read (Results 126 - 150 of 393) sorted by relevance

1234567891011>>

/u-boot/drivers/mtd/ubi/
H A Dio.c16 * We are trying to have a paranoid mindset and not to trust to what we read
64 * Suppose we have a 64-byte buffer and we read a VID header at it. We change
101 * ubi_io_read - read data from a physical eraseblock.
103 * @buf: buffer where to store the read data
104 * @pnum: physical eraseblock number to read from
105 * @offset: offset within the physical eraseblock from where to read
106 * @len: how many bytes to read
109 * and stores the read data in the @buf buffer. The following return codes are
112 * o %0 if all the requested data were successfully read;
113 * o %UBI_IO_BITFLIPS if all the requested data were successfully read, bu
126 size_t read; local
1315 size_t read; local
1381 size_t read; local
[all...]
/u-boot/drivers/net/phy/
H A Dmiiphybb.c136 * Utility to send the preamble, address, and register (common to read
139 static void miiphy_pre(struct bb_miiphy_bus *bus, char read, argument
161 /* send the start bit (01) and the read opcode (10) or write (10) */
173 bus->set_mdio(bus, read);
178 bus->set_mdio(bus, !read);
233 /* tri-state our MDIO I/O pin so we can read */
257 /* read 16 bits of register data, MSB first */
H A Db53.c143 v = bus->read(bus, BRCM_PSEUDO_PHY_ADDR, MDIO_DEVAD_NONE,
165 *val = bus->read(bus, BRCM_PSEUDO_PHY_ADDR, MDIO_DEVAD_NONE,
179 *val = bus->read(bus, BRCM_PSEUDO_PHY_ADDR, MDIO_DEVAD_NONE,
193 *val = bus->read(bus, BRCM_PSEUDO_PHY_ADDR, MDIO_DEVAD_NONE,
195 *val |= bus->read(bus, BRCM_PSEUDO_PHY_ADDR, MDIO_DEVAD_NONE,
213 temp |= bus->read(bus, BRCM_PSEUDO_PHY_ADDR, MDIO_DEVAD_NONE,
234 temp |= bus->read(bus, BRCM_PSEUDO_PHY_ADDR, MDIO_DEVAD_NONE,
745 } else if (!strcmp(cmd, "read")) {
762 "read mdioname page (hex) offset (hex) width (dec)\n"
/u-boot/net/
H A Dmdio-uclass.c68 if (!ops->read)
71 return ops->read(mdio_dev, addr, devad, reg);
106 * Following read/write/reset functions are registered with legacy MII code.
174 pdata->mii_bus->read = mdio_read;
/u-boot/drivers/block/
H A Dblkmap.c37 * @read: - Read from slice
39 * @read.bm: Blkmap to which this slice belongs
40 * @read.bms: This slice
41 * @read.blknr: Start block number to read from
42 * @read.blkcnt: Number of blocks to read
43 * @read.buffer: Buffer to store read data to
45 ulong (*read)(struc member in struct:blkmap_slice
[all...]
/u-boot/fs/
H A Dfs.c162 int (*read)(const char *filename, void *buf, loff_t offset, member in struct:fstype_info
198 .read = fat_read_file,
226 .read = ext4_read_file,
250 .read = fs_read_sandbox,
269 .read = smh_fs_read,
289 .read = ubifs_read,
310 .read = btrfs_read,
329 .read = sqfs_read,
350 .read = erofs_read,
371 .read
[all...]
/u-boot/fs/btrfs/
H A Dinode.c19 * Return the number of read data.
358 * Return the number of bytes read.
374 /* Uncompressed, just read it out */
417 * Return the number of bytes read.
429 u64 read; local
460 read = len;
464 ret = read_extent_data(fs_info, dest, logical, &read, i);
465 if (ret < 0 || read != len)
486 /* For compressed extent, we must read the whole on-disk extent */
488 read
[all...]
/u-boot/cmd/
H A Dnand.c437 ulong count, int read, int no_verify)
451 if (read) {
473 * read/write past the end of a chip/partition by accident.
673 if (strncmp(cmd, "read", 4) == 0 || strncmp(cmd, "write", 5) == 0) {
676 int read; local
686 read = strncmp(cmd, "read", 4) == 0; /* 1 = read, 0 = write */
687 printf("\nNAND %s: ", read ? "read"
436 raw_access(struct mtd_info *mtd, void *buf, loff_t off, ulong count, int read, int no_verify) argument
[all...]
H A Dmisc.c23 "read",
98 U_BOOT_CMD_MKENT(read, 4, 1, do_misc_read, "", ""),
126 "misc read name offset addr len - read `len' bytes starting at\n"
/u-boot/drivers/i2c/
H A Drcar_i2c.c120 static int rcar_i2c_set_addr(struct udevice *dev, u8 chip, u8 read) argument
124 (read ? RCAR_I2C_ICMSR_MDR : RCAR_I2C_ICMSR_MDE);
142 writel((chip << 1) | read, priv->base + RCAR_I2C_ICMAR);
/u-boot/arch/arm/cpu/armv7/
H A Dcache_v7_asm.S27 mrc p15, 1, r0, c0, c0, 1 @ read clidr
41 mrc p15, 1, r1, c0, c0, 0 @ read the new csidr
98 mrc p15, 1, r0, c0, c0, 1 @ read clidr
111 mrc p15, 1, r1, c0, c0, 0 @ read the new csidr
/u-boot/test/py/tests/
H A Dtest_ums.py7 # read/write tests, and finally aborts the "ums" command in U-Boot.
45 # read-from it. If missing, only a simple block read test will be
143 fh.read(4096)
/u-boot/drivers/net/mscc_eswitch/
H A Dmscc_miim.c95 bus->read = mscc_miim_read;
/u-boot/arch/arm/mach-exynos/
H A Dsec_boot.S99 mrc p15, 0, r7, c0, c0, 5 @ read MPIDR
/u-boot/include/
H A Drtc.h29 * Returns the current time read from the RTC device. The driver
32 * @dev: Device to read from
33 * @time: Place to put the time that is read
43 * @dev: Device to read from
55 * @dev: Device to read from
61 * read() - Read multiple 8-bit registers
63 * @dev: Device to read from
64 * @reg: First register to read
66 * @len: Number of registers to read
69 int (*read)(struc member in struct:rtc_ops
[all...]
/u-boot/drivers/net/
H A Dhifemac_mdio.c103 .read = hisi_femac_mdio_read,
H A Dmdio-ipq4019.c64 /* Issue read command */
67 /* Wait read complete */
104 .read = ipq4019_mdio_read,
H A Daspeed_mdio.c97 .read = aspeed_mdio_read,
H A Dpic32_mdio.c58 /* Initiate a read command */
64 /* Wait for read to complete */
72 /* Grab the value read from the PHY */
114 bus->read = pic32_mdio_read;
/u-boot/drivers/rng/
H A Dmsm_rng.c50 /* read random data from hardware */
126 .read = msm_rng_read,
H A Dnpcm_rng.c145 .read = npcm_rng_read,
/u-boot/drivers/power/pmic/
H A Dpalmas.c39 pr_err("read error from device: %p register: %#x!\n", dev, reg);
120 .read = palmas_read,
H A Dpca9450.c57 pr_err("read error from device: %p register: %#x!", dev, reg);
116 .read = pca9450_read,
/u-boot/drivers/net/qe/
H A Ddm_qe_uec_phy.c43 /* Perform an MII management read cycle */
70 /* Stop the MII management read cycle */
88 .read = qe_uec_mdio_read,
/u-boot/drivers/misc/
H A Dmisc_sandbox.c105 .read = misc_sandbox_read,

Completed in 290 milliseconds

1234567891011>>