Searched refs:slot_id (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.3/kernel/src/driver/usb/xhci/ |
D | xhci.c | 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() [all …]
|
D | xhci.h | 305 uint8_t slot_id; // the id of the slot associated with the member 512 uint8_t slot_id; // address device获得的slot id member
|