/openbmc/qemu/hw/usb/ |
H A D | hcd-xhci.c | 2121 slot_ctx[0], slot_ctx[1], slot_ctx[2], slot_ctx[3]); in xhci_address_slot() 2179 slot_ctx[0], slot_ctx[1], slot_ctx[2], slot_ctx[3]); in xhci_address_slot() 2183 xhci_dma_write_u32s(xhci, octx, slot_ctx, sizeof(slot_ctx)); in xhci_address_slot() 2222 slot_ctx[0], slot_ctx[1], slot_ctx[2], slot_ctx[3]); in xhci_configure_slot() 2237 xhci_dma_read_u32s(xhci, octx, slot_ctx, sizeof(slot_ctx)); in xhci_configure_slot() 2283 slot_ctx[0], slot_ctx[1], slot_ctx[2], slot_ctx[3]); in xhci_configure_slot() 2285 xhci_dma_write_u32s(xhci, octx, slot_ctx, sizeof(slot_ctx)); in xhci_configure_slot() 2333 slot_ctx[0], slot_ctx[1], slot_ctx[2], slot_ctx[3]); in xhci_evaluate_slot() 2378 xhci_dma_read_u32s(xhci, octx, slot_ctx, sizeof(slot_ctx)); in xhci_reset_slot() 2382 slot_ctx[0], slot_ctx[1], slot_ctx[2], slot_ctx[3]); in xhci_reset_slot() [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci-mem.c | 723 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local 740 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->in_ctx); in xhci_setup_addressable_virt_dev() 743 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_setup_addressable_virt_dev() 768 slot_ctx->dev_info |= route; in xhci_setup_addressable_virt_dev() 772 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev() 775 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev() 778 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev() 781 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev() 805 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_setup_addressable_virt_dev() 806 slot_ctx->tt_info |= cpu_to_le32(TT_PORT(port_num)); in xhci_setup_addressable_virt_dev() [all …]
|
H A D | xhci.c | 494 struct xhci_slot_ctx *slot_ctx; in xhci_set_configuration() local 538 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_set_configuration() 539 slot_ctx->dev_info &= ~(cpu_to_le32(LAST_CTX_MASK)); in xhci_set_configuration() 628 struct xhci_slot_ctx *slot_ctx; in xhci_address_device() local 692 le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_address_device() 1409 struct xhci_slot_ctx *slot_ctx; in xhci_update_hub_device() local 1434 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_update_hub_device() 1437 slot_ctx->dev_info |= cpu_to_le32(DEV_HUB); in xhci_update_hub_device() 1444 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_update_hub_device() 1446 slot_ctx->dev_info &= cpu_to_le32(~DEV_MTT); in xhci_update_hub_device() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | xhci-dbg.c | 16 struct xhci_slot_ctx *slot_ctx = xhci_get_slot_ctx(xhci, ctx); in xhci_get_slot_state() local 17 int state = GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)); in xhci_get_slot_state()
|
H A D | xhci.c | 1968 struct xhci_slot_ctx *slot_ctx; in xhci_zero_in_ctx() local 2781 struct xhci_slot_ctx *slot_ctx; in xhci_configure_endpoint() local 2899 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local 3672 struct xhci_slot_ctx *slot_ctx; in xhci_discover_or_reset_device() local 3829 struct xhci_slot_ctx *slot_ctx; in xhci_free_dev() local 3850 trace_xhci_free_dev(slot_ctx); in xhci_free_dev() 3939 struct xhci_slot_ctx *slot_ctx; in xhci_alloc_dev() local 4103 if (!slot_ctx->dev_info) in xhci_setup_device() 4294 slot_ctx->dev_state = 0; in xhci_change_max_exit_latency() 5066 slot_ctx->tt_info |= in xhci_update_hub_device() [all …]
|
H A D | xhci-debugfs.c | 262 struct xhci_slot_ctx *slot_ctx; in xhci_slot_context_show() local 268 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_slot_context_show() 271 le32_to_cpu(slot_ctx->dev_info), in xhci_slot_context_show() 272 le32_to_cpu(slot_ctx->dev_info2), in xhci_slot_context_show() 273 le32_to_cpu(slot_ctx->tt_info), in xhci_slot_context_show() 274 le32_to_cpu(slot_ctx->dev_state))); in xhci_slot_context_show()
|
H A D | xhci-mem.c | 1072 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local 1085 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev() 1088 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1) | udev->route); in xhci_setup_addressable_virt_dev() 1091 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SSP); in xhci_setup_addressable_virt_dev() 1095 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev() 1099 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev() 1104 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev() 1108 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev() 1119 slot_ctx->dev_info2 |= cpu_to_le32(ROOT_HUB_PORT(port_num)); in xhci_setup_addressable_virt_dev() 1161 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | in xhci_setup_addressable_virt_dev() [all …]
|
H A D | xhci-ring.c | 1355 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_set_deq() local 1375 trace_xhci_handle_cmd_set_deq(slot_ctx); in xhci_handle_cmd_set_deq() 1389 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq() 1514 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_disable_slot() local 1521 trace_xhci_handle_cmd_disable_slot(slot_ctx); in xhci_handle_cmd_disable_slot() 1565 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_addr_dev() local 1571 trace_xhci_handle_cmd_addr_dev(slot_ctx); in xhci_handle_cmd_addr_dev() 1577 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_reset_dev() local 1586 trace_xhci_handle_cmd_reset_dev(slot_ctx); in xhci_handle_cmd_reset_dev() 2527 struct xhci_slot_ctx *slot_ctx; in process_bulk_intr_td() local [all …]
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdnsp-gadget.c | 442 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_zero_in_ctx() local 456 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx() 639 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_update_eps_configuration() local 655 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration() 690 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_reset_device() local 695 slot_ctx->dev_info = 0; in cdnsp_reset_device() 701 trace_cdnsp_reset_device(slot_ctx); in cdnsp_reset_device() 729 trace_cdnsp_handle_cmd_reset_dev(slot_ctx); in cdnsp_reset_device() 824 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_enable_slot() local 856 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_setup_device() local [all …]
|
H A D | cdnsp-ep0.c | 88 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_ep0_set_address() local 100 slot_ctx = cdnsp_get_slot_ctx(&pdev->out_ctx); in cdnsp_ep0_set_address() 109 slot_ctx = cdnsp_get_slot_ctx(&pdev->out_ctx); in cdnsp_ep0_set_address() 110 slot_state = GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)); in cdnsp_ep0_set_address()
|
H A D | cdnsp-mem.c | 728 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_setup_addressable_priv_dev() local 733 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_setup_addressable_priv_dev() 736 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in cdnsp_setup_addressable_priv_dev() 740 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SSP); in cdnsp_setup_addressable_priv_dev() 744 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in cdnsp_setup_addressable_priv_dev() 748 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in cdnsp_setup_addressable_priv_dev() 752 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in cdnsp_setup_addressable_priv_dev() 761 slot_ctx->dev_port |= cpu_to_le32(port); in cdnsp_setup_addressable_priv_dev() 762 slot_ctx->dev_state = cpu_to_le32((pdev->device_address & in cdnsp_setup_addressable_priv_dev()
|