Lines Matching refs:cpu_to_le32
527 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_set_configuration()
533 ctrl_ctx->add_flags |= cpu_to_le32(1 << (ep_flag + 1)); in xhci_set_configuration()
543 slot_ctx->dev_info &= ~(cpu_to_le32(LAST_CTX_MASK)); in xhci_set_configuration()
544 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(max_ep_flag + 1) | 0); in xhci_set_configuration()
586 cpu_to_le32(EP_MAX_ESIT_PAYLOAD_HI(max_esit_payload) | in xhci_set_configuration()
590 cpu_to_le32(ep_type << EP_TYPE_SHIFT); in xhci_set_configuration()
592 cpu_to_le32(MAX_PACKET in xhci_set_configuration()
599 cpu_to_le32(MAX_BURST(max_burst) | in xhci_set_configuration()
614 cpu_to_le32(EP_MAX_ESIT_PAYLOAD_LO(max_esit_payload) | in xhci_set_configuration()
648 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG | EP0_FLAG); in xhci_address_device()
800 ep_ctx->ep_info2 &= cpu_to_le32(~((0xffff & MAX_PACKET_MASK) in xhci_check_maxpacket()
802 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
810 ctrl_ctx->add_flags = cpu_to_le32(EP0_FLAG); in xhci_check_maxpacket()
1442 ctrl_ctx->add_flags = cpu_to_le32(SLOT_FLAG); in xhci_update_hub_device()
1452 slot_ctx->dev_info |= cpu_to_le32(DEV_HUB); in xhci_update_hub_device()
1459 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_update_hub_device()
1461 slot_ctx->dev_info &= cpu_to_le32(~DEV_MTT); in xhci_update_hub_device()
1462 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(udev->maxchild)); in xhci_update_hub_device()
1476 slot_ctx->tt_info |= cpu_to_le32(TT_THINK_TIME(think_time)); in xhci_update_hub_device()