Home
last modified time | relevance | path

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

/Linux-v5.10/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.c1933 struct xhci_slot_ctx *slot_ctx; in xhci_zero_in_ctx() local
1950 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_zero_in_ctx()
1951 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_zero_in_ctx()
1953 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_zero_in_ctx()
2753 struct xhci_slot_ctx *slot_ctx; in xhci_configure_endpoint() local
2792 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_configure_endpoint()
2795 trace_xhci_configure_endpoint(slot_ctx); in xhci_configure_endpoint()
2871 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local
2910 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_check_bandwidth()
2916 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_check_bandwidth()
[all …]
Dxhci-mtk-sch.c602 struct xhci_slot_ctx *slot_ctx; in xhci_mtk_add_ep_quirk() local
614 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_mtk_add_ep_quirk()
623 if (!need_bw_sch(ep, udev->speed, slot_ctx->tt_info & TT_SLOT)) { in xhci_mtk_add_ep_quirk()
674 struct xhci_slot_ctx *slot_ctx; in xhci_mtk_drop_ep_quirk() local
683 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_mtk_drop_ep_quirk()
691 if (!need_bw_sch(ep, udev->speed, slot_ctx->tt_info & TT_SLOT)) in xhci_mtk_drop_ep_quirk()
Dxhci-debugfs.c260 struct xhci_slot_ctx *slot_ctx; in xhci_slot_context_show() local
265 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_slot_context_show()
267 xhci_decode_slot_context(le32_to_cpu(slot_ctx->dev_info), in xhci_slot_context_show()
268 le32_to_cpu(slot_ctx->dev_info2), in xhci_slot_context_show()
269 le32_to_cpu(slot_ctx->tt_info), in xhci_slot_context_show()
270 le32_to_cpu(slot_ctx->dev_state))); in xhci_slot_context_show()
Dxhci-mem.c1105 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local
1118 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
1121 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1) | udev->route); in xhci_setup_addressable_virt_dev()
1124 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SSP); in xhci_setup_addressable_virt_dev()
1128 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()
1132 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()
1137 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()
1141 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()
1156 slot_ctx->dev_info2 |= cpu_to_le32(ROOT_HUB_PORT(port_num)); in xhci_setup_addressable_virt_dev()
1198 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | in xhci_setup_addressable_virt_dev()
[all …]
Dxhci-ring.c1070 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_set_deq() local
1086 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_handle_cmd_set_deq()
1087 trace_xhci_handle_cmd_set_deq(slot_ctx); in xhci_handle_cmd_set_deq()
1101 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq()
1213 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_disable_slot() local
1219 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot()
1220 trace_xhci_handle_cmd_disable_slot(slot_ctx); in xhci_handle_cmd_disable_slot()
1288 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_addr_dev() local
1291 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev()
1292 trace_xhci_handle_cmd_addr_dev(slot_ctx); in xhci_handle_cmd_addr_dev()
[all …]