| /u-boot/disk/ |
| 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 */ in part_get_info_iso_verb() 57 iso_pri_rec_t *ppr = (iso_pri_rec_t *)tmpbuf; /* primary desc */ in part_get_info_iso_verb() 58 iso_val_entry_t *pve = (iso_val_entry_t *)tmpbuf; in part_get_info_iso_verb() 66 if (iso_dread(dev_desc, PVD_OFFSET, 1, (ulong *)tmpbuf) != 1) in part_get_info_iso_verb() 86 if (iso_dread(dev_desc, i, 1, (ulong *)tmpbuf) != 1) in part_get_info_iso_verb() 106 if (iso_dread(dev_desc, bootaddr, 1, (ulong *)tmpbuf) != 1) { in part_get_info_iso_verb() 113 chksumbuf = (unsigned short *)tmpbuf; in part_get_info_iso_verb() 144 pide=(iso_init_def_entry_t *)&tmpbuf[offset]; in part_get_info_iso_verb()
|
| /u-boot/drivers/usb/host/ |
| A D | xhci.c | 877 uint8_t tmpbuf[4]; in xhci_submit_root() local 964 tmpbuf[1] = 0; in xhci_submit_root() 965 srcptr = tmpbuf; in xhci_submit_root() 969 memset(tmpbuf, 0, 4); in xhci_submit_root() 972 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; in xhci_submit_root() 992 tmpbuf[0] |= USB_PORT_STAT_ENABLE; in xhci_submit_root() 994 tmpbuf[0] |= USB_PORT_STAT_SUSPEND; in xhci_submit_root() 998 tmpbuf[0] |= USB_PORT_STAT_RESET; in xhci_submit_root() 1013 tmpbuf[2] |= USB_PORT_STAT_C_ENABLE; in xhci_submit_root() 1017 tmpbuf[2] |= USB_PORT_STAT_C_RESET; in xhci_submit_root() [all …]
|
| A D | ehci-hcd.c | 725 uint8_t tmpbuf[4]; in ehci_submit_root() local 821 tmpbuf[1] = 0; in ehci_submit_root() 822 srcptr = tmpbuf; in ehci_submit_root() 826 memset(tmpbuf, 0, 4); in ehci_submit_root() 829 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; in ehci_submit_root() 831 tmpbuf[0] |= USB_PORT_STAT_ENABLE; in ehci_submit_root() 833 tmpbuf[0] |= USB_PORT_STAT_SUSPEND; in ehci_submit_root() 837 tmpbuf[0] |= USB_PORT_STAT_RESET; in ehci_submit_root() 860 tmpbuf[2] |= USB_PORT_STAT_C_ENABLE; in ehci_submit_root() 864 tmpbuf[2] |= USB_PORT_STAT_C_RESET; in ehci_submit_root() [all …]
|
| /u-boot/drivers/usb/eth/ |
| A D | lan7x.c | 24 ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); in lan7x_write_reg() 27 tmpbuf[0] = data; in lan7x_write_reg() 32 0, index, tmpbuf, sizeof(data), in lan7x_write_reg() 45 ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); in lan7x_read_reg() 50 0, index, tmpbuf, sizeof(*data), in lan7x_read_reg() 52 *data = tmpbuf[0]; in lan7x_read_reg()
|
| A D | smsc95xx.c | 160 ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); in smsc95xx_write_reg() 163 tmpbuf[0] = data; in smsc95xx_write_reg() 168 0, index, tmpbuf, sizeof(data), in smsc95xx_write_reg() 181 ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); in smsc95xx_read_reg() 186 0, index, tmpbuf, sizeof(*data), in smsc95xx_read_reg() 188 *data = tmpbuf[0]; in smsc95xx_read_reg()
|
| /u-boot/drivers/spi/ |
| A D | spi-mem.c | 318 tmpbuf = kzalloc(tmpbufsize, GFP_KERNEL | GFP_DMA); in spi_mem_exec_op() 319 if (!tmpbuf) in spi_mem_exec_op() 324 tmpbuf[0] = op->cmd.opcode; in spi_mem_exec_op() 325 xfers[xferpos].tx_buf = tmpbuf; in spi_mem_exec_op() 336 tmpbuf[i + 1] = op->addr.val >> in spi_mem_exec_op() 339 xfers[xferpos].tx_buf = tmpbuf + 1; in spi_mem_exec_op() 348 memset(tmpbuf + op->addr.nbytes + 1, 0xff, op->dummy.nbytes); in spi_mem_exec_op() 349 xfers[xferpos].tx_buf = tmpbuf + op->addr.nbytes + 1; in spi_mem_exec_op() 374 kfree(tmpbuf); in spi_mem_exec_op()
|
| /u-boot/common/ |
| A D | usb.c | 930 ALLOC_CACHE_ALIGN_BUFFER(unsigned char, tmpbuf, USB_BUFSIZ); in get_descriptor_len() 933 desc = (struct usb_device_descriptor *)tmpbuf; in get_descriptor_len() 947 memcpy(&dev->descriptor, tmpbuf, sizeof(dev->descriptor)); in get_descriptor_len() 1089 unsigned char *tmpbuf = NULL; in usb_select_config() local 1113 tmpbuf = (unsigned char *)malloc_cache_aligned(err); in usb_select_config() 1114 if (!tmpbuf) in usb_select_config() 1117 err = usb_get_configuration_no(dev, 0, tmpbuf, err); in usb_select_config() 1123 free(tmpbuf); in usb_select_config() 1126 usb_parse_config(dev, tmpbuf, 0); in usb_select_config() 1127 free(tmpbuf); in usb_select_config()
|
| /u-boot/cmd/ |
| A D | mtdparts.c | 1090 char tmpbuf[32]; in generate_mtdparts() local 1124 memsize_format(tmpbuf, size); in generate_mtdparts() 1125 len = strlen(tmpbuf); in generate_mtdparts() 1128 memcpy(p, tmpbuf, len); in generate_mtdparts() 1138 memsize_format(tmpbuf, offset); in generate_mtdparts() 1139 len = strlen(tmpbuf) + 1; in generate_mtdparts() 1143 memcpy(p, tmpbuf, len - 1); in generate_mtdparts() 1991 char tmpbuf[PART_ADD_DESC_MAXLEN]; local 2020 sprintf(tmpbuf, "%s:%s(%s)%s", 2022 debug("add tmpbuf: %s\n", tmpbuf); [all …]
|
| /u-boot/lib/ |
| A D | sha1.c | 367 unsigned char tmpbuf[20]; in sha1_hmac() local 383 sha1_finish (&ctx, tmpbuf); in sha1_hmac() 387 sha1_update (&ctx, tmpbuf, 20); in sha1_hmac() 392 memset (tmpbuf, 0, 20); in sha1_hmac()
|
| /u-boot/fs/fat/ |
| A D | fat.c | 263 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in get_cluster() 268 ret = disk_read(startsect++, 1, tmpbuf); in get_cluster() 274 memcpy(buffer, tmpbuf, mydata->sect_size); in get_cluster() 293 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in get_cluster() 295 ret = disk_read(startsect, 1, tmpbuf); in get_cluster() 301 memcpy(buffer, tmpbuf, size); in get_cluster()
|
| A D | fat_write.c | 586 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in set_sectors() 591 memcpy(tmpbuf, buffer, mydata->sect_size); in set_sectors() 592 ret = disk_write(startsect++, 1, tmpbuf); in set_sectors() 617 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in set_sectors() 619 memset(tmpbuf, 0, mydata->sect_size); in set_sectors() 620 memcpy(tmpbuf, buffer, size); in set_sectors() 621 ret = disk_write(startsect, 1, tmpbuf); in set_sectors()
|
| /u-boot/lib/efi_loader/ |
| A D | efi_signature.c | 58 u8 **tmpbuf) in efi_parse_pkcs7_header() argument 113 *tmpbuf = ebuf; in efi_parse_pkcs7_header()
|
| /u-boot/fs/zfs/ |
| A D | zfs.c | 636 void *tmpbuf = 0; in dmu_read() local 671 err = zio_read(bp, endian, &tmpbuf, 0, data); in dmu_read() 675 bp_array = tmpbuf; in dmu_read()
|
| /u-boot/include/ |
| A D | efi_loader.h | 1025 u8 **tmpbuf);
|