| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | ep0.c | 270 le16_to_cpu (urb->device_request.wIndex); in ep0_get_descriptor() 299 le16_to_cpu (urb->device_request.wIndex); in ep0_get_descriptor() 404 le16_to_cpu (request->wValue), le16_to_cpu (request->wIndex), in ep0_recv_setup() 405 le16_to_cpu (request->wLength), in ep0_recv_setup() 483 le16_to_cpu (request->wLength), in ep0_recv_setup() 484 le16_to_cpu (request->wValue) >> 8, in ep0_recv_setup() 485 le16_to_cpu (request->wValue) & 0xff); in ep0_recv_setup() 530 dbg_ep0 (0, "ENDPOINT: %x", le16_to_cpu (request->wValue)); in ep0_recv_setup() 531 if (le16_to_cpu (request->wValue) == USB_ENDPOINT_HALT) { in ep0_recv_setup() 540 le16_to_cpu (request->wValue)); in ep0_recv_setup() [all …]
|
| H A D | f_dfu.c | 319 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_idle() 320 u16 len = le16_to_cpu(ctrl->wLength); in state_dfu_idle() 422 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_dnload_idle() 423 u16 len = le16_to_cpu(ctrl->wLength); in state_dfu_dnload_idle() 509 u16 w_value = le16_to_cpu(ctrl->wValue); in state_dfu_upload_idle() 510 u16 len = le16_to_cpu(ctrl->wLength); in state_dfu_upload_idle() 590 u16 len = le16_to_cpu(ctrl->wLength); in dfu_handle() 591 u16 w_value = le16_to_cpu(ctrl->wValue); in dfu_handle()
|
| H A D | composite.c | 23 var->val = cpu_to_le16(le16_to_cpu(var->val) + val); in le16_add_cpu_packed() 741 cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 754 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 767 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc() 783 return le16_to_cpu(bos->wTotalLength); in bos_desc() 796 u16 w_length = le16_to_cpu(ctrl->wLength); in composite_setup() 797 u16 w_index = le16_to_cpu(ctrl->wIndex); in composite_setup() 798 u16 w_value = le16_to_cpu(ctrl->wValue); in composite_setup()
|
| H A D | atmel_usba_udc.c | 732 target = get_ep_by_addr(udc, le16_to_cpu(crq->wIndex)); in handle_ep0_setup() 766 target = get_ep_by_addr(udc, le16_to_cpu(crq->wIndex)); in handle_ep0_setup() 787 udc->test_mode = le16_to_cpu(crq->wIndex); in handle_ep0_setup() 801 target = get_ep_by_addr(udc, le16_to_cpu(crq->wIndex)); in handle_ep0_setup() 818 set_address(udc, le16_to_cpu(crq->wValue)); in handle_ep0_setup() 835 le16_to_cpu(crq->wValue), le16_to_cpu(crq->wIndex), in handle_ep0_setup() 836 le16_to_cpu(crq->wLength)); in handle_ep0_setup() 1015 le16_to_cpu(crq.crq.wLength), ep->state, ret); in usba_control_irq()
|
| /rk3399_rockchip-uboot/drivers/pci/ |
| H A D | pci_rom.c | 101 le16_to_cpu(rom_header->signature), in pci_rom_probe() 102 rom_header->size * 512, le16_to_cpu(rom_header->data)); in pci_rom_probe() 104 if (le16_to_cpu(rom_header->signature) != PCI_ROM_HDR) { in pci_rom_probe() 106 le16_to_cpu(rom_header->signature)); in pci_rom_probe() 114 rom_data = (((void *)rom_header) + le16_to_cpu(rom_header->data)); in pci_rom_probe() 115 rom_vendor = le16_to_cpu(rom_data->vendor); in pci_rom_probe() 116 rom_device = le16_to_cpu(rom_data->device); in pci_rom_probe() 129 rom_class = (le16_to_cpu(rom_data->class_hi) << 8) | rom_data->class_lo; in pci_rom_probe() 168 le16_to_cpu(rom_header->data)); in pci_rom_load() 170 image_size = le16_to_cpu(rom_data->ilen) * 512; in pci_rom_load()
|
| /rk3399_rockchip-uboot/drivers/bios_emulator/ |
| H A D | atibios.c | 105 debug("version %x\n", le16_to_cpu(info->version)); in atibios_debug_mode() 117 debug("%x ", le16_to_cpu(*ptr)); in atibios_debug_mode() 118 debug("\nmemory %dMB\n", le16_to_cpu(info->total_memory) >> 4); in atibios_debug_mode() 134 int mode = le16_to_cpu(*ptr); in atibios_debug_mode() 156 attr = le16_to_cpu(vm->mode_attributes); in atibios_debug_mode() 159 le16_to_cpu(vm->x_resolution), in atibios_debug_mode() 160 le16_to_cpu(vm->y_resolution), in atibios_debug_mode() 209 vm->x_resolution = le16_to_cpu(vm->x_resolution); in atibios_set_vesa_mode() 210 vm->y_resolution = le16_to_cpu(vm->y_resolution); in atibios_set_vesa_mode() 211 vm->bytes_per_scanline = le16_to_cpu(vm->bytes_per_scanline); in atibios_set_vesa_mode() [all …]
|
| /rk3399_rockchip-uboot/drivers/nvme/ |
| H A D | nvme_show.c | 60 printf("\t\tMetadata Size: %d\n", le16_to_cpu(lbaf->ms)); in print_format() 118 print_optional_admin_cmd(le16_to_cpu(ctrl->oacs), ns->devnum); in nvme_print_info() 119 print_optional_nvm_cmd(le16_to_cpu(ctrl->oncs), ns->devnum); in nvme_print_info()
|
| /rk3399_rockchip-uboot/fs/ext4/ |
| H A D | ext4_common.c | 74 uint32_t free_inodes = le16_to_cpu(bg->free_inodes); in ext4fs_bg_free_inodes_dec() 76 free_inodes += le16_to_cpu(bg->free_inodes_high) << 16; in ext4fs_bg_free_inodes_dec() 87 uint32_t free_blocks = le16_to_cpu(bg->free_blocks); in ext4fs_bg_free_blocks_dec() 89 free_blocks += le16_to_cpu(bg->free_blocks_high) << 16; in ext4fs_bg_free_blocks_dec() 100 uint32_t free_inodes = le16_to_cpu(bg->bg_itable_unused); in ext4fs_bg_itable_unused_dec() 102 free_inodes += le16_to_cpu(bg->bg_itable_unused_high) << 16; in ext4fs_bg_itable_unused_dec() 126 uint32_t free_blocks = le16_to_cpu(bg->free_blocks); in ext4fs_bg_get_free_blocks() 128 free_blocks += le16_to_cpu(bg->free_blocks_high) << 16; in ext4fs_bg_get_free_blocks() 136 uint32_t free_inodes = le16_to_cpu(bg->free_inodes); in ext4fs_bg_get_free_inodes() 138 free_inodes += le16_to_cpu(bg->free_inodes_high) << 16; in ext4fs_bg_get_free_inodes() [all …]
|
| /rk3399_rockchip-uboot/common/ |
| H A D | usb_hub.c | 297 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_hub_port_reset() 298 portchange = le16_to_cpu(portsts->wPortChange); in usb_hub_port_reset() 361 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_hub_port_connect_change() 364 le16_to_cpu(portsts->wPortChange), in usb_hub_port_connect_change() 477 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_scan_port() 478 portchange = le16_to_cpu(portsts->wPortChange); in usb_scan_port() 665 put_unaligned(le16_to_cpu(get_unaligned( in usb_hub_configure() 794 le16_to_cpu(hubsts->wHubStatus), in usb_hub_configure() 795 le16_to_cpu(hubsts->wHubChange)); in usb_hub_configure() 797 (le16_to_cpu(hubsts->wHubStatus) & HUB_STATUS_LOCAL_POWER) ? \ in usb_hub_configure() [all …]
|
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | xhci.c | 433 return le16_to_cpu(ss_ep_comp_desc->wBytesPerInterval); in xhci_get_max_esit_payload() 906 le16_to_cpu(req->index) > max_ports) { in xhci_submit_root() 908 le16_to_cpu(req->index) - 1); in xhci_submit_root() 913 (&hcor->portregs[le16_to_cpu(req->index) - 1].or_portsc); in xhci_submit_root() 920 switch (le16_to_cpu(req->value) >> 8) { in xhci_submit_root() 933 switch (le16_to_cpu(req->value) & 0xff) { in xhci_submit_root() 950 le16_to_cpu(req->value)); in xhci_submit_root() 955 printf("unknown value %x\n", le16_to_cpu(req->value)); in xhci_submit_root() 960 switch (le16_to_cpu(req->value) >> 8) { in xhci_submit_root() 968 printf("unknown value %x\n", le16_to_cpu(req->value)); in xhci_submit_root() [all …]
|
| H A D | ehci-hcd.c | 324 le16_to_cpu(req->value), le16_to_cpu(req->value), in ehci_submit_async() 325 le16_to_cpu(req->index)); in ehci_submit_async() 662 int port = le16_to_cpu(req->index) & 0xff; in ehci_submit_root() 670 le16_to_cpu(req->value), le16_to_cpu(req->index)); in ehci_submit_root() 689 switch (le16_to_cpu(req->value) >> 8) { in ehci_submit_root() 704 switch (le16_to_cpu(req->value) & 0xff) { in ehci_submit_root() 721 le16_to_cpu(req->value)); in ehci_submit_root() 726 debug("unknown value %x\n", le16_to_cpu(req->value)); in ehci_submit_root() 731 switch (le16_to_cpu(req->value) >> 8) { in ehci_submit_root() 738 debug("unknown value %x\n", le16_to_cpu(req->value)); in ehci_submit_root() [all …]
|
| H A D | xhci-ring.c | 811 le16_to_cpu(req->value), le16_to_cpu(req->value), in xhci_ctrl_tx() 812 le16_to_cpu(req->index)); in xhci_ctrl_tx() 886 req->requesttype, req->request, le16_to_cpu(req->value), in xhci_ctrl_tx() 887 le16_to_cpu(req->index), le16_to_cpu(req->length)); in xhci_ctrl_tx() 890 le16_to_cpu(req->value) << 16; in xhci_ctrl_tx() 891 trb_fields[1] = le16_to_cpu(req->index) | in xhci_ctrl_tx() 892 le16_to_cpu(req->length) << 16; in xhci_ctrl_tx()
|
| H A D | usb-uclass.c | 410 id->idVendor != le16_to_cpu(desc->idVendor)) in usb_match_device() 414 id->idProduct != le16_to_cpu(desc->idProduct)) in usb_match_device() 420 (id->bcdDevice_lo > le16_to_cpu(desc->bcdDevice))) in usb_match_device() 424 (id->bcdDevice_hi < le16_to_cpu(desc->bcdDevice))) in usb_match_device() 704 if (le16_to_cpu(status.wPortChange) & in usb_detect_change()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | nand_timings.c | 313 timings->tPROG_max = 1000000ULL * le16_to_cpu(params->t_prog); in onfi_init_data_interface() 314 timings->tBERS_max = 1000000ULL * le16_to_cpu(params->t_bers); in onfi_init_data_interface() 315 timings->tR_max = 1000000ULL * le16_to_cpu(params->t_r); in onfi_init_data_interface() 318 timings->tCCS_min = 1000UL * le16_to_cpu(params->t_ccs); in onfi_init_data_interface()
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | eepro100.c | 237 return le16_to_cpu(*(volatile u16 *)(addr + (u_long)dev->iobase)); in INW() 541 !(le16_to_cpu (tx_ring[tx_cur].status) & CONFIG_SYS_STATUS_C); in eepro100_init() 549 if (!(le16_to_cpu (tx_ring[tx_cur].status) & CONFIG_SYS_STATUS_OK)) { in eepro100_init() 551 le16_to_cpu (tx_ring[tx_cur].status)); in eepro100_init() 577 for (i = 0; !(le16_to_cpu (tx_ring[tx_cur].status) & CONFIG_SYS_STATUS_C); in eepro100_init() 586 if (!(le16_to_cpu (tx_ring[tx_cur].status) & CONFIG_SYS_STATUS_OK)) { in eepro100_init() 588 le16_to_cpu (tx_ring[tx_cur].status)); in eepro100_init() 636 for (i = 0; !(le16_to_cpu (tx_ring[tx_cur].status) & CONFIG_SYS_STATUS_C); in eepro100_send() 644 if (!(le16_to_cpu (tx_ring[tx_cur].status) & CONFIG_SYS_STATUS_OK)) { in eepro100_send() 646 le16_to_cpu (tx_ring[tx_cur].status)); in eepro100_send() [all …]
|
| /rk3399_rockchip-uboot/tools/easylogo/ |
| H A D | easylogo.c | 138 static inline unsigned short le16_to_cpu (unsigned short val) in le16_to_cpu() function 163 header.ColorMapOrigin = le16_to_cpu (header.ColorMapOrigin); in image_load_tga() 164 header.ColorMapLenght = le16_to_cpu (header.ColorMapLenght); in image_load_tga() 165 header.ImageXOrigin = le16_to_cpu (header.ImageXOrigin); in image_load_tga() 166 header.ImageYOrigin = le16_to_cpu (header.ImageYOrigin); in image_load_tga() 167 header.ImageWidth = le16_to_cpu (header.ImageWidth); in image_load_tga() 168 header.ImageHeight = le16_to_cpu (header.ImageHeight); in image_load_tga()
|
| /rk3399_rockchip-uboot/drivers/usb/dwc3/ |
| H A D | ep0.c | 309 u32 windex = le16_to_cpu(wIndex_le); in dwc3_wIndex_to_dep() 398 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_handle_feature() 399 wIndex = le16_to_cpu(ctrl->wIndex); in dwc3_ep0_handle_feature() 503 addr = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_address() 546 cfg = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_config() 616 dwc->u2sel = le16_to_cpu(timing.u2sel); in dwc3_ep0_set_sel_cmpl() 617 dwc->u2pel = le16_to_cpu(timing.u2pel); in dwc3_ep0_set_sel_cmpl() 648 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_sel() 679 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_isoch_delay() 680 wLength = le16_to_cpu(ctrl->wLength); in dwc3_ep0_set_isoch_delay() [all …]
|
| /rk3399_rockchip-uboot/include/power/power_delivery/ |
| H A D | pd.h | 109 return pd_header_cnt(le16_to_cpu(header)); in pd_header_cnt_le() 119 return pd_header_type(le16_to_cpu(header)); in pd_header_type_le() 129 return pd_header_msgid(le16_to_cpu(header)); in pd_header_msgid_le() 139 return pd_header_rev(le16_to_cpu(header)); in pd_header_rev_le() 172 return pd_ext_header_data_size(le16_to_cpu(ext_header)); in pd_ext_header_data_size_le()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | compiler.h | 94 # define le16_to_cpu(x) (x) macro 107 # define le16_to_cpu(x) uswap_16(x) macro
|
| H A D | image-sparse.h | 33 (le16_to_cpu(s_header->major_version) == 1)) in is_sparse_image()
|
| H A D | zfs_common.h | 38 : le16_to_cpu(x))
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | socfpgaimage.c | 99 if (le16_to_cpu(header.checksum) != hdr_checksum(&header)) in verify_header() 102 return le16_to_cpu(header.length_u32) * 4; in verify_header()
|
| /rk3399_rockchip-uboot/arch/mips/include/asm/mach-generic/ |
| H A D | mangle-port.h | 30 # define ioswabw(a, x) le16_to_cpu(x)
|
| /rk3399_rockchip-uboot/drivers/usb/cdns3/ |
| H A D | ep0.c | 152 u32 config = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_configuration() 211 addr = le16_to_cpu(ctrl_req->wValue); in cdns3_req_ep0_set_address() 333 tmode = le16_to_cpu(ctrl->wIndex); in cdns3_ep0_feature_handle_device() 372 wValue = le16_to_cpu(ctrl->wValue); in cdns3_ep0_feature_handle_intf() 392 if (le16_to_cpu(ctrl->wValue) != USB_ENDPOINT_HALT) in cdns3_ep0_feature_handle_endpoint() 578 if (le16_to_cpu(ctrl->wLength)) in cdns3_ep0_setup_phase()
|
| /rk3399_rockchip-uboot/drivers/gpio/ |
| H 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()
|