Lines Matching refs:slot_ctx
1999 struct xhci_slot_ctx *slot_ctx; in xhci_zero_in_ctx() local
2016 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_zero_in_ctx()
2017 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_zero_in_ctx()
2019 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_zero_in_ctx()
2810 struct xhci_slot_ctx *slot_ctx; in xhci_configure_endpoint() local
2849 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_configure_endpoint()
2852 trace_xhci_configure_endpoint(slot_ctx); in xhci_configure_endpoint()
2928 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local
2967 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_check_bandwidth()
2973 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_check_bandwidth()
2974 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(i)); in xhci_check_bandwidth()
3722 struct xhci_slot_ctx *slot_ctx; in xhci_discover_or_reset_device() local
3760 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_discover_or_reset_device()
3761 if (GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)) == in xhci_discover_or_reset_device()
3765 trace_xhci_discover_or_reset_device(slot_ctx); in xhci_discover_or_reset_device()
3879 struct xhci_slot_ctx *slot_ctx; in xhci_free_dev() local
3899 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_free_dev()
3900 trace_xhci_free_dev(slot_ctx); in xhci_free_dev()
3989 struct xhci_slot_ctx *slot_ctx; in xhci_alloc_dev() local
4045 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_alloc_dev()
4046 trace_xhci_alloc_dev(slot_ctx); in xhci_alloc_dev()
4088 struct xhci_slot_ctx *slot_ctx; in xhci_setup_device() local
4120 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_setup_device()
4121 trace_xhci_setup_device_slot(slot_ctx); in xhci_setup_device()
4124 if (GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)) == in xhci_setup_device()
4140 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_setup_device()
4153 if (!slot_ctx->dev_info) in xhci_setup_device()
4162 le32_to_cpu(slot_ctx->dev_info) >> 27); in xhci_setup_device()
4242 le32_to_cpu(slot_ctx->dev_info) >> 27); in xhci_setup_device()
4248 le32_to_cpu(slot_ctx->dev_info) >> 27); in xhci_setup_device()
4252 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_setup_device()
4253 udev->devaddr = (u8)(le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_setup_device()
4257 le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_setup_device()
4303 struct xhci_slot_ctx *slot_ctx; in xhci_change_max_exit_latency() local
4341 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_change_max_exit_latency()
4342 slot_ctx->dev_info2 &= cpu_to_le32(~((u32) MAX_EXIT)); in xhci_change_max_exit_latency()
4343 slot_ctx->dev_info2 |= cpu_to_le32(max_exit_latency); in xhci_change_max_exit_latency()
4344 slot_ctx->dev_state = 0; in xhci_change_max_exit_latency()
5042 struct xhci_slot_ctx *slot_ctx; in xhci_update_hub_device() local
5080 slot_ctx = xhci_get_slot_ctx(xhci, config_cmd->in_ctx); in xhci_update_hub_device()
5081 slot_ctx->dev_info |= cpu_to_le32(DEV_HUB); in xhci_update_hub_device()
5088 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_update_hub_device()
5090 slot_ctx->dev_info &= cpu_to_le32(~DEV_MTT); in xhci_update_hub_device()
5096 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(hdev->maxchild)); in xhci_update_hub_device()
5108 slot_ctx->tt_info |= in xhci_update_hub_device()
5115 slot_ctx->dev_state = 0; in xhci_update_hub_device()