/u-boot/test/dm/ |
A D | acpigen.c | 854 get_unaligned((u32 *)(ptr + 0xcf))); in dm_test_acpi_power_seq() 862 get_unaligned((u32 *)(ptr + 0x105))); in dm_test_acpi_power_seq() 1497 ut_asserteq(1, get_unaligned((u32 *)ptr)); in dm_test_acpi_write_pss_psd() 1500 ut_asserteq(2, get_unaligned((u32 *)ptr)); in dm_test_acpi_write_pss_psd() 1503 ut_asserteq(3, get_unaligned((u32 *)ptr)); in dm_test_acpi_write_pss_psd() 1506 ut_asserteq(4, get_unaligned((u32 *)ptr)); in dm_test_acpi_write_pss_psd() 1509 ut_asserteq(5, get_unaligned((u32 *)ptr)); in dm_test_acpi_write_pss_psd() 1512 ut_asserteq(6, get_unaligned((u32 *)ptr)); in dm_test_acpi_write_pss_psd() 1532 ut_asserteq(6, get_unaligned((u32 *)ptr)); in dm_test_acpi_write_pss_psd() 1538 ut_asserteq(7, get_unaligned((u32 *)ptr)); in dm_test_acpi_write_pss_psd() [all …]
|
A D | acpi_dp.c | 98 ut_asserteq(16, get_unaligned((u16 *)(ptr + 15))); in dm_test_acpi_dp_int() 115 ut_asserteq(TEST_INT32, get_unaligned((u32 *)(ptr + 50))); in dm_test_acpi_dp_int() 141 ut_asserteq_64(TEST_INT64, get_unaligned((u64 *)(ptr + 50))); in dm_test_acpi_dp_int64() 167 ut_asserteq(TEST_INT16, get_unaligned((u16 *)(ptr + 50))); in dm_test_acpi_dp_int16() 221 ut_asserteq(TEST_INT16, get_unaligned((u16 *)(ptr + 0x33))); in dm_test_acpi_dp_multiple() 309 ut_asserteq(16, get_unaligned((u16 *)(ptr + 15))); in dm_test_acpi_dp_child() 348 ut_asserteq(16, get_unaligned((u16 *)(pptr + 15))); in dm_test_acpi_dp_child() 375 get_unaligned((u16 *)(pptr + 1))); in dm_test_acpi_dp_child() 468 ut_asserteq(1234, get_unaligned((u16 *)(ptr + 0x37))); in dm_test_acpi_dp_copy() 473 ut_asserteq(-1234, get_unaligned((u32 *)(ptr + 0x4b))); in dm_test_acpi_dp_copy() [all …]
|
/u-boot/arch/arm/include/asm/ |
A D | unaligned.h | 12 #define get_unaligned __get_unaligned_le macro 15 #define get_unaligned __get_unaligned_be macro
|
/u-boot/arch/sh/include/asm/ |
A D | unaligned.h | 9 #define get_unaligned __get_unaligned_be macro 12 #define get_unaligned __get_unaligned_le macro
|
/u-boot/arch/mips/include/asm/ |
A D | unaligned.h | 10 #define get_unaligned __get_unaligned_be macro 13 #define get_unaligned __get_unaligned_le macro
|
/u-boot/include/asm-generic/ |
A D | unaligned.h | 14 #define get_unaligned __get_unaligned_le macro 17 #define get_unaligned __get_unaligned_be macro
|
/u-boot/lib/zstd/ |
A D | mem.h | 50 ZSTD_STATIC U16 ZSTD_read16(const void *memPtr) { return get_unaligned((const U16 *)memPtr); } in ZSTD_read16() 52 ZSTD_STATIC U32 ZSTD_read32(const void *memPtr) { return get_unaligned((const U32 *)memPtr); } in ZSTD_read32() 54 ZSTD_STATIC U64 ZSTD_read64(const void *memPtr) { return get_unaligned((const U64 *)memPtr); } in ZSTD_read64() 56 ZSTD_STATIC size_t ZSTD_readST(const void *memPtr) { return get_unaligned((const size_t *)memPtr); } in ZSTD_readST()
|
/u-boot/arch/powerpc/include/asm/ |
A D | unaligned.h | 12 #define get_unaligned __get_unaligned_be macro
|
/u-boot/arch/m68k/include/asm/ |
A D | unaligned.h | 12 #define get_unaligned __get_unaligned_be macro
|
/u-boot/lib/ |
A D | hexdump.c | 87 get_unaligned(ptr8 + j)); in hex_dump_to_buffer() 98 get_unaligned(ptr4 + j)); in hex_dump_to_buffer() 109 get_unaligned(ptr2 + j)); in hex_dump_to_buffer()
|
/u-boot/drivers/usb/gadget/ |
A D | epautoconf.c | 118 max = 0x7ff & le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)); in ep_matches() 134 if ((get_unaligned(&desc->wMaxPacketSize) & in ep_matches()
|
A D | rndis.c | 785 resp->RequestID = get_unaligned(&buf->RequestID); /* Still LE in msg buffer */ in rndis_init_response() 830 resp->RequestID = get_unaligned(&buf->RequestID); /* Still LE in msg buffer */ in rndis_query_response() 879 resp->RequestID = get_unaligned(&buf->RequestID); /* Still LE in msg buffer */ in rndis_set_response() 933 resp->RequestID = get_unaligned(&buf->RequestID); /* Still LE in msg buffer */ in rndis_keepalive_response() 1274 != get_unaligned(tmp++)) in rndis_rm_hdr()
|
A D | dwc2_udc_otg.c | 627 le16_to_cpu(get_unaligned(&desc->wMaxPacketSize))) { in dwc2_ep_enable() 644 le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)) > in dwc2_ep_enable() 645 ep_maxpacket(ep)) || !get_unaligned(&desc->wMaxPacketSize)) { in dwc2_ep_enable() 661 ep->ep.maxpacket = le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)); in dwc2_ep_enable()
|
A D | pxa25x_udc.c | 308 le16_to_cpu(get_unaligned(&desc->wMaxPacketSize))) { in pxa25x_ep_enable() 323 && le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)) in pxa25x_ep_enable() 325 || !get_unaligned(&desc->wMaxPacketSize)) { in pxa25x_ep_enable() 339 ep->ep.maxpacket = le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)); in pxa25x_ep_enable() 479 max = le16_to_cpu(get_unaligned(&ep->desc->wMaxPacketSize)); in write_fifo() 760 le16_to_cpu(get_unaligned(&ep->desc->wMaxPacketSize)))) in pxa25x_ep_queue()
|
/u-boot/fs/btrfs/ |
A D | compression.c | 28 tot_len = le32_to_cpu(get_unaligned((u32 *)cbuf)); in decompress_lzo() 45 in_len = le32_to_cpu(get_unaligned((u32 *)cbuf)); in decompress_lzo()
|
/u-boot/fs/squashfs/ |
A D | sqfs_inode.c | 149 header = get_unaligned((u16 *)data); in sqfs_read_metablock()
|
/u-boot/drivers/spi/ |
A D | octeon_spi.c | 232 wide_dat = get_unaligned((u64 *)tx_data); in octeon_spi_xfer() 334 wide_dat = get_unaligned((u64 *)tx_data); in octeontx2_spi_xfer() 372 wide_dat = get_unaligned((u64 *)tx_data); in octeontx2_spi_xfer()
|
/u-boot/doc/ |
A D | README.unaligned-memory-access.txt | 197 The easiest way to avoid unaligned access is to use the get_unaligned() and 220 The get_unaligned() macro works similarly. Assuming 'data' is a pointer to 223 u32 value = get_unaligned((u32 *) data);
|
/u-boot/lib/lzo/ |
A D | lzo1x_decompress.c | 25 put_unaligned(get_unaligned((const u32 *)(src)), (u32 *)(dst))
|
/u-boot/lib/zlib/ |
A D | inffast.c | 273 PUP(sout) = get_unaligned(++sfrom); in inflate_fast()
|
/u-boot/common/ |
A D | usb_hub.c | 649 put_unaligned(le16_to_cpu(get_unaligned( in usb_hub_configure() 670 hubCharacteristics = get_unaligned(&hub->desc.wHubCharacteristics); in usb_hub_configure()
|
A D | usb.c | 335 ep_wMaxPacketSize = get_unaligned(&ep->wMaxPacketSize); in usb_set_maxpacket_ep() 477 ep_wMaxPacketSize = get_unaligned(&dev->config.\ in usb_parse_config()
|
/u-boot/drivers/usb/host/ |
A D | xhci.c | 622 (get_unaligned(&endpt_desc->wMaxPacketSize))); in xhci_set_configuration() 1262 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in xhci_lowlevel_init() 1267 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in xhci_lowlevel_init()
|
/u-boot/drivers/mtd/ |
A D | cfi_flash.c | 1657 tmp = get_unaligned(&qry->erase_region_info[i]); in cfi_reverse_geometry() 1658 put_unaligned(get_unaligned(&qry->erase_region_info[j]), in cfi_reverse_geometry() 2101 info->vendor = le16_to_cpu(get_unaligned(&qry.p_id)); in flash_get_size() 2102 info->ext_addr = le16_to_cpu(get_unaligned(&qry.p_adr)); in flash_get_size() 2191 tmp = le32_to_cpu(get_unaligned( in flash_get_size()
|
/u-boot/include/linux/usb/ |
A D | ch9.h | 631 return __le16_to_cpu(get_unaligned(&epd->wMaxPacketSize)); in usb_endpoint_maxp()
|