/u-boot/drivers/rng/ |
H A D | rng-uclass.c | 15 if (!ops->read) 18 return ops->read(dev, buffer, size);
|
H A D | tpm_rng.c | 16 .read = rng_tpm_random_read,
|
H A D | meson-rng.c | 22 u32 (*read)(fdt_addr_t base); member in struct:meson_rng_priv 46 u32 rand = priv->read(pdata->base); 158 .read = meson_rng_read, 162 .read = meson_common_rng_read, 166 .read = meson_s4_rng_read,
|
/u-boot/drivers/core/ |
H A D | read_extra.c | 10 #include <dm/read.h>
|
H A D | util.c | 9 #include <dm/read.h>
|
/u-boot/include/ |
H A D | rng.h | 14 * dm_rng_read() - read a random number seed from the rng device 16 * The function blocks until the requested number of bytes is read. 19 * @buffer: input buffer to put the read random seed into 20 * @size: number of random bytes to read 33 * @read: read a random bytes 35 * The function blocks until the requested number of bytes is read. 37 * @read.dev: random number generator device 38 * @read.data: input buffer to read th 42 int (*read)(struct udevice *dev, void *data, size_t max); member in struct:dm_rng_ops [all...] |
H A D | spl_load.h | 21 int read, ret; local 23 read = info->read(info, offset, ALIGN(sizeof(*header), 25 if (read < sizeof(*header)) 42 read = info->read(info, offset, 45 if (read < size) 84 read = info->read(info, offset + image_offset, size, 86 return read < spl_imag [all...] |
H A D | dm.h | 16 #include <dm/read.h>
|
H A D | axi.h | 26 * read() - Read a single value from a specified address on a AXI bus 27 * @dev: AXI bus to read from. 28 * @address: The address to read from. 29 * @data: Pointer to a variable that takes the data value read 31 * @size: The size of the data to be read. 35 int (*read)(struct udevice *dev, ulong address, void *data, member in struct:axi_ops 56 * @dev: AXI bus to read from. 57 * @address: The address to read from. 58 * @data: Pointer to a variable that takes the data value read from the 82 * read() 91 int (*read)(struct udevice *dev, ulong address, void *data, member in struct:axi_emul_ops [all...] |
H A D | ubispl.h | 59 * @read: Read function to access the flash 69 ubispl_read_flash read; member in struct:ubispl_info
|
H A D | wait_bit.h | 29 * @param reg Register that will be read (using read_x()) 37 #define BUILD_WAIT_FOR_BIT(sfx, type, read) \ 49 val = read(reg); \
|
/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_spl_loaders.c | 88 * @len: Data size to read 91 * This could be further optimized if we'd have a subpage read 107 int page, read; local 122 read = min(len, CONFIG_SYS_NAND_PAGE_SIZE - offset); 123 memcpy(dst, scratch_buf + offset, read); 127 read = CONFIG_SYS_NAND_PAGE_SIZE; 130 len -= read; 131 dst += read;
|
/u-boot/test/dm/ |
H A D | mmc.c | 33 char write[4 * 512], read[4 * 512]; local 43 ut_asserteq(4, blk_dread(dev_desc, 0, 4, read)); 44 ut_asserteq_mem(write, read, sizeof(write)); 49 ut_asserteq(4, blk_dread(dev_desc, 0, 4, read)); 50 ut_asserteq_mem(write, read, sizeof(write));
|
/u-boot/lib/libfdt/ |
H A D | test_libfdt.py | 12 fdt = fd.read()
|
/u-boot/include/spmi/ |
H A D | spmi.h | 10 * @read: read register 'reg' of slave 'usid' and peripheral 'pid' 13 * Each register is 8-bit, both read and write can return negative values 17 int (*read)(struct udevice *dev, int usid, int pid, int reg); member in struct:dm_spmi_ops 23 * spmi_reg_read() - read a register from specific slave/peripheral 25 * @dev: SPMI bus to read 28 * @reg: Register to read 29 * Return: value read on success or negative value of errno.
|
/u-boot/drivers/axi/ |
H A D | axi-uclass.c | 18 if (!ops->read) 21 return ops->read(dev, address, data, size);
|
H A D | axi_sandbox.c | 18 * read/write storage. 21 * way, since configuration data for the storage is read from the DT. 37 if (!ops || !ops->read) 40 return ops->read(emul, address, data, size); 68 .read = axi_sandbox_read,
|
/u-boot/drivers/spmi/ |
H A D | spmi-uclass.c | 20 if (!ops || !ops->read) 23 return ops->read(dev, usid, pid, reg);
|
/u-boot/arch/mips/mach-mscc/ |
H A D | phy.c | 9 int mscc_phy_rd_wr(u8 read, argument 19 data = (read ? MSCC_F_MII_CMD_MIIM_CMD_OPR_FIELD(2) : /* Read */ 43 if (read) {
|
/u-boot/drivers/pci/ |
H A D | pci_compat.c | 25 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/lib/ |
H A D | semihosting.c | 85 * struct smg_rdwr_s - Arguments for read and write 88 * @len: The number of bytes to read or write 99 struct smh_rdwr_s read; local 103 read.fd = fd; 104 read.memp = memp; 105 read.len = len; 107 ret = smh_trap(SYSREAD, &read);
|
/u-boot/drivers/i2c/ |
H A D | ihs_i2c.c | 58 static int wait_for_int(struct udevice *dev, int read) argument 67 | (read ? I2CINT_RECEIVE_EV : I2CINT_TRANSMIT_EV)))) { 80 uchar *buffer, int len, int read, bool is_last) 93 if (!read && len) { 102 | (read ? 0 : I2CMB_WRITE) 109 res = wait_for_int(dev, read); 117 /* If we want to read, get the bytes from the mailbox */ 118 if (read) { 128 static int ihs_i2c_send_buffer(struct udevice *dev, uchar chip, u8 *data, int len, bool hold_bus, int read) argument 136 res = ihs_i2c_transfer(dev, chip, data, transfer, read, 79 ihs_i2c_transfer(struct udevice *dev, uchar chip, uchar *buffer, int len, int read, bool is_last) argument 154 ihs_i2c_access(struct udevice *dev, uchar chip, u8 *addr, int alen, uchar *buffer, int len, int read) argument [all...] |
/u-boot/drivers/mtd/onenand/ |
H A D | onenand_spl.c | 125 * @len: Data size to read 134 int page, read; local 153 read = min(len, psize - offset); 154 memcpy(dst, scratch_buf + offset, read); 158 read = psize; 161 len -= read; 162 dst += read;
|
/u-boot/drivers/memory/ |
H A D | atmel_ebi.c | 7 #include <dm/read.h>
|
/u-boot/drivers/misc/ |
H A D | misc-uclass.c | 15 * general classes. A set of generic read, write and ioctl methods may 23 if (!ops->read) 26 return ops->read(dev, offset, buf, size);
|