Lines Matching refs:ports

226 …     __read8b(xhci_hc[id].dcbaap_vaddr + (xhci_hc[id].ports[port_id].slot_id * sizeof(uint64_t))));  in xhci_get_device_context_vaddr()
451 xhci_hc[id].ports[offset + i].offset = xhci_hc[id].port_num_u2++; in xhci_hc_pair_ports()
452 xhci_hc[id].ports[offset + i].flags = XHCI_PROTOCOL_USB2; in xhci_hc_pair_ports()
456 xhci_hc[id].ports[offset + i].flags |= XHCI_PROTOCOL_HSO; in xhci_hc_pair_ports()
474 xhci_hc[id].ports[offset + i].offset = xhci_hc[id].port_num_u3++; in xhci_hc_pair_ports()
475 xhci_hc[id].ports[offset + i].flags = XHCI_PROTOCOL_USB3; in xhci_hc_pair_ports()
488 if ((xhci_hc[id].ports[i].offset == xhci_hc[id].ports[j].offset) && in xhci_hc_pair_ports()
489 ((xhci_hc[id].ports[i].flags & XHCI_PROTOCOL_INFO) != in xhci_hc_pair_ports()
490 (xhci_hc[id].ports[j].flags & XHCI_PROTOCOL_INFO))) in xhci_hc_pair_ports()
492 xhci_hc[id].ports[i].paired_port_num = j; in xhci_hc_pair_ports()
493 xhci_hc[id].ports[i].flags |= XHCI_PROTOCOL_HAS_PAIR; in xhci_hc_pair_ports()
495 xhci_hc[id].ports[j].paired_port_num = i; in xhci_hc_pair_ports()
496 xhci_hc[id].ports[j].flags |= XHCI_PROTOCOL_HAS_PAIR; in xhci_hc_pair_ports()
506 xhci_hc[id].ports[i].flags |= XHCI_PROTOCOL_ACTIVE; in xhci_hc_pair_ports()
864 xhci_hc[id].ports[port].flags |= XHCI_PROTOCOL_ACTIVE; in xhci_reset_port()
866 … xhci_hc[id].ports[xhci_hc[id].ports[port].paired_port_num].flags &= ~(XHCI_PROTOCOL_ACTIVE); in xhci_reset_port()
872 xhci_hc[id].ports[port].flags &= ~XHCI_PROTOCOL_ACTIVE; in xhci_reset_port()
873 xhci_hc[id].ports[xhci_hc[id].ports[port].paired_port_num].flags |= XHCI_PROTOCOL_ACTIVE; in xhci_reset_port()
897 __write8b(xhci_hc[id].dcbaap_vaddr + (xhci_hc[id].ports[port].slot_id * sizeof(uint64_t)), in xhci_initialize_slot()
941 xhci_hc[id].ports[port_id].ep_info[ep_num].ep_ring_vbase = xhci_create_ring(XHCI_TRBS_PER_RING); in xhci_initialize_ep()
943 ep_ctx.tr_dequeue_ptr = virt_2_phys(xhci_hc[id].ports[port_id].ep_info[ep_num].ep_ring_vbase); in xhci_initialize_ep()
946 xhci_hc[id].ports[port_id].ep_info[ep_num].current_ep_ring_vaddr = in xhci_initialize_ep()
947 xhci_hc[id].ports[port_id].ep_info[ep_num].ep_ring_vbase; in xhci_initialize_ep()
948 …xhci_hc[id].ports[port_id].ep_info[ep_num].current_ep_ring_cycle = xhci_ep_get_dequeue_cycle_state… in xhci_initialize_ep()
1247 xhci_setup_stage(&xhci_hc[id].ports[port_id].ep_info[XHCI_EP_CONTROL], packet, XHCI_DIR_IN); in xhci_control_in()
1251 …xhci_data_stage(&xhci_hc[id].ports[port_id].ep_info[XHCI_EP_CONTROL], data_buf_vaddr, TRB_TYPE_DAT… in xhci_control_in()
1269 __xhci_write_doorbell(id, xhci_hc[id].ports[port_id].slot_id, XHCI_EP_CONTROL); in xhci_control_in()
1275 …xhci_status_stage(&xhci_hc[id].ports[port_id].ep_info[XHCI_EP_CONTROL], XHCI_DIR_OUT_BIT, status_b… in xhci_control_in()
1277 __xhci_write_doorbell(id, xhci_hc[id].ports[port_id].slot_id, XHCI_EP_CONTROL); in xhci_control_in()
1319 xhci_setup_stage(&xhci_hc[id].ports[port_id].ep_info[XHCI_EP_CONTROL], packet, XHCI_DIR_OUT); in xhci_control_out()
1324 …xhci_data_stage(&xhci_hc[id].ports[port_id].ep_info[XHCI_EP_CONTROL], data_buf_vaddr, TRB_TYPE_DAT… in xhci_control_out()
1330 __xhci_write_doorbell(id, xhci_hc[id].ports[port_id].slot_id, XHCI_EP_CONTROL); in xhci_control_out()
1337 …xhci_status_stage(&xhci_hc[id].ports[port_id].ep_info[XHCI_EP_CONTROL], XHCI_DIR_IN_BIT, status_bu… in xhci_control_out()
1339 __xhci_write_doorbell(id, xhci_hc[id].ports[port_id].slot_id, XHCI_EP_CONTROL); in xhci_control_out()
1379 struct usb_device_desc *dev_desc = xhci_hc[id].ports[port_id].dev_desc; in xhci_get_desc()
1401 struct usb_device_desc *dev_desc = xhci_hc[id].ports[port_id].dev_desc; in xhci_set_configuration()
1571 xhci_hc[id].ports[port_id].slot_id = slot_id; in xhci_get_descriptor()
1595 xhci_hc[id].ports[port_id].dev_desc = dev_desc; in xhci_get_descriptor()
1697 struct usb_device_desc *dev_desc = xhci_hc[id].ports[port_id].dev_desc; in xhci_hid_set_idle()
1727 …xhci_initialize_ep(id, slot_context_vaddr, port_id, ep_num, xhci_hc[id].ports[port_id].dev_desc->m… in xhci_configure_endpoint()
1759 trb.Reserved |= (((uint16_t)xhci_hc[id].ports[port_id].slot_id) << 8) & 0xffff; in xhci_configure_endpoint()