Searched refs:slot_ctx (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/usb/host/ |
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()
|
D | xhci-mtk-sch.c | 314 struct xhci_slot_ctx *slot_ctx; in xhci_mtk_add_ep_quirk() local 326 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_mtk_add_ep_quirk() 335 if (!need_bw_sch(ep, udev->speed, slot_ctx->tt_info & TT_SLOT)) { in xhci_mtk_add_ep_quirk() 384 struct xhci_slot_ctx *slot_ctx; in xhci_mtk_drop_ep_quirk() local 393 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_mtk_drop_ep_quirk() 401 if (!need_bw_sch(ep, udev->speed, slot_ctx->tt_info & TT_SLOT)) in xhci_mtk_drop_ep_quirk()
|
D | xhci.c | 1874 struct xhci_slot_ctx *slot_ctx; in xhci_zero_in_ctx() local 1891 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_zero_in_ctx() 1892 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_zero_in_ctx() 1894 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_zero_in_ctx() 2694 struct xhci_slot_ctx *slot_ctx; in xhci_configure_endpoint() local 2733 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_configure_endpoint() 2734 trace_xhci_configure_endpoint(slot_ctx); in xhci_configure_endpoint() 2810 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local 2849 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_check_bandwidth() 2855 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_check_bandwidth() [all …]
|
D | xhci-debugfs.c | 259 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(slot_ctx->dev_info, in xhci_slot_context_show() 267 slot_ctx->dev_info2, in xhci_slot_context_show() 268 slot_ctx->tt_info, in xhci_slot_context_show() 269 slot_ctx->dev_state)); in xhci_slot_context_show()
|
D | xhci-mem.c | 1096 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 …]
|
D | xhci-ring.c | 1033 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_set_deq() local 1049 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_handle_cmd_set_deq() 1050 trace_xhci_handle_cmd_set_deq(slot_ctx); in xhci_handle_cmd_set_deq() 1064 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq() 1172 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_disable_slot() local 1178 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot() 1179 trace_xhci_handle_cmd_disable_slot(slot_ctx); in xhci_handle_cmd_disable_slot() 1247 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_addr_dev() local 1250 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev() 1251 trace_xhci_handle_cmd_addr_dev(slot_ctx); in xhci_handle_cmd_addr_dev() [all …]
|