Home
last modified time | relevance | path

Searched refs:get_unaligned (Results 1 – 25 of 32) sorted by relevance

12

/external/wpa_supplicant_8/src/utils/
Dplatform.h10 #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/
Dunaligned.h12 #define get_unaligned __get_unaligned_le macro
15 #define get_unaligned __get_unaligned_be macro
/external/u-boot/arch/sh/include/asm/
Dunaligned.h13 #define get_unaligned __get_unaligned_be macro
16 #define get_unaligned __get_unaligned_le macro
Dunaligned-sh4a.h251 # define get_unaligned __get_unaligned_le macro
254 # define get_unaligned __get_unaligned_be macro
/external/u-boot/arch/mips/include/asm/
Dunaligned.h10 #define get_unaligned __get_unaligned_be macro
13 #define get_unaligned __get_unaligned_le macro
/external/u-boot/include/asm-generic/
Dunaligned.h14 #define get_unaligned __get_unaligned_le macro
17 #define get_unaligned __get_unaligned_be macro
/external/puffin/src/
Dutils.cc29 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/
Dhexdump.c87 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/
Dhash.c101 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()
Dutil.h49 #define get_unaligned(ptr) \ macro
/external/u-boot/fs/btrfs/
Dcompression.c22 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/
Depautoconf.c118 max = 0x7ff & le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)); in ep_matches()
134 if ((get_unaligned(&desc->wMaxPacketSize) & in ep_matches()
Ddwc2_udc_otg.c555 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()
Drndis.c790 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()
Dpxa25x_udc.c305 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/
Dunaligned.h12 #define get_unaligned __get_unaligned_be macro
/external/u-boot/arch/powerpc/include/asm/
Dunaligned.h12 #define get_unaligned __get_unaligned_be macro
/external/u-boot/doc/
DREADME.unaligned-memory-access.txt197 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/
Dusb_hub.c653 put_unaligned(le16_to_cpu(get_unaligned( in usb_hub_configure()
674 hubCharacteristics = get_unaligned(&hub->desc.wHubCharacteristics); in usb_hub_configure()
Dusb.c323 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/
Dxhci.c589 (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/
Dlzo1x_decompress.c25 put_unaligned(get_unaligned((const u32 *)(src)), (u32 *)(dst))
/external/u-boot/drivers/mtd/
Dcfi_flash.c1649 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/
Dlibkmod-signature.c345 sig_len = be32toh(get_unaligned(&modsig->sig_len)); in kmod_module_signature_info()
/external/u-boot/lib/zlib/
Dinffast.c273 PUP(sout) = get_unaligned(++sfrom); in inflate_fast()

12