Home
last modified time | relevance | path

Searched refs:le16_to_cpu (Results 1 – 23 of 23) sorted by relevance

/external/wpa_supplicant_8/src/utils/
Dradiotap.c25 #define le16_to_cpu le_to_host16 macro
90 if (max_length < le16_to_cpu(get_unaligned(&radiotap_header->it_len))) in ieee80211_radiotap_iterator_init()
94 iterator->max_length = le16_to_cpu(get_unaligned( in ieee80211_radiotap_iterator_init()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Dradiotap.c25 #define le16_to_cpu le_to_host16 macro
90 if (max_length < le16_to_cpu(get_unaligned(&radiotap_header->it_len))) in ieee80211_radiotap_iterator_init()
94 iterator->max_length = le16_to_cpu(get_unaligned( in ieee80211_radiotap_iterator_init()
/external/qemu/hw/
Dbt-l2cap.c816 le16_to_cpu(((l2cap_cmd_rej *) params)->reason)); in l2cap_command()
826 le16_to_cpu(((l2cap_conn_req *) params)->psm), in l2cap_command()
827 le16_to_cpu(((l2cap_conn_req *) params)->scid)); in l2cap_command()
848 le16_to_cpu(((l2cap_conf_req *) params)->flags) & 1, in l2cap_command()
849 le16_to_cpu(((l2cap_conf_req *) params)->dcid), in l2cap_command()
861 le16_to_cpu(((l2cap_conf_rsp *) params)->result), in l2cap_command()
862 le16_to_cpu(((l2cap_conf_rsp *) params)->flags) & 1, in l2cap_command()
863 le16_to_cpu(((l2cap_conf_rsp *) params)->scid), in l2cap_command()
877 le16_to_cpu(((l2cap_disconn_req *) params)->dcid), in l2cap_command()
878 le16_to_cpu(((l2cap_disconn_req *) params)->scid)); in l2cap_command()
[all …]
Dsmbios.c84 p += le16_to_cpu(header->length); in smbios_check_collision()
110 cpu_to_le16(le16_to_cpu(*(uint16_t *)smbios_entries) + 1); in smbios_add_field()
202 cpu_to_le16(le16_to_cpu(*(uint16_t *)smbios_entries) + 1); in smbios_entry_add()
Dbt-hci-csr.c188 opc = le16_to_cpu(((struct hci_command_hdr *) pkt)->opcode); in csrhci_in_packet()
280 if (le16_to_cpu(((struct hci_command_hdr *) pkt)->opcode) == 0xfc00) in csrhci_data_len()
287 return le16_to_cpu(((struct hci_acl_hdr *) pkt)->dlen); in csrhci_data_len()
Dpci.c360 cmd = le16_to_cpu(*(uint16_t *)(d->config + PCI_COMMAND)); in pci_update_mappings()
449 val = le16_to_cpu(*(uint16_t *)(d->config + address)); in pci_default_read_config()
726 class = le16_to_cpu(*((uint16_t *)(d->config + PCI_CLASS_DEVICE))); in pci_info_device()
737 le16_to_cpu(*((uint16_t *)(d->config + PCI_VENDOR_ID))), in pci_info_device()
738 le16_to_cpu(*((uint16_t *)(d->config + PCI_DEVICE_ID)))); in pci_info_device()
Dne2000.c536 return le16_to_cpu(*(uint16_t *)(s->mem + addr)); in ne2000_mem_readw()
Dusb-ohci.c473 *buf = le16_to_cpu(*buf); in get_words()
/external/libsepol/src/
Dprivate.h26 #define le16_to_cpu(x) (x) macro
33 #define le16_to_cpu(x) bswap_16(x) macro
Davtab.c460 key.source_type = le16_to_cpu(buf16[items++]); in avtab_read_item()
461 key.target_type = le16_to_cpu(buf16[items++]); in avtab_read_item()
462 key.target_class = le16_to_cpu(buf16[items++]); in avtab_read_item()
463 key.specified = le16_to_cpu(buf16[items++]); in avtab_read_item()
/external/bluetooth/bluez/tools/
Ddfutool.c50 #define le16_to_cpu(d) (d) macro
55 #define le16_to_cpu(d) bswap_16(d) macro
265 if (suffix && dev->descriptor.idVendor != le16_to_cpu(suffix->idVendor)) in open_device()
379 printf("idVendor\t%04x\n", le16_to_cpu(suffix->idVendor)); in cmd_verify()
380 printf("idProduct\t%04x\n", le16_to_cpu(suffix->idProduct)); in cmd_verify()
381 printf("bcdDevice\t%x\n", le16_to_cpu(suffix->bcdDevice)); in cmd_verify()
385 bcd = le16_to_cpu(suffix->bcdDFU); in cmd_verify()
/external/kernel-headers/original/asm-mips/
Dvga.h39 return le16_to_cpu(*addr); in scr_readw()
/external/kernel-headers/original/asm-arm/
Dio.h118 #define inw(p) ({ __u16 __v = le16_to_cpu((__force __le16) \
167 #define readw(c) ({ __u16 __v = le16_to_cpu((__force __le16) \
252 #define ioread16(p) ({ unsigned int __v = le16_to_cpu(__raw_readw(p)); __v; })
/external/kernel-headers/original/linux/mtd/
Dcfi_endian.h34 #define cfi16_to_cpu(x) le16_to_cpu(x)
/external/kernel-headers/original/linux/byteorder/
Dgeneric.h96 #define le16_to_cpu __le16_to_cpu macro
/external/grub/netboot/
Ddavicom.c103 #define le16_to_cpu(val) (val) macro
675 le16_to_cpu(read_eeprom(ioaddr, i, EEPROM_ADDRLEN)); in davicom_probe()
Dnatsemi.c83 #define le16_to_cpu(val) (val) macro
Dtulip.c128 #define le16_to_cpu(val) (val) macro
1299 put_unaligned(le16_to_cpu(value), ((u16*)nic->node_addr) + i); in tulip_probe()
1315 le16_to_cpu(read_eeprom(ioaddr, i, ee_addr_size)); in tulip_probe()
/external/qemu/
Dusb-linux.c560 value = le16_to_cpu(s->ctrl.req.wValue); in usb_host_handle_control()
561 index = le16_to_cpu(s->ctrl.req.wIndex); in usb_host_handle_control()
633 s->ctrl.len = le16_to_cpu(s->ctrl.req.wLength); in do_token_setup()
/external/bluetooth/hcidump/parser/
Drfcomm.h52 #define swap_long_frame(x) ((x)->h.length.val = le16_to_cpu((x)->h.length.val))
/external/kernel-headers/original/linux/
Dmsdos_fs.h17 #define CF_LE_W(v) le16_to_cpu(v)
Dusb.h1192 return le16_to_cpu(ep->desc.wMaxPacketSize); in usb_maxpacket()
/external/qemu/block/
Dvvfat.c491 return le16_to_cpu(direntry->begin)|(le16_to_cpu(direntry->begin_hi)<<16); in begin_of_direntry()
568 return le16_to_cpu(*entry); in fat_get()
1534 return le16_to_cpu(*entry); in modified_fat_get()