Lines Matching refs:slot_ctx

2140 	struct xhci_slot_ctx *slot_ctx;  in xhci_zero_in_ctx()  local
2157 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_zero_in_ctx()
2158 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_zero_in_ctx()
2160 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_zero_in_ctx()
2960 struct xhci_slot_ctx *slot_ctx; in xhci_configure_endpoint() local
2999 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_configure_endpoint()
3002 trace_xhci_configure_endpoint(slot_ctx); in xhci_configure_endpoint()
3078 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local
3117 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_check_bandwidth()
3123 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_check_bandwidth()
3124 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(i)); in xhci_check_bandwidth()
3851 struct xhci_slot_ctx *slot_ctx; in xhci_discover_or_reset_device() local
3889 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_discover_or_reset_device()
3890 if (GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)) == in xhci_discover_or_reset_device()
3894 trace_xhci_discover_or_reset_device(slot_ctx); in xhci_discover_or_reset_device()
4008 struct xhci_slot_ctx *slot_ctx; in xhci_free_dev() local
4028 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_free_dev()
4029 trace_xhci_free_dev(slot_ctx); in xhci_free_dev()
4118 struct xhci_slot_ctx *slot_ctx; in xhci_alloc_dev() local
4174 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_alloc_dev()
4175 trace_xhci_alloc_dev(slot_ctx); in xhci_alloc_dev()
4211 struct xhci_slot_ctx *slot_ctx; in xhci_setup_device() local
4243 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_setup_device()
4244 trace_xhci_setup_device_slot(slot_ctx); in xhci_setup_device()
4247 if (GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)) == in xhci_setup_device()
4262 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_setup_device()
4275 if (!slot_ctx->dev_info) in xhci_setup_device()
4284 le32_to_cpu(slot_ctx->dev_info) >> 27); in xhci_setup_device()
4362 le32_to_cpu(slot_ctx->dev_info) >> 27); in xhci_setup_device()
4368 le32_to_cpu(slot_ctx->dev_info) >> 27); in xhci_setup_device()
4372 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_setup_device()
4373 udev->devaddr = (u8)(le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_setup_device()
4377 le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_setup_device()
4421 struct xhci_slot_ctx *slot_ctx; in xhci_change_max_exit_latency() local
4458 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_change_max_exit_latency()
4459 slot_ctx->dev_info2 &= cpu_to_le32(~((u32) MAX_EXIT)); in xhci_change_max_exit_latency()
4460 slot_ctx->dev_info2 |= cpu_to_le32(max_exit_latency); in xhci_change_max_exit_latency()
4461 slot_ctx->dev_state = 0; in xhci_change_max_exit_latency()
5174 struct xhci_slot_ctx *slot_ctx; in xhci_update_hub_device() local
5212 slot_ctx = xhci_get_slot_ctx(xhci, config_cmd->in_ctx); in xhci_update_hub_device()
5213 slot_ctx->dev_info |= cpu_to_le32(DEV_HUB); in xhci_update_hub_device()
5220 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_update_hub_device()
5222 slot_ctx->dev_info &= cpu_to_le32(~DEV_MTT); in xhci_update_hub_device()
5228 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(hdev->maxchild)); in xhci_update_hub_device()
5240 slot_ctx->tt_info |= in xhci_update_hub_device()
5247 slot_ctx->dev_state = 0; in xhci_update_hub_device()