/u-boot/disk/ |
A D | part_iso.c | 29 static unsigned char tmpbuf[CD_SECTSIZE] __aligned(ARCH_DMA_MINALIGN); 58 iso_boot_rec_t *pbr = (iso_boot_rec_t *)tmpbuf; /* boot record */ in part_get_info_iso_verb() 59 iso_pri_rec_t *ppr = (iso_pri_rec_t *)tmpbuf; /* primary desc */ in part_get_info_iso_verb() 60 iso_val_entry_t *pve = (iso_val_entry_t *)tmpbuf; in part_get_info_iso_verb() 68 if (iso_dread(dev_desc, PVD_OFFSET, 1, (ulong *)tmpbuf) != 1) in part_get_info_iso_verb() 88 if (iso_dread(dev_desc, i, 1, (ulong *)tmpbuf) != 1) in part_get_info_iso_verb() 108 if (iso_dread(dev_desc, bootaddr, 1, (ulong *)tmpbuf) != 1) { in part_get_info_iso_verb() 115 chksumbuf = (unsigned short *)tmpbuf; in part_get_info_iso_verb() 146 pide=(iso_init_def_entry_t *)&tmpbuf[offset]; in part_get_info_iso_verb()
|
/u-boot/drivers/spi/ |
A D | spi-mem.c | 281 tmpbuf = kzalloc(tmpbufsize, GFP_KERNEL | GFP_DMA); in spi_mem_exec_op() 282 if (!tmpbuf) in spi_mem_exec_op() 287 tmpbuf[0] = op->cmd.opcode; in spi_mem_exec_op() 288 xfers[xferpos].tx_buf = tmpbuf; in spi_mem_exec_op() 299 tmpbuf[i + 1] = op->addr.val >> in spi_mem_exec_op() 302 xfers[xferpos].tx_buf = tmpbuf + 1; in spi_mem_exec_op() 311 memset(tmpbuf + op->addr.nbytes + 1, 0xff, op->dummy.nbytes); in spi_mem_exec_op() 312 xfers[xferpos].tx_buf = tmpbuf + op->addr.nbytes + 1; in spi_mem_exec_op() 337 kfree(tmpbuf); in spi_mem_exec_op()
|
/u-boot/drivers/usb/host/ |
A D | xhci.c | 925 uint8_t tmpbuf[4]; in xhci_submit_root() local 1012 tmpbuf[1] = 0; in xhci_submit_root() 1013 srcptr = tmpbuf; in xhci_submit_root() 1017 memset(tmpbuf, 0, 4); in xhci_submit_root() 1020 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; in xhci_submit_root() 1040 tmpbuf[0] |= USB_PORT_STAT_ENABLE; in xhci_submit_root() 1042 tmpbuf[0] |= USB_PORT_STAT_SUSPEND; in xhci_submit_root() 1046 tmpbuf[0] |= USB_PORT_STAT_RESET; in xhci_submit_root() 1061 tmpbuf[2] |= USB_PORT_STAT_C_ENABLE; in xhci_submit_root() 1065 tmpbuf[2] |= USB_PORT_STAT_C_RESET; in xhci_submit_root() [all …]
|
A D | ehci-hcd.c | 704 uint8_t tmpbuf[4]; in ehci_submit_root() local 800 tmpbuf[1] = 0; in ehci_submit_root() 801 srcptr = tmpbuf; in ehci_submit_root() 805 memset(tmpbuf, 0, 4); in ehci_submit_root() 808 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; in ehci_submit_root() 810 tmpbuf[0] |= USB_PORT_STAT_ENABLE; in ehci_submit_root() 812 tmpbuf[0] |= USB_PORT_STAT_SUSPEND; in ehci_submit_root() 816 tmpbuf[0] |= USB_PORT_STAT_RESET; in ehci_submit_root() 839 tmpbuf[2] |= USB_PORT_STAT_C_ENABLE; in ehci_submit_root() 843 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 | 167 ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); in smsc95xx_write_reg() 170 tmpbuf[0] = data; in smsc95xx_write_reg() 175 0, index, tmpbuf, sizeof(data), in smsc95xx_write_reg() 188 ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); in smsc95xx_read_reg() 193 0, index, tmpbuf, sizeof(*data), in smsc95xx_read_reg() 195 *data = tmpbuf[0]; in smsc95xx_read_reg()
|
/u-boot/common/ |
A D | usb.c | 934 ALLOC_CACHE_ALIGN_BUFFER(unsigned char, tmpbuf, USB_BUFSIZ); in get_descriptor_len() 937 desc = (struct usb_device_descriptor *)tmpbuf; in get_descriptor_len() 951 memcpy(&dev->descriptor, tmpbuf, sizeof(dev->descriptor)); in get_descriptor_len() 1082 unsigned char *tmpbuf = NULL; in usb_select_config() local 1106 tmpbuf = (unsigned char *)malloc_cache_aligned(err); in usb_select_config() 1107 if (!tmpbuf) in usb_select_config() 1110 err = usb_get_configuration_no(dev, 0, tmpbuf, err); in usb_select_config() 1116 free(tmpbuf); in usb_select_config() 1119 usb_parse_config(dev, tmpbuf, 0); in usb_select_config() 1120 free(tmpbuf); in usb_select_config()
|
/u-boot/cmd/ |
A D | mtdparts.c | 1093 char tmpbuf[32]; in generate_mtdparts() local 1127 memsize_format(tmpbuf, size); in generate_mtdparts() 1128 len = strlen(tmpbuf); in generate_mtdparts() 1131 memcpy(p, tmpbuf, len); in generate_mtdparts() 1141 memsize_format(tmpbuf, offset); in generate_mtdparts() 1142 len = strlen(tmpbuf) + 1; in generate_mtdparts() 1146 memcpy(p, tmpbuf, len - 1); in generate_mtdparts() 1994 char tmpbuf[PART_ADD_DESC_MAXLEN]; local 2023 sprintf(tmpbuf, "%s:%s(%s)%s", 2025 debug("add tmpbuf: %s\n", tmpbuf); [all …]
|
/u-boot/lib/ |
A D | sha1.c | 355 unsigned char tmpbuf[20]; in sha1_hmac() local 371 sha1_finish (&ctx, tmpbuf); in sha1_hmac() 375 sha1_update (&ctx, tmpbuf, 20); in sha1_hmac() 380 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() 296 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in get_cluster() 298 ret = disk_read(startsect, 1, tmpbuf); in get_cluster() 304 memcpy(buffer, tmpbuf, size); in get_cluster()
|
A D | fat_write.c | 581 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in set_sectors() 586 memcpy(tmpbuf, buffer, mydata->sect_size); in set_sectors() 587 ret = disk_write(startsect++, 1, tmpbuf); in set_sectors() 612 ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); in set_sectors() 614 memset(tmpbuf, 0, mydata->sect_size); in set_sectors() 615 memcpy(tmpbuf, buffer, size); in set_sectors() 616 ret = disk_write(startsect, 1, tmpbuf); in set_sectors()
|
/u-boot/lib/efi_loader/ |
A D | efi_signature.c | 57 u8 **tmpbuf) in efi_parse_pkcs7_header() argument 112 *tmpbuf = ebuf; in efi_parse_pkcs7_header()
|
/u-boot/include/ |
A D | efi_loader.h | 837 u8 **tmpbuf);
|
/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()
|