/u-boot/drivers/usb/gadget/ |
A D | ep0.c | 316 le16_to_cpu (urb->device_request.wIndex); in ep0_get_descriptor() 345 le16_to_cpu (urb->device_request.wIndex); in ep0_get_descriptor() 450 le16_to_cpu (request->wValue), le16_to_cpu (request->wIndex), in ep0_recv_setup() 451 le16_to_cpu (request->wLength), in ep0_recv_setup() 529 le16_to_cpu (request->wLength), in ep0_recv_setup() 530 le16_to_cpu (request->wValue) >> 8, in ep0_recv_setup() 531 le16_to_cpu (request->wValue) & 0xff); in ep0_recv_setup() 586 le16_to_cpu (request->wValue)); in ep0_recv_setup() 595 le16_to_cpu (request->wValue), in ep0_recv_setup() 599 address = le16_to_cpu (request->wValue); in ep0_recv_setup() [all …]
|
A D | f_dfu.c | 320 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_idle() 321 u16 len = le16_to_cpu(ctrl->wLength); in state_dfu_idle() 423 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_dnload_idle() 424 u16 len = le16_to_cpu(ctrl->wLength); in state_dfu_dnload_idle() 510 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_upload_idle() 511 u16 len = le16_to_cpu(ctrl->wLength); in state_dfu_upload_idle() 591 u16 len = le16_to_cpu(ctrl->wLength); in dfu_handle() 592 u16 w_value = le16_to_cpu(ctrl->wValue); in dfu_handle()
|
/u-boot/drivers/pci/ |
A D | pci_rom.c | 104 le16_to_cpu(rom_header->signature), in pci_rom_probe() 105 rom_header->size * 512, le16_to_cpu(rom_header->data)); in pci_rom_probe() 107 if (le16_to_cpu(rom_header->signature) != PCI_ROM_HDR) { in pci_rom_probe() 109 le16_to_cpu(rom_header->signature)); in pci_rom_probe() 117 rom_data = (((void *)rom_header) + le16_to_cpu(rom_header->data)); in pci_rom_probe() 118 rom_vendor = le16_to_cpu(rom_data->vendor); in pci_rom_probe() 119 rom_device = le16_to_cpu(rom_data->device); in pci_rom_probe() 132 rom_class = (le16_to_cpu(rom_data->class_hi) << 8) | rom_data->class_lo; in pci_rom_probe() 171 le16_to_cpu(rom_header->data)); in pci_rom_load() 173 image_size = le16_to_cpu(rom_data->ilen) * 512; in pci_rom_load()
|
/u-boot/tools/ |
A D | mtk_image.c | 410 tparams->header_size = 2 * le16_to_cpu(hdr_nand->pagesize); in mtk_image_vrec_header() 507 (uint64_t)le16_to_cpu(nh->numblocks) * in mtk_image_verify_nand_header() 508 (uint64_t)le16_to_cpu(nh->pages_of_block) * in mtk_image_verify_nand_header() 509 (uint64_t)le16_to_cpu(nh->pagesize) * 8; in mtk_image_verify_nand_header() 514 if (le16_to_cpu(nh->pagesize) >= 1024) in mtk_image_verify_nand_header() 516 le16_to_cpu(nh->pagesize) >> 10); in mtk_image_verify_nand_header() 519 le16_to_cpu(nh->pagesize)); in mtk_image_verify_nand_header() 521 printf("Spare Size: %dB\n", le16_to_cpu(nh->oobsize)); in mtk_image_verify_nand_header() 524 gfh = (struct gfh_header *)(ptr + 2 * le16_to_cpu(nh->pagesize)); in mtk_image_verify_nand_header() 715 le16_to_cpu(hdr_nand->pagesize); in mtk_image_set_nand_header() [all …]
|
A D | socfpgaimage.c | 192 hdr_csum = le16_to_cpu(header_v0.checksum); in sfp_verify_header() 194 img_len = le16_to_cpu(header_v0.length_u32) * 4; in sfp_verify_header() 197 hdr_csum = le16_to_cpu(header_v1.checksum); in sfp_verify_header() 294 le16_to_cpu(header->length_u32)); in socfpgaimage_print_header_v0() 296 le16_to_cpu(header->checksum)); in socfpgaimage_print_header_v0() 307 le16_to_cpu(header->header_u8)); in socfpgaimage_print_header_v1() 313 le16_to_cpu(header->checksum)); in socfpgaimage_print_header_v1()
|
/u-boot/drivers/smem/ |
A D | msm_smem.c | 363 if (le16_to_cpu(hdr->item) == item) in qcom_smem_alloc_private() 510 if (le16_to_cpu(e->item) == item) { in qcom_smem_get_private() 513 le16_to_cpu(e->padding_data); in qcom_smem_get_private() 530 if (le16_to_cpu(e->item) == item) { in qcom_smem_get_private() 533 le16_to_cpu(e->padding_data); in qcom_smem_get_private() 678 host0 = le16_to_cpu(entry->host0); in qcom_smem_set_global_partition() 679 host1 = le16_to_cpu(entry->host1); in qcom_smem_set_global_partition() 701 host0 = le16_to_cpu(header->host0); in qcom_smem_set_global_partition() 702 host1 = le16_to_cpu(header->host1); in qcom_smem_set_global_partition() 748 host0 = le16_to_cpu(entry->host0); in qcom_smem_enumerate_partitions() [all …]
|
/u-boot/drivers/bios_emulator/ |
A D | atibios.c | 109 debug("version %x\n", le16_to_cpu(info->version)); in atibios_debug_mode() 121 debug("%x ", le16_to_cpu(*ptr)); in atibios_debug_mode() 122 debug("\nmemory %dMB\n", le16_to_cpu(info->total_memory) >> 4); in atibios_debug_mode() 138 int mode = le16_to_cpu(*ptr); in atibios_debug_mode() 159 attr = le16_to_cpu(vm->mode_attributes); in atibios_debug_mode() 162 le16_to_cpu(vm->x_resolution), in atibios_debug_mode() 163 le16_to_cpu(vm->y_resolution), in atibios_debug_mode() 212 vm->x_resolution = le16_to_cpu(vm->x_resolution); in atibios_set_vesa_mode() 213 vm->y_resolution = le16_to_cpu(vm->y_resolution); in atibios_set_vesa_mode() 214 vm->bytes_per_scanline = le16_to_cpu(vm->bytes_per_scanline); in atibios_set_vesa_mode() [all …]
|
/u-boot/drivers/nvme/ |
A D | nvme_show.c | 59 printf("\t\tMetadata Size: %d\n", le16_to_cpu(lbaf->ms)); in print_format() 117 print_optional_admin_cmd(le16_to_cpu(ctrl->oacs), ns->devnum); in nvme_print_info() 118 print_optional_nvm_cmd(le16_to_cpu(ctrl->oncs), ns->devnum); in nvme_print_info()
|
/u-boot/drivers/mtd/nand/raw/ |
A D | nand_timings.c | 314 timings->tPROG_max = 1000000ULL * le16_to_cpu(params->t_prog); in onfi_init_data_interface() 315 timings->tBERS_max = 1000000ULL * le16_to_cpu(params->t_bers); in onfi_init_data_interface() 316 timings->tR_max = 1000000ULL * le16_to_cpu(params->t_r); in onfi_init_data_interface() 319 timings->tCCS_min = 1000UL * le16_to_cpu(params->t_ccs); in onfi_init_data_interface()
|
/u-boot/common/ |
A D | usb_hub.c | 290 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_hub_port_reset() 291 portchange = le16_to_cpu(portsts->wPortChange); in usb_hub_port_reset() 351 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_hub_port_connect_change() 354 le16_to_cpu(portsts->wPortChange), in usb_hub_port_connect_change() 461 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_scan_port() 462 portchange = le16_to_cpu(portsts->wPortChange); in usb_scan_port() 649 put_unaligned(le16_to_cpu(get_unaligned( in usb_hub_configure() 778 le16_to_cpu(hubsts->wHubStatus), in usb_hub_configure() 779 le16_to_cpu(hubsts->wHubChange)); in usb_hub_configure() 781 (le16_to_cpu(hubsts->wHubStatus) & HUB_STATUS_LOCAL_POWER) ? \ in usb_hub_configure() [all …]
|
/u-boot/fs/ext4/ |
A D | ext4_common.c | 145 return le16_to_cpu(bg->bg_flags); in ext4fs_bg_get_flags() 532 while (le16_to_cpu(dir->direntlen) > 0) { in ext4fs_update_parent_dentry() 541 le16_to_cpu(dir->direntlen)) { in ext4fs_update_parent_dentry() 587 templength = le16_to_cpu(dir->direntlen); in ext4fs_update_parent_dentry() 597 templength = le16_to_cpu(dir->direntlen); in ext4fs_update_parent_dentry() 673 int direntlen = le16_to_cpu(dir->direntlen); in search_dir() 899 int direntlen = le16_to_cpu(dir->direntlen); in unlink_filename() 922 new_len += le16_to_cpu(dir->direntlen); in unlink_filename() 1560 block = le16_to_cpu(index[i].ei_leaf_hi); in ext4fs_get_extent_block() 2119 if ((le16_to_cpu(fdiro->inode.mode) & in ext4fs_iterate_dir() [all …]
|
/u-boot/drivers/usb/host/ |
A D | xhci.c | 937 le16_to_cpu(req->index) > max_ports) { in xhci_submit_root() 939 le16_to_cpu(req->index) - 1); in xhci_submit_root() 951 switch (le16_to_cpu(req->value) >> 8) { in xhci_submit_root() 964 switch (le16_to_cpu(req->value) & 0xff) { in xhci_submit_root() 981 le16_to_cpu(req->value)); in xhci_submit_root() 991 switch (le16_to_cpu(req->value) >> 8) { in xhci_submit_root() 1005 ctrl->rootdev = le16_to_cpu(req->value); in xhci_submit_root() 1073 switch (le16_to_cpu(req->value)) { in xhci_submit_root() 1094 switch (le16_to_cpu(req->value)) { in xhci_submit_root() 1106 le16_to_cpu(req->index), in xhci_submit_root() [all …]
|
A D | ehci-hcd.c | 372 le16_to_cpu(req->value), le16_to_cpu(req->value), in ehci_submit_async() 373 le16_to_cpu(req->index)); in ehci_submit_async() 710 int port = le16_to_cpu(req->index) & 0xff; in ehci_submit_root() 718 le16_to_cpu(req->value), le16_to_cpu(req->index)); in ehci_submit_root() 737 switch (le16_to_cpu(req->value) >> 8) { in ehci_submit_root() 769 le16_to_cpu(req->value)); in ehci_submit_root() 779 switch (le16_to_cpu(req->value) >> 8) { in ehci_submit_root() 792 ctrl->rootdev = le16_to_cpu(req->value); in ehci_submit_root() 851 switch (le16_to_cpu(req->value)) { in ehci_submit_root() 931 switch (le16_to_cpu(req->value)) { in ehci_submit_root() [all …]
|
A D | xhci-ring.c | 781 le16_to_cpu(req->value), le16_to_cpu(req->value), in xhci_ctrl_tx() 782 le16_to_cpu(req->index)); in xhci_ctrl_tx() 856 req->requesttype, req->request, le16_to_cpu(req->value), in xhci_ctrl_tx() 857 le16_to_cpu(req->index), le16_to_cpu(req->length)); in xhci_ctrl_tx() 860 le16_to_cpu(req->value) << 16; in xhci_ctrl_tx() 861 trb_fields[1] = le16_to_cpu(req->index) | in xhci_ctrl_tx() 862 le16_to_cpu(req->length) << 16; in xhci_ctrl_tx()
|
/u-boot/drivers/usb/mtu3/ |
A D | mtu3_gadget_ep0.c | 210 u16 length = le16_to_cpu(setup->wLength); in ep0_set_sel() 253 epnum = (u8)le16_to_cpu(setup->wIndex); in ep0_get_status() 302 switch (le16_to_cpu(setup->wIndex) >> 8) { in handle_test_mode() 352 switch (le16_to_cpu(setup->wValue)) { in ep0_handle_feature_dev() 359 (le16_to_cpu(setup->wIndex) & 0xff)) in ep0_handle_feature_dev() 411 value = le16_to_cpu(setup->wValue); in ep0_handle_feature() 412 index = le16_to_cpu(setup->wIndex); in ep0_handle_feature() 471 value = le16_to_cpu(setup->wValue); in handle_standard_request() 637 le16_to_cpu(setup->wValue), le16_to_cpu(setup->wIndex), in ep0_read_setup() 638 le16_to_cpu(setup->wLength)); in ep0_read_setup() [all …]
|
/u-boot/drivers/usb/dwc3/ |
A D | ep0.c | 312 u32 windex = le16_to_cpu(wIndex_le); in dwc3_wIndex_to_dep() 401 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_handle_feature() 402 wIndex = le16_to_cpu(ctrl->wIndex); in dwc3_ep0_handle_feature() 506 addr = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_address() 548 cfg = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_config() 615 dwc->u2sel = le16_to_cpu(timing.u2sel); in dwc3_ep0_set_sel_cmpl() 647 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel() 678 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_isoch_delay() 679 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay() 680 wIndex = le16_to_cpu(ctrl->wIndex); in dwc3_ep0_set_isoch_delay() [all …]
|
/u-boot/include/ |
A D | compiler.h | 98 # define le16_to_cpu(x) (x) macro 111 # define le16_to_cpu(x) uswap_16(x) macro
|
A D | image-sparse.h | 35 (le16_to_cpu(s_header->major_version) == 1)) in is_sparse_image()
|
A D | zfs_common.h | 40 : le16_to_cpu(x))
|
/u-boot/include/linux/byteorder/ |
A D | generic.h | 91 #define le16_to_cpu __le16_to_cpu macro 146 *var = cpu_to_le16(le16_to_cpu(*var) + val); in le16_add_cpu()
|
/u-boot/include/fsl-mc/ |
A D | fsl_mc_cmd.h | 178 *major_ver = le16_to_cpu(rsp_params->major_ver); in mc_cmd_read_api_version() 179 *minor_ver = le16_to_cpu(rsp_params->minor_ver); in mc_cmd_read_api_version()
|
/u-boot/arch/mips/include/asm/mach-generic/ |
A D | mangle-port.h | 29 # define ioswabw(a, x) le16_to_cpu(x)
|
/u-boot/arch/mips/mach-octeon/include/ |
A D | mangle-port.h | 49 # define ioswabw(a, x) (__should_swizzle_bits(a) ? le16_to_cpu(x) : x)
|
/u-boot/drivers/usb/cdns3/ |
A D | ep0.c | 157 u32 config = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_configuration() 216 addr = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_address() 338 tmode = le16_to_cpu(ctrl->wIndex); in cdns3_ep0_feature_handle_device() 377 wValue = le16_to_cpu(ctrl->wValue); in cdns3_ep0_feature_handle_intf() 397 if (le16_to_cpu(ctrl->wValue) != USB_ENDPOINT_HALT) in cdns3_ep0_feature_handle_endpoint() 587 if (le16_to_cpu(ctrl->wLength)) in cdns3_ep0_setup_phase()
|
/u-boot/drivers/gpio/ |
A D | pca953x.c | 79 valw = le16_to_cpu(valw); in pca953x_reg_write() 100 *data = (uint)le16_to_cpu(valw); in pca953x_reg_read()
|