/u-boot/lib/ |
H A D | sha1.c | 234 * SHA-1 process buffer 255 memcpy ((void *) (ctx->buffer + left), (void *) input, fill); 256 sha1_process(ctx, ctx->buffer, 1); 267 memcpy ((void *) (ctx->buffer + left), (void *) input, ilen); 308 * Output = SHA-1( input buffer ) 321 * Output = SHA-1( input buffer ). Trigger the watchdog every 'chunk_sz' 354 * Output = HMAC-SHA-1( input buffer, hmac key )
|
H A D | fdtdec.c | 1444 char *buffer; local 1449 buffer = malloc(length); 1450 if (!buffer) 1454 len += strlcpy(buffer + len, compatibles[i], 1457 err = fdt_setprop(blob, node, "compatible", buffer, length); 1458 free(buffer);
|
/u-boot/drivers/serial/ |
H A D | usbtty.c | 376 * Test whether a character is in the RX buffer 457 /* break str into chunks < buffer size, if needed */ 462 /* Empty buffer here, if needed, to ensure space... */ 844 /* Break buffer into urb sized pieces, 851 dest = (char*)current_urb->buffer + 891 char *src = (char *) endpoint->rcv_urb->buffer; 950 memcpy (urb->buffer , &rs232_desc, sizeof(rs232_desc)); 972 /* Write any output data to host buffer
|
/u-boot/cmd/ |
H A D | load.c | 146 char record[SREC_MAXRECLEN + 1]; /* buffer for one S-Record */ 147 char binbuf[SREC_MAXBINLEN]; /* buffer for binary data */ 348 char record[2*SREC_BYTES_PER_RECORD+16]; /* buffer for one S-Record */ 349 char data[2*SREC_BYTES_PER_RECORD+1]; /* buffer for hex data */ 360 if (count) { /* collect hex data in the buffer */ 611 static int chk1(char *buffer) argument 615 while (*buffer) { 616 total += *buffer++; 752 /* ignore last character if it filled the buffer */ 911 * that I don't need to buffer th [all...] |
/u-boot/fs/ext4/ |
H A D | ext4_common.c | 239 static int _get_new_inode_no(unsigned char *buffer) argument 248 unsigned char *ptr = buffer; 276 static int _get_new_blk_no(unsigned char *buffer) argument 281 unsigned char *ptr = buffer; 307 int ext4fs_set_block_bmap(long int blockno, unsigned char *buffer, int index) argument 310 unsigned char *ptr = buffer; 343 void ext4fs_reset_block_bmap(long int blockno, unsigned char *buffer, int index) argument 346 unsigned char *ptr = buffer; 373 int ext4fs_set_inode_bmap(int inode_no, unsigned char *buffer, int index) argument 376 unsigned char *ptr = buffer; 398 ext4fs_reset_inode_bmap(int inode_no, unsigned char *buffer, int index) argument [all...] |
H A D | ext4_journal.c | 150 * blknr -- Block number on disk of the meta data buffer 182 * blknr -- Block number on disk of the meta data buffer 238 void ext4fs_push_revoke_blk(char *buffer) argument 242 if (buffer == NULL) { 243 printf("buffer ptr is NULL\n"); 255 memcpy(node->content, buffer, fs->blksz);
|
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-helper-board.c | 52 u8 buffer[2]; local 61 ret = dm_i2c_write(dev, reg, buffer, 2); 83 u8 buffer[2]; local 92 ret = dm_i2c_read(dev, reg, buffer, 2); 98 return (buffer[0] << 8) | buffer[1];
|
/u-boot/test/py/tests/ |
H A D | vboot_forge.py | 50 def unpack_from(cls, buffer, offset=0): 52 Unpack structure instance from a buffer 54 fields = cls.__struct__.unpack_from(buffer, offset)
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-fpa3.h | 301 this buffer. This also serves as a barrier to prevent GCC from 318 * Free a pointer back to the pool without flushing the write buffer. 376 * Gets the buffer size of the specified pool, 398 * Return: available buffer count 410 /* Get POOL available buffer count */ 420 /* Calculate AURA-based buffer allowance */ 423 /* Use POOL real buffer availability when less then allowance */ 491 void *buffer); 519 void *buffer, unsigned int block_size,
|
H A D | octeon-model.h | 305 const char *octeon_model_get_string_buffer(u32 chip_id, char *buffer);
|
/u-boot/include/ |
H A D | usbdevice.h | 458 u8* buffer; member in struct:urb 646 serial_printf("\tbuffer %p\n", u->buffer);
|
H A D | flash.h | 24 ushort buffer_size; /* # of bytes in write buffer */ 27 ulong buffer_write_tout; /* maximum buffer write timeout */ 108 extern void flash_read_user_serial(flash_info_t * info, void * buffer, int offset, int len); 109 extern void flash_read_factory_serial(flash_info_t * info, void * buffer, int offset, int len);
|
/u-boot/fs/cbfs/ |
H A D | cbfs.c | 510 long file_cbfs_read(const struct cbfs_cachenode *file, void *buffer, argument 519 memcpy(buffer, file->data, size);
|
/u-boot/drivers/net/ti/ |
H A D | davinci_emac.h | 19 * NOTE: Only 1 buffer supported as of now 54 u_int8_t *buffer; /* Pointer to data buffer */ member in struct:_emac_desc
|
/u-boot/drivers/usb/mtu3/ |
H A D | mtu3_gadget_ep0.c | 78 static inline void writel_rep(volatile void *addr, const void *buffer, argument 82 const u32 *buf = buffer; 90 static inline void readl_rep(const volatile void *addr, void *buffer, argument 94 u32 *buf = buffer; 551 /* read the buffer */
|
H A D | mtu3_qmu.c | 192 gpd->buffer = cpu_to_le32((u32)req->dma); 229 gpd->buffer = cpu_to_le32((u32)req->dma);
|
/u-boot/drivers/usb/host/ |
H A D | ehci.h | 226 void *buffer; member in union:QH::__anon5
|
/u-boot/lib/acpi/ |
H A D | acpigen.c | 387 char buffer[30]; local 389 snprintf(buffer, sizeof(buffer), ACPI_CPU_STRING, core_id); 391 acpigen_emit_namestring(ctx, buffer);
|
/u-boot/arch/arm/mach-bcm283x/include/mach/ |
H A D | mbox.h | 28 * aligned) ARM physical address of a memory buffer. This buffer is passed to 32 * buffer contains a standard header, a list of "tags", and a terminating zero 35 * combined together into a single message buffer. This file defines structs 64 /* Property mailbox buffer structures */ 85 * A message buffer contains a list of tags. Each tag must also start with 332 /* Virtual means display buffer */ 423 /* Offset of display window within buffer */ 532 * Pass a complete property-style buffer to the VC, and wait until it has 545 int bcm2835_mbox_call_prop(u32 chan, struct bcm2835_mbox_hdr *buffer); [all...] |
/u-boot/arch/arm/include/asm/mach-imx/ |
H A D | ele_api.h | 148 int ele_dump_buffer(u32 *buffer, u32 buffer_length);
|
/u-boot/drivers/i2c/ |
H A D | mxc_i2c.c | 716 uint addr, int alen, uint8_t *buffer, 719 return bus_i2c_read(i2c_get_base(adap), chip, addr, alen, buffer, len); 723 uint addr, int alen, uint8_t *buffer, 726 return bus_i2c_write(i2c_get_base(adap), chip, addr, alen, buffer, len); 715 mxc_i2c_read(struct i2c_adapter *adap, uint8_t chip, uint addr, int alen, uint8_t *buffer, int len) argument 722 mxc_i2c_write(struct i2c_adapter *adap, uint8_t chip, uint addr, int alen, uint8_t *buffer, int len) argument
|
/u-boot/common/ |
H A D | console.c | 634 char *buffer; local 639 buffer = map_sysmem(CONFIG_VAL(PRE_CON_BUF_ADDR), CONFIG_VAL(PRE_CON_BUF_SZ)); 641 buffer[CIRC_BUF_IDX(gd->precon_buf_idx++)] = c; 643 unmap_sysmem(buffer); 1195 * a bmp to display. We redirect the output from frame buffer
|
/u-boot/drivers/ddr/fsl/ |
H A D | interactive.c | 1880 char buffer[CONFIG_SYS_CBSIZE]; local 1882 if (env_get_f("ddr_interactive", buffer, CONFIG_SYS_CBSIZE) >= 0) 1892 char buffer[CONFIG_SYS_CBSIZE]; local 1929 strcpy(buffer, p); 1933 strcpy(buffer, p); 1939 * No need to worry for buffer overflow here in 1943 cli_readline_into_buffer(prompt, buffer, 0); 1945 argc = cli_simple_parse_line(buffer, argv);
|
H A D | fsl_ddr_gen4.c | 76 char buffer[CONFIG_SYS_CBSIZE]; local 510 * to add plenty of buffer, double the time 574 if (env_get_f("ddr_bist", buffer, CONFIG_SYS_CBSIZE) >= 0) {
|
/u-boot/drivers/usb/cdns3/ |
H A D | ep0.c | 49 priv_ep->trb_pool[0].buffer = TRB_BUFFER(dma_addr); 54 priv_ep->trb_pool[1].buffer = TRB_BUFFER(dma_addr);
|