Searched refs:slot_ctx (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-gadget.c | 464 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_zero_in_ctx() local 478 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_zero_in_ctx() 479 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in cdnsp_zero_in_ctx() 482 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in cdnsp_zero_in_ctx() 677 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_update_eps_configuration() local 693 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_update_eps_configuration() 699 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in cdnsp_update_eps_configuration() 700 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(i)); in cdnsp_update_eps_configuration() 728 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_reset_device() local 732 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_reset_device() [all …]
|
| H A D | cdnsp-ep0.c | 88 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_ep0_set_address() local 100 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()
|
| H A D | cdnsp-mem.c | 727 struct cdnsp_slot_ctx *slot_ctx; in cdnsp_setup_addressable_priv_dev() local 732 slot_ctx = cdnsp_get_slot_ctx(&pdev->in_ctx); in cdnsp_setup_addressable_priv_dev() 735 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in cdnsp_setup_addressable_priv_dev() 739 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SSP); in cdnsp_setup_addressable_priv_dev() 743 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in cdnsp_setup_addressable_priv_dev() 747 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in cdnsp_setup_addressable_priv_dev() 751 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in cdnsp_setup_addressable_priv_dev() 760 slot_ctx->dev_port |= cpu_to_le32(port); in cdnsp_setup_addressable_priv_dev() 761 slot_ctx->dev_state = cpu_to_le32((pdev->device_address & in cdnsp_setup_addressable_priv_dev()
|
| /linux/drivers/usb/host/ |
| H A D | xhci-dbg.c | 16 struct xhci_slot_ctx *slot_ctx = xhci_get_slot_ctx(xhci, ctx); in xhci_get_slot_state() local 17 int state = GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state)); in xhci_get_slot_state()
|
| H A D | xhci.c | 2090 struct xhci_slot_ctx *slot_ctx; in xhci_zero_in_ctx() local 2107 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_zero_in_ctx() 2108 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_zero_in_ctx() 2110 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_zero_in_ctx() 2969 struct xhci_slot_ctx *slot_ctx; in xhci_configure_endpoint() local 3008 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_configure_endpoint() 3011 trace_xhci_configure_endpoint(slot_ctx); in xhci_configure_endpoint() 3087 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local 3126 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_check_bandwidth() 3132 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_check_bandwidth() [all …]
|
| H A D | xhci-debugfs.c | 250 struct xhci_slot_ctx *slot_ctx; in xhci_slot_context_show() local 256 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_slot_context_show() 259 le32_to_cpu(slot_ctx->dev_info), in xhci_slot_context_show() 260 le32_to_cpu(slot_ctx->dev_info2), in xhci_slot_context_show() 261 le32_to_cpu(slot_ctx->tt_info), in xhci_slot_context_show() 262 le32_to_cpu(slot_ctx->dev_state))); in xhci_slot_context_show()
|
| H A D | xhci-mem.c | 1095 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local 1106 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev() 1109 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1) | udev->route); in xhci_setup_addressable_virt_dev() 1112 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SSP); in xhci_setup_addressable_virt_dev() 1116 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev() 1120 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev() 1125 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev() 1129 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev() 1143 slot_ctx->dev_info2 |= cpu_to_le32(ROOT_HUB_PORT(dev->rhub_port->hw_portnum + 1)); in xhci_setup_addressable_virt_dev() 1179 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | in xhci_setup_addressable_virt_dev() [all …]
|
| H A D | xhci-ring.c | 1424 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_set_deq() local 1443 slot_ctx = xhci_get_slot_ctx(xhci, ep->vdev->out_ctx); in xhci_handle_cmd_set_deq() 1444 trace_xhci_handle_cmd_set_deq(slot_ctx); in xhci_handle_cmd_set_deq() 1463 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq() 1603 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_disable_slot() local 1609 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot() 1610 trace_xhci_handle_cmd_disable_slot(slot_ctx); in xhci_handle_cmd_disable_slot() 1657 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_addr_dev() local 1662 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev() 1663 trace_xhci_handle_cmd_addr_dev(slot_ctx); in xhci_handle_cmd_addr_dev() [all …]
|