Lines Matching refs:max_packet
44 …uint64_t xhci_initialize_slot(const int id, const int port, const int speed, const int max_packet);
46 … const int max_packet, const int max_burst, const int type, const int direction,
50 const int max_packet);
52 const int max_packet);
56 uint8_t direction, const int max_packet, const uint64_t status_vaddr);
890 … uint64_t xhci_initialize_slot(const int id, const int port, const int speed, const int max_packet) in xhci_initialize_slot() argument
913 …xhci_initialize_ep(id, device_context_vaddr, port, XHCI_EP_CONTROL, max_packet, 0, USB_EP_CONTROL,… in xhci_initialize_slot()
932 … const int max_packet, const int max_burst, const int type, const int direction, in xhci_initialize_ep() argument
952 kdebug("max_packet=%d, max_burst=%d", max_packet, max_burst); in xhci_initialize_ep()
957 ep_ctx.max_packet_size = max_packet; in xhci_initialize_ep()
971 ep_ctx.max_packet_size = max_packet & 0x7ff; in xhci_initialize_ep()
976 ep_ctx.max_esti_payload_hi = ((max_packet * (max_burst + 1)) >> 8) & 0xff; in xhci_initialize_ep()
977 ep_ctx.max_esti_payload_lo = ((max_packet * (max_burst + 1))) & 0xff; in xhci_initialize_ep()
1099 uint8_t direction, const int max_packet, const uint64_t status_vaddr) in xhci_data_stage() argument
1104 uint32_t remain_packets = (size + max_packet - 1) / max_packet; in xhci_data_stage()
1115 trb.transfer_length = (remain_bytes < max_packet ? size : max_packet); in xhci_data_stage()
1126 buf_vaddr += max_packet; in xhci_data_stage()
1127 remain_bytes -= max_packet; in xhci_data_stage()
1238 const int max_packet) in xhci_control_in() argument
1252 packet->length, XHCI_DIR_IN_BIT, max_packet, status_buf_vaddr); in xhci_control_in()
1312 const int max_packet) in xhci_control_out() argument
1325 packet->length, XHCI_DIR_OUT_BIT, max_packet, status_buf_vaddr); in xhci_control_out()
1513 (*ep_desc)->max_packet, (*ep_desc)->attributes, (*ep_desc)->interval); in xhci_get_endpoint_desc()
1550 int16_t max_packet; in xhci_get_descriptor() local
1557 max_packet = 8; in xhci_get_descriptor()
1561 max_packet = 64; in xhci_get_descriptor()
1564 max_packet = 512; in xhci_get_descriptor()
1574 uint64_t slot_vaddr = xhci_initialize_slot(id, port_id, speed, max_packet); in xhci_get_descriptor()
1586 count = xhci_control_in(id, &ctrl_in_packet, dev_desc, port_id, max_packet); in xhci_get_descriptor()