Searched refs:slot_id (Results 1 – 7 of 7) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | xhci-ring.c | 272 void xhci_queue_command(struct xhci_ctrl *ctrl, u8 *ptr, u32 slot_id, in xhci_queue_command() argument 283 fields[3] = TRB_TYPE(cmd) | SLOT_ID_FOR_TRB(slot_id) | in xhci_queue_command() 377 xhci_writel(&ctrl->dba->doorbell[udev->slot_id], in giveback_first_trb() 484 struct xhci_ring *ring = ctrl->devs[udev->slot_id]->eps[ep_index].ring; in reset_ep() 489 xhci_queue_command(ctrl, NULL, udev->slot_id, ep_index, TRB_RESET_EP); in reset_ep() 495 BUG_ON(TRB_TO_SLOT_ID(field) != udev->slot_id); in reset_ep() 499 ring->cycle_state), udev->slot_id, ep_index, TRB_SET_DEQ); in reset_ep() 505 != udev->slot_id || GET_COMP_CODE(le32_to_cpu( in reset_ep() 521 struct xhci_ring *ring = ctrl->devs[udev->slot_id]->eps[ep_index].ring; in abort_td() 525 xhci_queue_command(ctrl, NULL, udev->slot_id, ep_index, TRB_STOP_RING); in abort_td() [all …]
|
| H A D | xhci-mem.c | 138 int slot_id; in xhci_free_virt_devices() local 145 for (slot_id = 0; slot_id < MAX_HC_SLOTS; slot_id++) { in xhci_free_virt_devices() 146 virt_dev = ctrl->devs[slot_id]; in xhci_free_virt_devices() 150 ctrl->dcbaa->dev_context_ptrs[slot_id] = 0; in xhci_free_virt_devices() 163 ctrl->devs[slot_id] = NULL; in xhci_free_virt_devices() 443 int xhci_alloc_virt_device(struct xhci_ctrl *ctrl, unsigned int slot_id) in xhci_alloc_virt_device() argument 449 if (ctrl->devs[slot_id]) { in xhci_alloc_virt_device() 450 printf("Virt dev for slot[%d] already allocated\n", slot_id); in xhci_alloc_virt_device() 454 ctrl->devs[slot_id] = (struct xhci_virt_device *) in xhci_alloc_virt_device() 457 if (!ctrl->devs[slot_id]) { in xhci_alloc_virt_device() [all …]
|
| H A D | xhci.c | 457 virt_dev = ctrl->devs[udev->slot_id]; in xhci_configure_endpoints() 461 xhci_queue_command(ctrl, in_ctx->bytes, udev->slot_id, 0, in xhci_configure_endpoints() 468 != udev->slot_id); in xhci_configure_endpoints() 509 int slot_id = udev->slot_id; in xhci_set_configuration() local 510 struct xhci_virt_device *virt_dev = ctrl->devs[slot_id]; in xhci_set_configuration() 635 int slot_id = udev->slot_id; in xhci_address_device() local 638 virt_dev = ctrl->devs[slot_id]; in xhci_address_device() 651 xhci_queue_command(ctrl, (void *)ctrl_ctx, slot_id, 0, TRB_ADDR_DEV); in xhci_address_device() 656 BUG_ON(TRB_TO_SLOT_ID(le32_to_cpu(event->event_cmd.flags)) != slot_id); in xhci_address_device() 662 slot_id); in xhci_address_device() [all …]
|
| /rk3399_rockchip-uboot/board/freescale/p1022ds/ |
| H A D | p1022ds.c | 176 enum slot_id { enum 233 enum slot_id slot = serdes_dev_slot[srds_cfg][device]; in board_serdes_name()
|
| /rk3399_rockchip-uboot/board/gdsys/p1022/ |
| H A D | controlcenterd.c | 149 enum slot_id { enum 206 enum slot_id slot = serdes_dev_slot[srds_cfg][device]; in board_serdes_name()
|
| /rk3399_rockchip-uboot/include/usb/ |
| H A D | xhci.h | 1255 u32 slot_id, u32 ep_index, trb_type cmd); 1267 int xhci_alloc_virt_device(struct xhci_ctrl *ctrl, unsigned int slot_id);
|
| /rk3399_rockchip-uboot/include/ |
| H A D | usb.h | 151 unsigned int slot_id; member
|