Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dxhci-mem.c724 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local
741 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->in_ctx); in xhci_setup_addressable_virt_dev()
744 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_setup_addressable_virt_dev()
769 slot_ctx->dev_info |= route; in xhci_setup_addressable_virt_dev()
773 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()
776 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()
779 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()
782 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()
806 slot_ctx->dev_info |= cpu_to_le32(DEV_MTT); in xhci_setup_addressable_virt_dev()
807 slot_ctx->tt_info |= cpu_to_le32(TT_PORT(port_num)); in xhci_setup_addressable_virt_dev()
[all …]
H A Dxhci.c495 struct xhci_slot_ctx *slot_ctx; in xhci_set_configuration() local
539 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_set_configuration()
540 slot_ctx->dev_info &= ~(cpu_to_le32(LAST_CTX_MASK)); in xhci_set_configuration()
541 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(max_ep_flag + 1) | 0); in xhci_set_configuration()
629 struct xhci_slot_ctx *slot_ctx; in xhci_address_device() local
690 slot_ctx = xhci_get_slot_ctx(ctrl, virt_dev->out_ctx); in xhci_address_device()
693 le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_address_device()
1415 struct xhci_slot_ctx *slot_ctx; in xhci_update_hub_device() local
1440 slot_ctx = xhci_get_slot_ctx(ctrl, in_ctx); in xhci_update_hub_device()
1443 slot_ctx->dev_info |= cpu_to_le32(DEV_HUB); in xhci_update_hub_device()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci-dbg.c16 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 Dxhci.c1964 struct xhci_slot_ctx *slot_ctx; in xhci_zero_in_ctx() local
1981 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_zero_in_ctx()
1982 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_zero_in_ctx()
1984 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1)); in xhci_zero_in_ctx()
2784 struct xhci_slot_ctx *slot_ctx; in xhci_configure_endpoint() local
2823 slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); in xhci_configure_endpoint()
2826 trace_xhci_configure_endpoint(slot_ctx); in xhci_configure_endpoint()
2910 struct xhci_slot_ctx *slot_ctx; in xhci_check_bandwidth() local
2949 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->in_ctx); in xhci_check_bandwidth()
2955 slot_ctx->dev_info &= cpu_to_le32(~LAST_CTX_MASK); in xhci_check_bandwidth()
[all …]
H A Dxhci-debugfs.c261 struct xhci_slot_ctx *slot_ctx; in xhci_slot_context_show() local
267 slot_ctx = xhci_get_slot_ctx(xhci, dev->out_ctx); in xhci_slot_context_show()
270 le32_to_cpu(slot_ctx->dev_info), in xhci_slot_context_show()
271 le32_to_cpu(slot_ctx->dev_info2), in xhci_slot_context_show()
272 le32_to_cpu(slot_ctx->tt_info), in xhci_slot_context_show()
273 le32_to_cpu(slot_ctx->dev_state))); in xhci_slot_context_show()
H A Dxhci-ring.c1361 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_set_deq() local
1379 slot_ctx = xhci_get_slot_ctx(xhci, ep->vdev->out_ctx); in xhci_handle_cmd_set_deq()
1380 trace_xhci_handle_cmd_set_deq(slot_ctx); in xhci_handle_cmd_set_deq()
1394 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq()
1510 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_disable_slot() local
1516 slot_ctx = xhci_get_slot_ctx(xhci, virt_dev->out_ctx); in xhci_handle_cmd_disable_slot()
1517 trace_xhci_handle_cmd_disable_slot(slot_ctx); in xhci_handle_cmd_disable_slot()
1586 struct xhci_slot_ctx *slot_ctx; in xhci_handle_cmd_addr_dev() local
1591 slot_ctx = xhci_get_slot_ctx(xhci, vdev->out_ctx); in xhci_handle_cmd_addr_dev()
1592 trace_xhci_handle_cmd_addr_dev(slot_ctx); in xhci_handle_cmd_addr_dev()
[all …]
H A Dxhci-mem.c1173 struct xhci_slot_ctx *slot_ctx; in xhci_setup_addressable_virt_dev() local
1186 slot_ctx = xhci_get_slot_ctx(xhci, dev->in_ctx); in xhci_setup_addressable_virt_dev()
1189 slot_ctx->dev_info |= cpu_to_le32(LAST_CTX(1) | udev->route); in xhci_setup_addressable_virt_dev()
1192 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SSP); in xhci_setup_addressable_virt_dev()
1196 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_SS); in xhci_setup_addressable_virt_dev()
1200 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_HS); in xhci_setup_addressable_virt_dev()
1205 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_FS); in xhci_setup_addressable_virt_dev()
1209 slot_ctx->dev_info |= cpu_to_le32(SLOT_SPEED_LS); in xhci_setup_addressable_virt_dev()
1224 slot_ctx->dev_info2 |= cpu_to_le32(ROOT_HUB_PORT(port_num)); in xhci_setup_addressable_virt_dev()
1266 slot_ctx->tt_info = cpu_to_le32(udev->tt->hub->slot_id | in xhci_setup_addressable_virt_dev()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/
H A D0018_let_ld_pointer_dma_function_propagate_MemTxResult.patch77 uint32_t slot_ctx[4];
92 xhci_dma_read_u32s(xhci, slot->ctx, slot_ctx, sizeof(slot_ctx));
93 slot->uport = xhci_lookup_uport(xhci, slot_ctx);
H A D0016_let_ld_pointer_dma_function_take_MemTxAttrs_argument.patch82 xhci_dma_read_u32s(xhci, slot->ctx, slot_ctx, sizeof(slot_ctx));
83 slot->uport = xhci_lookup_uport(xhci, slot_ctx);
H A D0020_let_ld_pointer_pci_dma_function_take_MemTxAttrs_argument.patch247 xhci_dma_read_u32s(xhci, slot->ctx, slot_ctx, sizeof(slot_ctx));
248 slot->uport = xhci_lookup_uport(xhci, slot_ctx);