Home
last modified time | relevance | path

Searched refs:slot_ctx (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/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.c1979 struct xhci_slot_ctx *slot_ctx; in xhci_zero_in_ctx() local
1996 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_zero_in_ctx()
1997 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_zero_in_ctx()
1999 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_zero_in_ctx()
2799 struct xhci_slot_ctx *slot_ctx; in xhci_configure_endpoint() local
2838 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_configure_endpoint()
2841 trace_xhci_configure_endpoint(slot_ctx); in xhci_configure_endpoint()
2917 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local
2956 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_check_bandwidth()
2962 slot_ctx in xhci_check_bandwidth()
3770 struct xhci_slot_ctx *slot_ctx; xhci_discover_or_reset_device() local
3927 struct xhci_slot_ctx *slot_ctx; xhci_free_dev() local
4039 struct xhci_slot_ctx *slot_ctx; xhci_alloc_dev() local
4131 struct xhci_slot_ctx *slot_ctx; xhci_setup_device() local
4343 struct xhci_slot_ctx *slot_ctx; xhci_change_max_exit_latency() local
5107 struct xhci_slot_ctx *slot_ctx; xhci_update_hub_device() local
[all...]
H A Dxhci-debugfs.c262 struct xhci_slot_ctx *slot_ctx; in xhci_slot_context_show() local
268 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_slot_context_show()
271 le32_to_cpu(slot_ctx->dev_info), in xhci_slot_context_show()
272 le32_to_cpu(slot_ctx->dev_info2), in xhci_slot_context_show()
273 le32_to_cpu(slot_ctx->tt_info), in xhci_slot_context_show()
274 le32_to_cpu(slot_ctx->dev_state))); in xhci_slot_context_show()
H A Dxhci-mtk-sch.c689 struct xhci_slot_ctx *slot_ctx; in xhci_mtk_add_ep_quirk() local
697 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_mtk_add_ep_quirk()
705 if (!need_bw_sch(ep, udev->speed, slot_ctx->tt_info & TT_SLOT)) { in xhci_mtk_add_ep_quirk()
734 struct xhci_slot_ctx *slot_ctx; in xhci_mtk_drop_ep_quirk() local
743 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_mtk_drop_ep_quirk()
751 if (!need_bw_sch(ep, udev->speed, slot_ctx->tt_info & TT_SLOT)) in xhci_mtk_drop_ep_quirk()
H A Dxhci-ring.c1235 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_set_deq() local
1253 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_handle_cmd_set_deq()
1254 trace_xhci_handle_cmd_set_deq(slot_ctx); in xhci_handle_cmd_set_deq()
1268 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq()
1385 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_disable_slot() local
1391 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot()
1392 trace_xhci_handle_cmd_disable_slot(slot_ctx); in xhci_handle_cmd_disable_slot()
1459 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_addr_dev() local
1462 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev()
1463 trace_xhci_handle_cmd_addr_dev(slot_ctx); in xhci_handle_cmd_addr_dev()
1470 struct xhci_slot_ctx *slot_ctx; xhci_handle_cmd_reset_dev() local
2356 struct xhci_slot_ctx *slot_ctx; process_bulk_intr_td() local
[all...]
H A Dxhci-mem.c1118 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local
1131 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
1134 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1) | udev->route); in xhci_setup_addressable_virt_dev()
1137 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SSP); in xhci_setup_addressable_virt_dev()
1141 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()
1145 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()
1150 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()
1154 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()
1169 slot_ctx->dev_info2 |= cpu_to_le32(ROOT_HUB_PORT(port_num)); in xhci_setup_addressable_virt_dev()
1211 slot_ctx in xhci_setup_addressable_virt_dev()
[all...]
/kernel/linux/linux-6.6/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.c1958 struct xhci_slot_ctx *slot_ctx; in xhci_zero_in_ctx() local
1975 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_zero_in_ctx()
1976 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_zero_in_ctx()
1978 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_zero_in_ctx()
2771 struct xhci_slot_ctx *slot_ctx; in xhci_configure_endpoint() local
2810 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_configure_endpoint()
2813 trace_xhci_configure_endpoint(slot_ctx); in xhci_configure_endpoint()
2889 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local
2928 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_check_bandwidth()
2934 slot_ctx in xhci_check_bandwidth()
3662 struct xhci_slot_ctx *slot_ctx; xhci_discover_or_reset_device() local
3819 struct xhci_slot_ctx *slot_ctx; xhci_free_dev() local
3929 struct xhci_slot_ctx *slot_ctx; xhci_alloc_dev() local
4022 struct xhci_slot_ctx *slot_ctx; xhci_setup_device() local
4232 struct xhci_slot_ctx *slot_ctx; xhci_change_max_exit_latency() local
4979 struct xhci_slot_ctx *slot_ctx; xhci_update_hub_device() local
[all...]
H A Dxhci-debugfs.c262 struct xhci_slot_ctx *slot_ctx; in xhci_slot_context_show() local
268 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_slot_context_show()
271 le32_to_cpu(slot_ctx->dev_info), in xhci_slot_context_show()
272 le32_to_cpu(slot_ctx->dev_info2), in xhci_slot_context_show()
273 le32_to_cpu(slot_ctx->tt_info), in xhci_slot_context_show()
274 le32_to_cpu(slot_ctx->dev_state))); in xhci_slot_context_show()
H A Dxhci-ring.c1328 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_set_deq() local
1346 slot_ctx = xhci_get_slot_ctx(xhci, ep->vdev->out_ctx); in xhci_handle_cmd_set_deq()
1347 trace_xhci_handle_cmd_set_deq(slot_ctx); in xhci_handle_cmd_set_deq()
1361 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq()
1475 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_disable_slot() local
1481 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot()
1482 trace_xhci_handle_cmd_disable_slot(slot_ctx); in xhci_handle_cmd_disable_slot()
1526 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_addr_dev() local
1531 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev()
1532 trace_xhci_handle_cmd_addr_dev(slot_ctx); in xhci_handle_cmd_addr_dev()
1538 struct xhci_slot_ctx *slot_ctx; xhci_handle_cmd_reset_dev() local
2488 struct xhci_slot_ctx *slot_ctx; process_bulk_intr_td() local
[all...]
H A Dxhci-mem.c1072 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local
1085 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
1088 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1) | udev->route); in xhci_setup_addressable_virt_dev()
1091 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SSP); in xhci_setup_addressable_virt_dev()
1095 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()
1099 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()
1104 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()
1108 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()
1119 slot_ctx->dev_info2 |= cpu_to_le32(ROOT_HUB_PORT(port_num)); in xhci_setup_addressable_virt_dev()
1161 slot_ctx in xhci_setup_addressable_virt_dev()
[all...]
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A 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()
639 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_update_eps_configuration() local
655 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration()
661 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in cdnsp_update_eps_configuration()
662 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(i)); in cdnsp_update_eps_configuration()
690 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_reset_device() local
694 slot_ctx in cdnsp_reset_device()
824 struct cdnsp_slot_ctx *slot_ctx; cdnsp_enable_slot() local
856 struct cdnsp_slot_ctx *slot_ctx; cdnsp_setup_device() local
[all...]
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()
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()

Completed in 51 milliseconds