Lines Matching refs:slot_id

48 static int xhci_set_address(const int id, const uint64_t slot_vaddr, const int slot_id, const bool …
51 …hci_control_out(const int id, struct usb_request_packet_t *packet, void *target, const int slot_id,
185 static __always_inline void __xhci_write_doorbell(const int id, const uint16_t slot_id, const uint3… in __xhci_write_doorbell() argument
189 xhci_write_cap_reg32(id, xhci_hc[id].db_offset + slot_id * sizeof(uint32_t), value); in __xhci_write_doorbell()
226 … __read8b(xhci_hc[id].dcbaap_vaddr + (xhci_hc[id].ports[port_id].slot_id * sizeof(uint64_t)))); in xhci_get_device_context_vaddr()
897 __write8b(xhci_hc[id].dcbaap_vaddr + (xhci_hc[id].ports[port].slot_id * sizeof(uint64_t)), in xhci_initialize_slot()
1001 static int xhci_set_address(const int id, const uint64_t slot_vaddr, const int slot_id, const bool … in xhci_set_address() argument
1030 trb.Reserved |= ((slot_id << 8) & 0xffff); in xhci_set_address()
1035 kerror("slotid:%d, address device failed", slot_id); in xhci_set_address()
1043 ksuccess("slot %d successfully addressed.", slot_id); in xhci_set_address()
1269 __xhci_write_doorbell(id, xhci_hc[id].ports[port_id].slot_id, XHCI_EP_CONTROL); in xhci_control_in()
1277 __xhci_write_doorbell(id, xhci_hc[id].ports[port_id].slot_id, XHCI_EP_CONTROL); in xhci_control_in()
1330 __xhci_write_doorbell(id, xhci_hc[id].ports[port_id].slot_id, XHCI_EP_CONTROL); in xhci_control_out()
1339 __xhci_write_doorbell(id, xhci_hc[id].ports[port_id].slot_id, XHCI_EP_CONTROL); in xhci_control_out()
1549 uint32_t slot_id = ((struct xhci_TRB_cmd_complete_t *)&trb)->slot_id; in xhci_get_descriptor() local
1551 if (slot_id != 0) // slot id不为0时,是合法的slot id in xhci_get_descriptor()
1571 xhci_hc[id].ports[port_id].slot_id = slot_id; in xhci_get_descriptor()
1576 retval = xhci_set_address(id, slot_vaddr, slot_id, true); in xhci_get_descriptor()
1580 retval = xhci_set_address(id, slot_vaddr, slot_id, false); in xhci_get_descriptor()
1759 trb.Reserved |= (((uint16_t)xhci_hc[id].ports[port_id].slot_id) << 8) & 0xffff; in xhci_configure_endpoint()