/u-boot/disk/ |
H A D | part_iso.c | 27 static unsigned char tmpbuf[CD_SECTSIZE] __aligned(ARCH_DMA_MINALIGN); 56 iso_boot_rec_t *pbr = (iso_boot_rec_t *)tmpbuf; /* boot record */ 57 iso_pri_rec_t *ppr = (iso_pri_rec_t *)tmpbuf; /* primary desc */ 58 iso_val_entry_t *pve = (iso_val_entry_t *)tmpbuf; 66 if (iso_dread(desc, PVD_OFFSET, 1, (ulong *)tmpbuf) != 1) 86 if (iso_dread(desc, i, 1, (ulong *)tmpbuf) != 1) 106 if (iso_dread(desc, bootaddr, 1, (ulong *)tmpbuf) != 1) { 113 chksumbuf = (unsigned short *)tmpbuf; 144 pide=(iso_init_def_entry_t *)&tmpbuf[offset];
|
/u-boot/drivers/usb/host/ |
H A D | xhci.c | 920 uint8_t tmpbuf[4]; local 1006 tmpbuf[0] = 1; /* USB_STATUS_SELFPOWERED */ 1007 tmpbuf[1] = 0; 1008 srcptr = tmpbuf; 1012 memset(tmpbuf, 0, 4); 1015 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; 1022 tmpbuf[1] |= USB_PORT_STAT_LOW_SPEED >> 8; 1026 tmpbuf[1] |= USB_PORT_STAT_HIGH_SPEED >> 8; 1030 tmpbuf[1] |= USB_PORT_STAT_SUPER_SPEED >> 8; 1035 tmpbuf[ [all...] |
H A D | ehci-hcd.c | 725 uint8_t tmpbuf[4]; local 820 tmpbuf[0] = 1; /* USB_STATUS_SELFPOWERED */ 821 tmpbuf[1] = 0; 822 srcptr = tmpbuf; 826 memset(tmpbuf, 0, 4); 829 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; 831 tmpbuf[0] |= USB_PORT_STAT_ENABLE; 833 tmpbuf[0] |= USB_PORT_STAT_SUSPEND; 835 tmpbuf[0] |= USB_PORT_STAT_OVERCURRENT; 837 tmpbuf[ [all...] |
/u-boot/drivers/spi/ |
H A D | spi-mem.c | 318 tmpbuf = kzalloc(tmpbufsize, GFP_KERNEL | GFP_DMA); 319 if (!tmpbuf) 324 tmpbuf[0] = op->cmd.opcode; 325 xfers[xferpos].tx_buf = tmpbuf; 336 tmpbuf[i + 1] = op->addr.val >> 339 xfers[xferpos].tx_buf = tmpbuf + 1; 348 memset(tmpbuf + op->addr.nbytes + 1, 0xff, op->dummy.nbytes); 349 xfers[xferpos].tx_buf = tmpbuf + op->addr.nbytes + 1; 374 kfree(tmpbuf);
|
/u-boot/drivers/usb/eth/ |
H A D | lan7x.c | 24 ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); 27 tmpbuf[0] = data; 32 0, index, tmpbuf, sizeof(data), 45 ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); 50 0, index, tmpbuf, sizeof(*data), 52 *data = tmpbuf[0];
|
H A D | smsc95xx.c | 160 ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); 163 tmpbuf[0] = data; 168 0, index, tmpbuf, sizeof(data), 181 ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); 186 0, index, tmpbuf, sizeof(*data), 188 *data = tmpbuf[0];
|
/u-boot/common/ |
H A D | usb.c | 931 ALLOC_CACHE_ALIGN_BUFFER(unsigned char, tmpbuf, USB_BUFSIZ); 934 desc = (struct usb_device_descriptor *)tmpbuf; 948 memcpy(&dev->descriptor, tmpbuf, sizeof(dev->descriptor)); 1138 unsigned char *tmpbuf = NULL; local 1183 tmpbuf = (unsigned char *)malloc_cache_aligned(err); 1184 if (!tmpbuf) 1187 err = usb_get_configuration_no(dev, 0, tmpbuf, err); 1193 free(tmpbuf); 1196 usb_parse_config(dev, tmpbuf, 0); 1197 free(tmpbuf); [all...] |
/u-boot/cmd/ |
H A D | mtdparts.c | 1090 char tmpbuf[32]; local 1124 memsize_format(tmpbuf, size); 1125 len = strlen(tmpbuf); 1128 memcpy(p, tmpbuf, len); 1138 memsize_format(tmpbuf, offset); 1139 len = strlen(tmpbuf) + 1; 1143 memcpy(p, tmpbuf, len - 1); 1991 char tmpbuf[PART_ADD_DESC_MAXLEN]; local 2020 sprintf(tmpbuf, "%s:%s(%s)%s", 2022 debug("add tmpbuf [all...] |
/u-boot/lib/ |
H A D | sha1.c | 364 unsigned char tmpbuf[20]; local 380 sha1_finish (&ctx, tmpbuf); 384 sha1_update (&ctx, tmpbuf, 20); 389 memset (tmpbuf, 0, 20);
|
/u-boot/fs/fat/ |
H A D | fat.c | 268 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); 273 ret = disk_read(startsect++, 1, tmpbuf); 279 memcpy(buffer, tmpbuf, mydata->sect_size); 298 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); 300 ret = disk_read(startsect, 1, tmpbuf); 306 memcpy(buffer, tmpbuf, size);
|
H A D | fat_write.c | 587 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); 592 memcpy(tmpbuf, buffer, mydata->sect_size); 593 ret = disk_write(startsect++, 1, tmpbuf); 618 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); 620 memset(tmpbuf, 0, mydata->sect_size); 621 memcpy(tmpbuf, buffer, size); 622 ret = disk_write(startsect, 1, tmpbuf);
|
/u-boot/lib/efi_loader/ |
H A D | efi_signature.c | 43 * @tmpbuf: Pointer to temporary buffer 57 u8 **tmpbuf) 112 *tmpbuf = ebuf; 55 efi_parse_pkcs7_header(const void *buf, size_t buflen, u8 **tmpbuf) argument
|
/u-boot/fs/zfs/ |
H A D | zfs.c | 636 void *tmpbuf = 0; local 671 err = zio_read(bp, endian, &tmpbuf, 0, data); 675 bp_array = tmpbuf;
|
/u-boot/include/ |
H A D | efi_loader.h | 1062 u8 **tmpbuf);
|