Home
last modified time | relevance | path

Searched refs:connfd (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/usb/device/
Dusb_dc_native_posix_adapt.c85 static int send_interfaces(const uint8_t *descriptors, int connfd) in send_interfaces() argument
103 if (send(connfd, &iface, sizeof(iface), 0) != in send_interfaces()
148 static int send_device(const uint8_t *desc, int connfd) in send_device() argument
154 if (send(connfd, &dev, sizeof(dev), 0) != sizeof(dev)) { in send_device()
162 static int handle_device_list(const uint8_t *desc, int connfd) in handle_device_list() argument
172 if (send(connfd, &header, sizeof(header), 0) != sizeof(header)) { in handle_device_list()
180 if (send(connfd, &ndev, sizeof(ndev), 0) != sizeof(ndev)) { in handle_device_list()
185 send_device(desc, connfd); in handle_device_list()
187 send_interfaces(desc, connfd); in handle_device_list()
192 static void handle_usbip_submit(int connfd, struct usbip_header *hdr) in handle_usbip_submit() argument
[all …]
/Zephyr-latest/subsys/usb/host/
Dusbip.c45 int connfd; member
162 err = zsock_send(dev_ctx->connfd, &ret, sizeof(ret), 0); in usbip_req_cb()
171 err = zsock_send(dev_ctx->connfd, buf->data, buf->len, 0); in usbip_req_cb()
247 ret = zsock_recv(dev_ctx->connfd, submit, sizeof(*submit), ZSOCK_MSG_WAITALL); in usbip_handle_submit()
265 ret = zsock_recv(dev_ctx->connfd, in usbip_handle_submit()
324 ret = zsock_recv(dev_ctx->connfd, unlink, sizeof(*unlink), ZSOCK_MSG_WAITALL); in usbip_handle_unlink()
349 ret = zsock_send(dev_ctx->connfd, &rsp, sizeof(rsp), 0); in usbip_handle_unlink()
362 ret = zsock_recv(dev_ctx->connfd, &cmd.hdr, sizeof(cmd.hdr), ZSOCK_MSG_WAITALL); in usbip_handle_cmd()
396 zsock_close(dev_ctx->connfd); in usbip_thread_cmd()
405 const uint32_t busnum, int connfd) in handle_devlist_device() argument
[all …]