Searched refs:slot_ctx (Results 1 – 6 of 6) sorted by relevance
472 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_zero_in_ctx() local486 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx()487 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in cdnsp_zero_in_ctx()490 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in cdnsp_zero_in_ctx()685 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_update_eps_configuration() local701 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration()707 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in cdnsp_update_eps_configuration()708 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(i)); in cdnsp_update_eps_configuration()736 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_reset_device() local740 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_reset_device()[all …]
88 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_ep0_set_address() local100 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()
725 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_setup_addressable_priv_dev() local730 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_setup_addressable_priv_dev()733 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in cdnsp_setup_addressable_priv_dev()737 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SSP); in cdnsp_setup_addressable_priv_dev()741 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in cdnsp_setup_addressable_priv_dev()745 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in cdnsp_setup_addressable_priv_dev()749 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in cdnsp_setup_addressable_priv_dev()758 slot_ctx->dev_port |= cpu_to_le32(port); in cdnsp_setup_addressable_priv_dev()759 slot_ctx->dev_state = cpu_to_le32((pdev->device_address & in cdnsp_setup_addressable_priv_dev()
16 struct xhci_slot_ctx *slot_ctx = xhci_get_slot_ctx(xhci, ctx); in xhci_get_slot_state() local17 int state = GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)); in xhci_get_slot_state()
1097 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local1108 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()1111 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1) | udev->route); in xhci_setup_addressable_virt_dev()1114 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SSP); in xhci_setup_addressable_virt_dev()1118 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()1122 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()1127 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()1131 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()1145 slot_ctx->dev_info2 |= cpu_to_le32(ROOT_HUB_PORT(dev->rhub_port->hw_portnum + 1)); in xhci_setup_addressable_virt_dev()1181 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | in xhci_setup_addressable_virt_dev()[all …]
1432 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_set_deq() local1451 slot_ctx = xhci_get_slot_ctx(xhci, ep->vdev->out_ctx); in xhci_handle_cmd_set_deq()1452 trace_xhci_handle_cmd_set_deq(slot_ctx); in xhci_handle_cmd_set_deq()1471 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq()1611 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_disable_slot() local1617 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot()1618 trace_xhci_handle_cmd_disable_slot(slot_ctx); in xhci_handle_cmd_disable_slot()1665 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_addr_dev() local1670 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev()1671 trace_xhci_handle_cmd_addr_dev(slot_ctx); in xhci_handle_cmd_addr_dev()[all …]