/external/wpa_supplicant_8/src/utils/ |
D | platform.h | 10 #define get_unaligned(p) \ macro 18 #define get_unaligned_le16(p) le16_to_cpu(get_unaligned((le16 *)(p))) 19 #define get_unaligned_le32(p) le32_to_cpu(get_unaligned((le32 *)(p)))
|
/external/u-boot/arch/arm/include/asm/ |
D | unaligned.h | 12 #define get_unaligned __get_unaligned_le macro 15 #define get_unaligned __get_unaligned_be macro
|
/external/u-boot/arch/sh/include/asm/ |
D | unaligned.h | 13 #define get_unaligned __get_unaligned_be macro 16 #define get_unaligned __get_unaligned_le macro
|
D | unaligned-sh4a.h | 251 # define get_unaligned __get_unaligned_le macro 254 # define get_unaligned __get_unaligned_be macro
|
/external/u-boot/arch/mips/include/asm/ |
D | unaligned.h | 10 #define get_unaligned __get_unaligned_be macro 13 #define get_unaligned __get_unaligned_le macro
|
/external/u-boot/include/asm-generic/ |
D | unaligned.h | 14 #define get_unaligned __get_unaligned_le macro 17 #define get_unaligned __get_unaligned_be macro
|
/external/puffin/src/ |
D | utils.cc | 29 inline T get_unaligned(const void* address) { in get_unaligned() function 250 if (get_unaligned<uint32_t>(data.data() + pos) != 0x04034b50) { in LocateDeflatesInZipArchive() 268 auto compression_method = get_unaligned<uint16_t>(data.data() + pos + 8); in LocateDeflatesInZipArchive() 274 auto compressed_size = get_unaligned<uint32_t>(data.data() + pos + 18); in LocateDeflatesInZipArchive() 275 auto file_name_length = get_unaligned<uint16_t>(data.data() + pos + 26); in LocateDeflatesInZipArchive() 276 auto extra_field_length = get_unaligned<uint16_t>(data.data() + pos + 28); in LocateDeflatesInZipArchive()
|
/external/u-boot/lib/ |
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()
|
/external/kmod/shared/ |
D | hash.c | 101 hash += get_unaligned((uint16_t *) key); in hash_superfast() 102 tmp = (get_unaligned((uint16_t *)(key + 2)) << 11) ^ hash; in hash_superfast() 111 hash += get_unaligned((uint16_t *) key); in hash_superfast() 118 hash += get_unaligned((uint16_t *) key); in hash_superfast()
|
D | util.h | 49 #define get_unaligned(ptr) \ macro
|
/external/u-boot/fs/btrfs/ |
D | compression.c | 22 tot_len = le32_to_cpu(get_unaligned((u32 *)cbuf)); in decompress_lzo() 35 in_len = le32_to_cpu(get_unaligned((u32 *)cbuf)); in decompress_lzo()
|
/external/u-boot/drivers/usb/gadget/ |
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()
|
D | dwc2_udc_otg.c | 555 le16_to_cpu(get_unaligned(&desc->wMaxPacketSize))) { in dwc2_ep_enable() 572 le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)) > in dwc2_ep_enable() 573 ep_maxpacket(ep)) || !get_unaligned(&desc->wMaxPacketSize)) { in dwc2_ep_enable() 589 ep->ep.maxpacket = le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)); in dwc2_ep_enable()
|
D | rndis.c | 790 resp->RequestID = get_unaligned(&buf->RequestID); /* Still LE in msg buffer */ in rndis_init_response() 835 resp->RequestID = get_unaligned(&buf->RequestID); /* Still LE in msg buffer */ in rndis_query_response() 884 resp->RequestID = get_unaligned(&buf->RequestID); /* Still LE in msg buffer */ in rndis_set_response() 938 resp->RequestID = get_unaligned(&buf->RequestID); /* Still LE in msg buffer */ in rndis_keepalive_response() 1279 != get_unaligned(tmp++)) in rndis_rm_hdr()
|
D | pxa25x_udc.c | 305 le16_to_cpu(get_unaligned(&desc->wMaxPacketSize))) { in pxa25x_ep_enable() 320 && le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)) in pxa25x_ep_enable() 322 || !get_unaligned(&desc->wMaxPacketSize)) { in pxa25x_ep_enable() 336 ep->ep.maxpacket = le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)); in pxa25x_ep_enable() 476 max = le16_to_cpu(get_unaligned(&ep->desc->wMaxPacketSize)); in write_fifo() 757 le16_to_cpu(get_unaligned(&ep->desc->wMaxPacketSize)))) in pxa25x_ep_queue()
|
/external/u-boot/arch/m68k/include/asm/ |
D | unaligned.h | 12 #define get_unaligned __get_unaligned_be macro
|
/external/u-boot/arch/powerpc/include/asm/ |
D | unaligned.h | 12 #define get_unaligned __get_unaligned_be macro
|
/external/u-boot/doc/ |
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);
|
/external/u-boot/common/ |
D | usb_hub.c | 653 put_unaligned(le16_to_cpu(get_unaligned( in usb_hub_configure() 674 hubCharacteristics = get_unaligned(&hub->desc.wHubCharacteristics); in usb_hub_configure()
|
D | usb.c | 323 ep_wMaxPacketSize = get_unaligned(&ep->wMaxPacketSize); in usb_set_maxpacket_ep() 465 ep_wMaxPacketSize = get_unaligned(&dev->config.\ in usb_parse_config()
|
/external/u-boot/drivers/usb/host/ |
D | xhci.c | 589 (get_unaligned(&endpt_desc->wMaxPacketSize))); in xhci_set_configuration() 1221 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in xhci_lowlevel_init() 1226 put_unaligned(get_unaligned(&descriptor.hub.wHubCharacteristics) in xhci_lowlevel_init()
|
/external/u-boot/lib/lzo/ |
D | lzo1x_decompress.c | 25 put_unaligned(get_unaligned((const u32 *)(src)), (u32 *)(dst))
|
/external/u-boot/drivers/mtd/ |
D | cfi_flash.c | 1649 tmp = get_unaligned(&qry->erase_region_info[i]); in cfi_reverse_geometry() 1650 put_unaligned(get_unaligned(&qry->erase_region_info[j]), in cfi_reverse_geometry() 2093 info->vendor = le16_to_cpu(get_unaligned(&qry.p_id)); in flash_get_size() 2094 info->ext_addr = le16_to_cpu(get_unaligned(&qry.p_adr)); in flash_get_size() 2183 tmp = le32_to_cpu(get_unaligned( in flash_get_size()
|
/external/kmod/libkmod/ |
D | libkmod-signature.c | 345 sig_len = be32toh(get_unaligned(&modsig->sig_len)); in kmod_module_signature_info()
|
/external/u-boot/lib/zlib/ |
D | inffast.c | 273 PUP(sout) = get_unaligned(++sfrom); in inflate_fast()
|