Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/usb/host/
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()
Dxhci.c2063 struct xhci_slot_ctx *slot_ctx; in xhci_zero_in_ctx() local
2080 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_zero_in_ctx()
2081 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_zero_in_ctx()
2083 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_zero_in_ctx()
2883 struct xhci_slot_ctx *slot_ctx; in xhci_configure_endpoint() local
2922 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_configure_endpoint()
2925 trace_xhci_configure_endpoint(slot_ctx); in xhci_configure_endpoint()
3001 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local
3040 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_check_bandwidth()
3046 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_check_bandwidth()
[all …]
Dxhci-debugfs.c261 struct xhci_slot_ctx *slot_ctx; in xhci_slot_context_show() local
267 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_slot_context_show()
270 le32_to_cpu(slot_ctx->dev_info), in xhci_slot_context_show()
271 le32_to_cpu(slot_ctx->dev_info2), in xhci_slot_context_show()
272 le32_to_cpu(slot_ctx->tt_info), in xhci_slot_context_show()
273 le32_to_cpu(slot_ctx->dev_state))); in xhci_slot_context_show()
Dxhci-mem.c1092 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local
1105 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
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_SSP); in xhci_setup_addressable_virt_dev()
1115 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()
1119 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()
1124 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()
1128 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()
1142 slot_ctx->dev_info2 |= cpu_to_le32(ROOT_HUB_PORT(port_num)); in xhci_setup_addressable_virt_dev()
1184 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | in xhci_setup_addressable_virt_dev()
[all …]
Dxhci-ring.c1360 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_set_deq() local
1378 slot_ctx = xhci_get_slot_ctx(xhci, ep->vdev->out_ctx); in xhci_handle_cmd_set_deq()
1379 trace_xhci_handle_cmd_set_deq(slot_ctx); in xhci_handle_cmd_set_deq()
1393 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq()
1509 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_disable_slot() local
1515 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot()
1516 trace_xhci_handle_cmd_disable_slot(slot_ctx); in xhci_handle_cmd_disable_slot()
1586 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_addr_dev() local
1591 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev()
1592 trace_xhci_handle_cmd_addr_dev(slot_ctx); in xhci_handle_cmd_addr_dev()
[all …]
/Linux-v5.15/drivers/usb/cdns3/
Dcdnsp-gadget.c442 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()
457 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in cdnsp_zero_in_ctx()
460 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in cdnsp_zero_in_ctx()
643 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_update_eps_configuration() local
659 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration()
665 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in cdnsp_update_eps_configuration()
666 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(i)); in cdnsp_update_eps_configuration()
694 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_reset_device() local
698 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_reset_device()
[all …]
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()
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()