Lines Matching refs:slot_ctx
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()
2856 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(i)); in xhci_check_bandwidth()
3573 struct xhci_slot_ctx *slot_ctx; in xhci_discover_or_reset_device() local
3611 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_discover_or_reset_device()
3612 if (GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)) == in xhci_discover_or_reset_device()
3616 trace_xhci_discover_or_reset_device(slot_ctx); in xhci_discover_or_reset_device()
3729 struct xhci_slot_ctx *slot_ctx; in xhci_free_dev() local
3750 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_free_dev()
3751 trace_xhci_free_dev(slot_ctx); in xhci_free_dev()
3829 struct xhci_slot_ctx *slot_ctx; in xhci_alloc_dev() local
3884 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_alloc_dev()
3885 trace_xhci_alloc_dev(slot_ctx); in xhci_alloc_dev()
3924 struct xhci_slot_ctx *slot_ctx; in xhci_setup_device() local
3956 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_setup_device()
3957 trace_xhci_setup_device_slot(slot_ctx); in xhci_setup_device()
3960 if (GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)) == in xhci_setup_device()
3975 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_setup_device()
3988 if (!slot_ctx->dev_info) in xhci_setup_device()
3997 le32_to_cpu(slot_ctx->dev_info) >> 27); in xhci_setup_device()
4073 le32_to_cpu(slot_ctx->dev_info) >> 27); in xhci_setup_device()
4079 le32_to_cpu(slot_ctx->dev_info) >> 27); in xhci_setup_device()
4086 le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_setup_device()
4130 struct xhci_slot_ctx *slot_ctx; in xhci_change_max_exit_latency() local
4163 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_change_max_exit_latency()
4164 slot_ctx->dev_info2 &= cpu_to_le32(~((u32) MAX_EXIT)); in xhci_change_max_exit_latency()
4165 slot_ctx->dev_info2 |= cpu_to_le32(max_exit_latency); in xhci_change_max_exit_latency()
4166 slot_ctx->dev_state = 0; in xhci_change_max_exit_latency()
4863 struct xhci_slot_ctx *slot_ctx; in xhci_update_hub_device() local
4901 slot_ctx = xhci_get_slot_ctx(xhci, config_cmd->in_ctx); in xhci_update_hub_device()
4902 slot_ctx->dev_info |= cpu_to_le32(DEV_HUB); in xhci_update_hub_device()
4909 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_update_hub_device()
4911 slot_ctx->dev_info &= cpu_to_le32(~DEV_MTT); in xhci_update_hub_device()
4917 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(hdev->maxchild)); in xhci_update_hub_device()
4929 slot_ctx->tt_info |= in xhci_update_hub_device()
4936 slot_ctx->dev_state = 0; in xhci_update_hub_device()