Lines Matching refs:slot_ctx

1825 	struct xhci_slot_ctx *slot_ctx;  in xhci_zero_in_ctx()  local
1842 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_zero_in_ctx()
1843 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_zero_in_ctx()
1845 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_zero_in_ctx()
2750 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local
2789 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_check_bandwidth()
2795 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_check_bandwidth()
2796 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(i)); in xhci_check_bandwidth()
2802 LAST_CTX_TO_EP_NUM(le32_to_cpu(slot_ctx->dev_info))); in xhci_check_bandwidth()
2812 LAST_CTX_TO_EP_NUM(le32_to_cpu(slot_ctx->dev_info))); in xhci_check_bandwidth()
3451 struct xhci_slot_ctx *slot_ctx; in xhci_discover_or_reset_device() local
3489 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_discover_or_reset_device()
3490 if (GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)) == in xhci_discover_or_reset_device()
3798 struct xhci_slot_ctx *slot_ctx; in xhci_setup_device() local
3830 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_setup_device()
3831 if (GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)) == in xhci_setup_device()
3847 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_setup_device()
3860 if (!slot_ctx->dev_info) in xhci_setup_device()
3871 le32_to_cpu(slot_ctx->dev_info) >> 27); in xhci_setup_device()
3944 le32_to_cpu(slot_ctx->dev_info) >> 27); in xhci_setup_device()
3951 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_setup_device()
3953 le32_to_cpu(slot_ctx->dev_info) >> 27); in xhci_setup_device()
3960 le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_setup_device()
4009 struct xhci_slot_ctx *slot_ctx; in xhci_change_max_exit_latency() local
4042 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_change_max_exit_latency()
4043 slot_ctx->dev_info2 &= cpu_to_le32(~((u32) MAX_EXIT)); in xhci_change_max_exit_latency()
4044 slot_ctx->dev_info2 |= cpu_to_le32(max_exit_latency); in xhci_change_max_exit_latency()
4045 slot_ctx->dev_state = 0; in xhci_change_max_exit_latency()
4745 struct xhci_slot_ctx *slot_ctx; in xhci_update_hub_device() local
4783 slot_ctx = xhci_get_slot_ctx(xhci, config_cmd->in_ctx); in xhci_update_hub_device()
4784 slot_ctx->dev_info |= cpu_to_le32(DEV_HUB); in xhci_update_hub_device()
4791 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_update_hub_device()
4793 slot_ctx->dev_info &= cpu_to_le32(~DEV_MTT); in xhci_update_hub_device()
4799 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(hdev->maxchild)); in xhci_update_hub_device()
4811 slot_ctx->tt_info |= in xhci_update_hub_device()
4818 slot_ctx->dev_state = 0; in xhci_update_hub_device()