Home
last modified time | relevance | path

Searched refs:endp (Results 1 – 9 of 9) sorted by relevance

/qemu/tests/qtest/
H A Dtest-hmp.c97 char *resp, *info, *info_buf, *endp; in test_info_commands() local
104 endp = strchr(&info[5], ' '); in test_info_commands()
105 g_assert(endp != NULL); in test_info_commands()
106 *endp = '\0'; in test_info_commands()
114 info = strchr(endp + 1, '\n'); in test_info_commands()
/qemu/ui/
H A Dui-hmp-cmds.c376 const char *endp; in hmp_sendkey() local
379 if (qemu_strtoi(keys, &endp, 0, &value) < 0) { in hmp_sendkey()
382 assert(endp <= keys + keyname_len); in hmp_sendkey()
383 if (endp != keys + keyname_len) { in hmp_sendkey()
/qemu/hw/usb/
H A Dhost-libusb.c787 const struct libusb_endpoint_descriptor *endp; in usb_host_speed_compat() local
812 endp = &intf->endpoint[e]; in usb_host_speed_compat()
813 type = endp->bmAttributes & 0x3; in usb_host_speed_compat()
822 (ctx, endp, &endp_ss_comp); in usb_host_speed_compat()
835 if (endp->wMaxPacketSize > 64) { in usb_host_speed_compat()
838 if (endp->wMaxPacketSize > 1024) { in usb_host_speed_compat()
872 const struct libusb_endpoint_descriptor *endp; in usb_host_ep_update() local
907 endp = &intf->endpoint[e]; in usb_host_ep_update()
909 devep = endp->bEndpointAddress; in usb_host_ep_update()
912 type = endp->bmAttributes & 0x3; in usb_host_ep_update()
[all …]
H A Dredirect.c2308 struct endp_data *endp = priv; in usbredir_put_bufpq() local
2309 USBRedirDevice *dev = endp->dev; in usbredir_put_bufpq()
2313 qemu_put_be32(f, endp->bufpq_size); in usbredir_put_bufpq()
2323 assert(i == endp->bufpq_size); in usbredir_put_bufpq()
2331 struct endp_data *endp = priv; in usbredir_get_bufpq() local
2332 USBRedirDevice *dev = endp->dev; in usbredir_get_bufpq()
2336 endp->bufpq_size = qemu_get_be32(f); in usbredir_get_bufpq()
2366 struct endp_data *endp = priv; in usbredir_bulk_receiving_needed() local
2368 return endp->bulk_receiving_started; in usbredir_bulk_receiving_needed()
2384 struct endp_data *endp = priv; in usbredir_stream_needed() local
[all …]
H A Dhcd-ehci.c434 uint32_t endp = get_field(qh->epchar, QH_EPCHAR_EP); in ehci_verify_qh() local
436 (endp != get_field(q->qh.epchar, QH_EPCHAR_EP)) || in ehci_verify_qh()
564 int endp = get_field(q->qh.epchar, QH_EPCHAR_EP); in ehci_queue_stopped() local
570 usb_device_ep_stopped(q->dev, usb_ep_get(q->dev, q->last_pid, endp)); in ehci_queue_stopped()
1345 int endp; in ehci_execute() local
1367 endp = get_field(p->queue->qh.epchar, QH_EPCHAR_EP); in ehci_execute()
1368 ep = usb_ep_get(p->queue->dev, p->pid, endp); in ehci_execute()
1389 p->qtdaddr, p->pid, p->packet.iov.size, endp, p->packet.status, in ehci_execute()
1409 uint32_t i, len, pid, dir, devaddr, endp; in ehci_process_itd() local
1416 endp = get_field(itd->bufptr[0], ITD_BUFPTR_EP); in ehci_process_itd()
[all …]
H A Dtrace-events229 usb_dwc2_wakeup_endpoint(void *ep, uint32_t stream) "endp %p stream %d"
/qemu/util/
H A Dcutils.c819 char *endp = (char *)s; in parse_uint() local
829 val = strtoull(s, &endp, base); in parse_uint()
835 if (endp == s) { in parse_uint()
853 *endptr = endp; in parse_uint()
854 } else if (s && *endp) { in parse_uint()
/qemu/hw/block/
H A Dxen-block.c521 static int vbd_name_to_disk(const char *name, const char **endp, in vbd_name_to_disk() argument
534 *endp = name; in vbd_name_to_disk()
/qemu/monitor/
H A Dhmp.c693 const char **endp, in monitor_parse_arguments() argument
699 const char *p = *endp; in monitor_parse_arguments()