Searched refs:buffer (Results 251 - 275 of 326) sorted by relevance

<<11121314

/u-boot/drivers/mmc/
H A Dfsl_esdhc.c161 char *buffer; local
169 buffer = data->dest;
184 *((uint *)buffer) = databuf;
185 buffer += 4;
192 buffer = (char *)data->src;
205 databuf = *((uint *)buffer);
206 buffer += 4;
426 /* Copy the response to the response buffer */
/u-boot/arch/arm/mach-imx/
H A Dele_ahab.c500 u32 buffer[32]; local
504 ret = ele_dump_buffer(buffer, 32);
513 printf("0x%x\n", buffer[i]);
/u-boot/board/xilinx/zynq/
H A Dcmds.c193 static int zynq_authenticate_part(u8 *buffer, u32 size) argument
203 signature_ptr = (u8 *)(buffer + size - ZYNQ_RSA_SIGNATURE_SIZE);
239 sha256_csum_wd((const unsigned char *)buffer,
/u-boot/test/dm/
H A Dregmap.c291 u16 *buffer; local
301 buffer = map_physmem(REGMAP_TEST_BUF_START,
314 ut_asserteq(val, buffer[i]);
/u-boot/cmd/
H A Dusb.c141 ALLOC_CACHE_ALIGN_BUFFER(char, buffer, 256);
144 if (usb_string(dev, index, &buffer[0], 256) > 0)
145 printf("String: \"%s\"", buffer);
/u-boot/arch/arm/mach-omap2/omap5/
H A Dsec_entry_cpu1.S86 blx flush_dcache_range @ flush the cache on args buffer
/u-boot/drivers/usb/cdns3/
H A Ddebug.h153 le32_to_cpu(trb->buffer),
/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-helper-util.h161 /* Read pointer to next buffer before we free the current buffer. */
170 * If first packet buffer contains wqe, wqe gets freed too so do not access
197 /* XXX- assumes the buffer is cache-line aligned and naturally aligned mode*/
199 /* Read pointer to next buffer before we free the current buffer. */
208 * Free the pki wqe entry buffer.
209 * If wqe buffers contains first packet buffer, wqe does not get freed here.
224 /* Do nothing if the first packet buffer shares WQE buffer */
[all...]
H A Dcvmx-helper.h488 void cvmx_helper_mem_free(void *buffer, u64 size);
514 int pktbuf_size; /* Packet buffer size */
575 * @param namebuf Name buffer (output).
/u-boot/lib/crypto/
H A Dpkcs7_parser.c225 char buffer[50]; local
226 sprint_oid(value, vlen, buffer, sizeof(buffer));
228 (unsigned long)value - ctx->data, buffer);
/u-boot/include/
H A Dcbfs.h331 * @buffer: Where to read it into memory.
337 long file_cbfs_read(const struct cbfs_cachenode *file, void *buffer,
H A Dfat.h19 #define VFAT_MAXLEN_BYTES 256 /* Maximum LFN buffer in bytes */
161 * Note: FAT buffer has to be 32 bit aligned
165 __u8 *fatbuf; /* Current FAT buffer */
197 int file_fat_read(const char *filename, void *buffer, int maxsize);
219 * @uuid_str: caller allocated buffer of at least 10 bytes for the volume ID
/u-boot/drivers/tpm/
H A Dcr50_i2c.c183 * @buffer: provided by caller
188 * 3) read 'len' bytes of TPM response into the provided 'buffer'
192 static int cr50_i2c_read(struct udevice *dev, u8 addr, u8 *buffer, argument
213 ret = dm_i2c_read(dev, 0, buffer, len);
227 * @buffer: data to write
236 static int cr50_i2c_write(struct udevice *dev, u8 addr, const u8 *buffer, argument
247 /* Prepend the 'register address' to the buffer */
249 memcpy(buf + 1, buffer, len);
254 /* Send write request buffer with address */
407 /* Determine expected data in the return buffer */
[all...]
/u-boot/drivers/net/ti/
H A Ddavinci_emac.c478 rx_desc->buffer = &emac_rx_buffers[cnt * EMAC_RXBUF_SIZE];
646 emac_tx_desc->buffer = (u_int8_t *) packet;
689 *packetp = rx_curr_desc->buffer;
696 unsigned long tmp = (unsigned long)rx_curr_desc->buffer;
/u-boot/drivers/block/
H A Dblk-uclass.c428 return 1; /* Default, any buffer is OK */
517 void *buffer)
519 return blk_read(desc->bdev, start, blkcnt, buffer);
523 const void *buffer)
525 return blk_write(desc->bdev, start, blkcnt, buffer);
516 blk_dread(struct blk_desc *desc, lbaint_t start, lbaint_t blkcnt, void *buffer) argument
522 blk_dwrite(struct blk_desc *desc, lbaint_t start, lbaint_t blkcnt, const void *buffer) argument
/u-boot/drivers/misc/imx_ele/
H A Dele_api.c341 int ele_dump_buffer(u32 *buffer, u32 buffer_length) argument
366 if (buffer) {
367 buffer[i++] = *(u32 *)&msg; /* Need dump the response header */
369 buffer[i] = msg.data[i - 1];
/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dfdt.c50 char buffer[HWCONFIG_BUFFER_SIZE] = {0}; local
99 ret = env_get_f("hwconfig", buffer, sizeof(buffer));
101 tdm_hwconfig_enabled = hwconfig_f("tdm", buffer);
/u-boot/drivers/firmware/
H A Dfirmware-zynqmp.c113 u32 buffer[PAYLOAD_ARG_CNT]; local
116 res = buffer;
/u-boot/drivers/net/octeontx/
H A Dnicvf_queues.c84 printf("Unable to allocate memory for rcv buffer ring\n");
138 /* Refill receive buffer descriptors with new buffers.
473 /* Configures receive buffer descriptor ring */
551 /* Free receive buffer descriptor ring */
569 /* Alloc receive buffer descriptor ring */
833 void *pkt = NULL, *pkt_buf = NULL, *buffer; local
847 * CQE_RX at word6, hence buffer pointers move by word
859 * Figure out packet length to create packet buffer
866 buffer = calloc(1, tot_len);
867 if (!buffer) {
[all...]
/u-boot/drivers/video/
H A Dstb_truetype.h115 // "Load" a font file from a memory buffer (you have to keep the buffer loaded)
246 // a temp buffer and allocate from the temp buffer (without freeing),
372 char buffer[24<<20]; variable
382 fread(buffer, 1, 1000000, fopen("c:/windows/fonts/arialbd.ttf", "rb"));
383 stbtt_InitFont(&font, buffer, 0);
397 // a sequence of characters, you really need to render each bitmap to a temp buffer, then
398 // "alpha blend" that into the working buffer
4014 unsigned char buffer[STBTT_MAX_OVERSAMPL local
4076 unsigned char buffer[STBTT_MAX_OVERSAMPLE]; local
[all...]
/u-boot/drivers/ram/octeon/
H A Docteon_ddr.c36 char buffer[64]; local
39 vsnprintf(buffer, sizeof(buffer), format, args);
42 s = ddr_getenv_debug(priv, buffer);
46 buffer, s, value, value);
57 char buffer[64]; local
60 vsnprintf(buffer, sizeof(buffer), format, args);
63 s = ddr_getenv_debug(priv, buffer);
67 buffer, valu
[all...]
/u-boot/arch/arm/mach-stm32mp/cmd_stm32prog/
H A Dstm32prog.c121 * [out] memref[1].buffer Output buffer to return all read values
122 * [out] memref[1].size Size of buffer to be read
134 * [in] memref[1].buffer Input buffer with the values to write
135 * [in] memref[1].size Size of buffer to be written
1112 log_debug("\n%s: buffer too small, %s skippped",
1436 int stm32prog_otp_write(struct stm32prog_data *data, u32 offset, u8 *buffer, argument
1463 memcpy((void *)((uintptr_t)data->otp_part + offset), buffer, *size);
1468 int stm32prog_otp_read(struct stm32prog_data *data, u32 offset, u8 *buffer, argument
1579 stm32prog_pmic_write(struct stm32prog_data *data, u32 offset, u8 *buffer, long *size) argument
1595 stm32prog_pmic_read(struct stm32prog_data *data, u32 offset, u8 *buffer, long *size) argument
[all...]
/u-boot/include/usb/
H A Dxhci.h704 /* 64-bit buffer address, or immediate data */
705 __le64 buffer; member in struct:xhci_transfer_event
871 /* The buffer pointer contains immediate data */
998 /* TRB buffer pointers can't cross 64KB boundaries */
1263 int length, void *buffer);
1265 struct devrequest *req, int length, void *buffer);
/u-boot/lib/efi_loader/
H A Defi_image_loader.c311 * the image buffer.
771 * efi_check_pe() - check if a memory buffer contains a PE-COFF image
773 * @buffer: buffer to check
774 * @size: size of buffer
776 * Return: EFI_SUCCESS if the buffer contains a PE-COFF image
778 efi_status_t efi_check_pe(void *buffer, size_t size, void **nt_header) argument
780 IMAGE_DOS_HEADER *dos = buffer;
797 nt = (IMAGE_NT_HEADERS32 *)((u8 *)buffer + dos->e_lfanew);
/u-boot/lib/
H A Dsha256.c217 memcpy((void *) (ctx->buffer + left), (void *) input, fill);
218 sha256_process(ctx, ctx->buffer, 1);
229 memcpy((void *) (ctx->buffer + left), (void *) input, length);
269 * Output = SHA-256( input buffer ). Trigger the watchdog every 'chunk_sz'

Completed in 176 milliseconds

<<11121314