Home
last modified time | relevance | path

Searched refs:slot_ctx (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/usb/host/
Dxhci-dbg.c438 struct xhci_slot_ctx *slot_ctx = xhci_get_slot_ctx(xhci, ctx); in xhci_get_slot_state() local
440 switch (GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state))) { in xhci_get_slot_state()
460 struct xhci_slot_ctx *slot_ctx = xhci_get_slot_ctx(xhci, ctx); in xhci_dbg_slot_ctx() local
462 ((unsigned long)slot_ctx - (unsigned long)ctx->bytes); in xhci_dbg_slot_ctx()
467 &slot_ctx->dev_info, in xhci_dbg_slot_ctx()
468 (unsigned long long)dma, slot_ctx->dev_info); in xhci_dbg_slot_ctx()
471 &slot_ctx->dev_info2, in xhci_dbg_slot_ctx()
472 (unsigned long long)dma, slot_ctx->dev_info2); in xhci_dbg_slot_ctx()
475 &slot_ctx->tt_info, in xhci_dbg_slot_ctx()
476 (unsigned long long)dma, slot_ctx->tt_info); in xhci_dbg_slot_ctx()
[all …]
Dxhci.c1835 struct xhci_slot_ctx *slot_ctx; in xhci_zero_in_ctx() local
1852 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_zero_in_ctx()
1853 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_zero_in_ctx()
1855 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_zero_in_ctx()
2760 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local
2799 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_check_bandwidth()
2805 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_check_bandwidth()
2806 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(i)); in xhci_check_bandwidth()
2812 LAST_CTX_TO_EP_NUM(le32_to_cpu(slot_ctx->dev_info))); in xhci_check_bandwidth()
2822 LAST_CTX_TO_EP_NUM(le32_to_cpu(slot_ctx->dev_info))); in xhci_check_bandwidth()
[all …]
Dxhci-mem.c1092 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local
1105 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
1108 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1) | udev->route); in xhci_setup_addressable_virt_dev()
1111 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()
1115 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()
1120 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()
1124 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()
1139 slot_ctx->dev_info2 |= cpu_to_le32(ROOT_HUB_PORT(port_num)); 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()
1184 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_setup_addressable_virt_dev()
Dxhci-ring.c962 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_set_deq() local
978 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_handle_cmd_set_deq()
992 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq()