Lines Matching refs:cpu_to_le32

60 			seg->trbs[i].link.control |= cpu_to_le32(TRB_CYCLE);  in xhci_segment_alloc()
120 prev->trbs[TRBS_PER_SEGMENT-1].link.control = cpu_to_le32(val); in xhci_link_segments()
145 &= ~cpu_to_le32(LINK_TOGGLE); in xhci_link_rings()
147 |= cpu_to_le32(LINK_TOGGLE); in xhci_link_rings()
388 cpu_to_le32(LINK_TOGGLE); in xhci_ring_alloc()
438 cpu_to_le32(TRB_CYCLE); in xhci_reinit_cached_ring()
776 ep_ctx->ep_info &= cpu_to_le32(~EP_MAXPSTREAMS_MASK); in xhci_setup_streams_ep_input_ctx()
777 ep_ctx->ep_info |= cpu_to_le32(EP_MAXPSTREAMS(max_primary_streams) in xhci_setup_streams_ep_input_ctx()
791 ep_ctx->ep_info &= cpu_to_le32(~(EP_MAXPSTREAMS_MASK | EP_HAS_LSA)); in xhci_setup_no_streams_ep_input_ctx()
1108 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1) | udev->route); in xhci_setup_addressable_virt_dev()
1111 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()
1115 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()
1120 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()
1124 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()
1139 slot_ctx->dev_info2 |= cpu_to_le32(ROOT_HUB_PORT(port_num)); in xhci_setup_addressable_virt_dev()
1181 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | in xhci_setup_addressable_virt_dev()
1184 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_setup_addressable_virt_dev()
1191 ep0_ctx->ep_info2 = cpu_to_le32(EP_TYPE(CTRL_EP)); in xhci_setup_addressable_virt_dev()
1194 ep0_ctx->ep_info2 |= cpu_to_le32(MAX_BURST(0) | ERROR_COUNT(3) | in xhci_setup_addressable_virt_dev()
1420 ep_ctx->ep_info2 = cpu_to_le32(endpoint_type); in xhci_endpoint_init()
1441 ep_ctx->ep_info = cpu_to_le32(xhci_get_endpoint_interval(udev, ep) in xhci_endpoint_init()
1450 ep_ctx->ep_info2 |= cpu_to_le32(ERROR_COUNT(3)); in xhci_endpoint_init()
1452 ep_ctx->ep_info2 |= cpu_to_le32(ERROR_COUNT(0)); in xhci_endpoint_init()
1481 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet) | in xhci_endpoint_init()
1484 ep_ctx->tx_info = cpu_to_le32(MAX_ESIT_PAYLOAD_FOR_EP(max_esit_payload)); in xhci_endpoint_init()
1505 ep_ctx->tx_info |= cpu_to_le32(AVG_TRB_LENGTH_FOR_EP(8)); in xhci_endpoint_init()
1508 cpu_to_le32(AVG_TRB_LENGTH_FOR_EP(max_esit_payload)); in xhci_endpoint_init()
2518 entry->seg_size = cpu_to_le32(TRBS_PER_SEGMENT); in xhci_mem_init()