Home
last modified time | relevance | path

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

/Linux-v5.4/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.c1932 struct xhci_slot_ctx *slot_ctx; in xhci_zero_in_ctx() local
1949 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_zero_in_ctx()
1950 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_zero_in_ctx()
1952 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_zero_in_ctx()
2752 struct xhci_slot_ctx *slot_ctx; in xhci_configure_endpoint() local
2791 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_configure_endpoint()
2794 trace_xhci_configure_endpoint(slot_ctx); in xhci_configure_endpoint()
2870 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local
2909 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_check_bandwidth()
2915 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_check_bandwidth()
[all …]
Dxhci-debugfs.c259 struct xhci_slot_ctx *slot_ctx; in xhci_slot_context_show() local
264 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_slot_context_show()
266 xhci_decode_slot_context(le32_to_cpu(slot_ctx->dev_info), in xhci_slot_context_show()
267 le32_to_cpu(slot_ctx->dev_info2), in xhci_slot_context_show()
268 le32_to_cpu(slot_ctx->tt_info), in xhci_slot_context_show()
269 le32_to_cpu(slot_ctx->dev_state))); in xhci_slot_context_show()
Dxhci-mtk-sch.c598 struct xhci_slot_ctx *slot_ctx; in xhci_mtk_add_ep_quirk() local
610 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_mtk_add_ep_quirk()
619 if (!need_bw_sch(ep, udev->speed, slot_ctx->tt_info & TT_SLOT)) { in xhci_mtk_add_ep_quirk()
670 struct xhci_slot_ctx *slot_ctx; in xhci_mtk_drop_ep_quirk() local
679 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_mtk_drop_ep_quirk()
687 if (!need_bw_sch(ep, udev->speed, slot_ctx->tt_info & TT_SLOT)) in xhci_mtk_drop_ep_quirk()
Dxhci-mem.c1096 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local
1109 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
1112 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1) | udev->route); in xhci_setup_addressable_virt_dev()
1115 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SSP); in xhci_setup_addressable_virt_dev()
1119 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()
1123 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()
1128 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()
1132 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()
1147 slot_ctx->dev_info2 |= cpu_to_le32(ROOT_HUB_PORT(port_num)); in xhci_setup_addressable_virt_dev()
1189 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | in xhci_setup_addressable_virt_dev()
[all …]
Dxhci-ring.c1044 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_set_deq() local
1060 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_handle_cmd_set_deq()
1061 trace_xhci_handle_cmd_set_deq(slot_ctx); in xhci_handle_cmd_set_deq()
1075 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq()
1187 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_disable_slot() local
1193 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot()
1194 trace_xhci_handle_cmd_disable_slot(slot_ctx); in xhci_handle_cmd_disable_slot()
1262 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_addr_dev() local
1265 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev()
1266 trace_xhci_handle_cmd_addr_dev(slot_ctx); in xhci_handle_cmd_addr_dev()
[all …]