Home
last modified time | relevance | path

Searched refs:slot_ctx (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/drivers/usb/cdns3/
H A Dcdnsp-gadget.c463 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_zero_in_ctx() local
477 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx()
660 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_update_eps_configuration() local
676 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration()
711 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_reset_device() local
716 slot_ctx->dev_info = 0; in cdnsp_reset_device()
722 trace_cdnsp_reset_device(slot_ctx); in cdnsp_reset_device()
750 trace_cdnsp_handle_cmd_reset_dev(slot_ctx); in cdnsp_reset_device()
845 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_enable_slot() local
877 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_setup_device() local
[all …]
H A Dcdnsp-ep0.c88 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 Dcdnsp-mem.c728 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()
/linux-6.15/drivers/usb/host/
H A Dxhci-dbg.c16 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 Dxhci.c2001 struct xhci_slot_ctx *slot_ctx; in xhci_zero_in_ctx() local
2857 struct xhci_slot_ctx *slot_ctx; in xhci_configure_endpoint() local
2975 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local
3771 struct xhci_slot_ctx *slot_ctx; in xhci_discover_or_reset_device() local
3945 struct xhci_slot_ctx *slot_ctx; in xhci_free_dev() local
3966 trace_xhci_free_dev(slot_ctx); in xhci_free_dev()
4055 struct xhci_slot_ctx *slot_ctx; in xhci_alloc_dev() local
4219 if (!slot_ctx->dev_info) in xhci_setup_device()
4410 slot_ctx->dev_state = 0; in xhci_change_max_exit_latency()
5174 slot_ctx->tt_info |= in xhci_update_hub_device()
[all …]
H A Dxhci-debugfs.c250 struct xhci_slot_ctx *slot_ctx; in xhci_slot_context_show() local
256 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_slot_context_show()
259 le32_to_cpu(slot_ctx->dev_info), in xhci_slot_context_show()
260 le32_to_cpu(slot_ctx->dev_info2), in xhci_slot_context_show()
261 le32_to_cpu(slot_ctx->tt_info), in xhci_slot_context_show()
262 le32_to_cpu(slot_ctx->dev_state))); in xhci_slot_context_show()
H A Dxhci-mem.c1066 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local
1077 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
1080 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1) | udev->route); in xhci_setup_addressable_virt_dev()
1083 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SSP); in xhci_setup_addressable_virt_dev()
1087 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()
1091 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()
1096 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()
1100 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()
1114 slot_ctx->dev_info2 |= cpu_to_le32(ROOT_HUB_PORT(dev->rhub_port->hw_portnum + 1)); in xhci_setup_addressable_virt_dev()
1150 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | in xhci_setup_addressable_virt_dev()
[all …]
H A Dxhci-ring.c1418 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_set_deq() local
1438 trace_xhci_handle_cmd_set_deq(slot_ctx); in xhci_handle_cmd_set_deq()
1457 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq()
1596 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_disable_slot() local
1603 trace_xhci_handle_cmd_disable_slot(slot_ctx); in xhci_handle_cmd_disable_slot()
1646 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_addr_dev() local
1652 trace_xhci_handle_cmd_addr_dev(slot_ctx); in xhci_handle_cmd_addr_dev()
1658 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_reset_dev() local
1667 trace_xhci_handle_cmd_reset_dev(slot_ctx); in xhci_handle_cmd_reset_dev()
2533 struct xhci_slot_ctx *slot_ctx; in process_bulk_intr_td() local
[all …]