Home
last modified time | relevance | path

Searched refs:vudc (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/drivers/usb/usbip/
A Dvudc.h41 struct vudc *udc;
86 struct vudc { struct
133 static inline struct vudc *usb_gadget_to_vudc( in usb_gadget_to_vudc() argument
136 return container_of(_gadget, struct vudc, gadget); in usb_gadget_to_vudc()
139 static inline struct vudc *ep_to_vudc(struct vep *ep) in ep_to_vudc()
141 return container_of(ep->gadget, struct vudc, gadget); in ep_to_vudc()
146 int get_gadget_descs(struct vudc *udc);
160 void v_init_timer(struct vudc *udc);
161 void v_start_timer(struct vudc *udc);
162 void v_kick_timer(struct vudc *udc, unsigned long time);
[all …]
A Dvudc_dev.c90 static void stop_activity(struct vudc *udc) in stop_activity()
196 struct vudc *udc = usb_gadget_to_vudc(g); in vgadget_udc_start()
209 struct vudc *udc = usb_gadget_to_vudc(g); in vgadget_udc_stop()
233 struct vudc *udc; in vep_enable()
263 struct vudc *udc; in vep_disable()
313 struct vudc *udc; in vep_queue()
337 struct vudc *udc; in vep_dequeue()
373 struct vudc *udc; in vep_set_halt_and_wedge()
431 struct vudc *udc = container_of(ud, struct vudc, ud); in vudc_shutdown()
465 struct vudc *udc = container_of(ud, struct vudc, ud); in vudc_device_reset()
[all …]
A Dvudc_sysfs.c23 int get_gadget_descs(struct vudc *udc) in get_gadget_descs()
74 struct vudc *udc = (struct vudc *)dev_get_drvdata(dev); in dev_desc_read()
97 struct vudc *udc = (struct vudc *) dev_get_drvdata(dev); in usbip_sockfd_store()
234 struct vudc *udc = (struct vudc *) dev_get_drvdata(dev); in usbip_status_show()
A Dvudc_tx.c38 static int v_send_ret_unlink(struct vudc *udc, struct v_unlink *unlink) in v_send_ret_unlink()
73 static int v_send_ret_submit(struct vudc *udc, struct urbp *urb_p) in v_send_ret_submit()
184 static int v_send_ret(struct vudc *udc) in v_send_ret()
224 struct vudc *udc = container_of(ud, struct vudc, ud); in v_tx_loop()
244 void v_enqueue_ret_unlink(struct vudc *udc, __u32 seqnum, __u32 status) in v_enqueue_ret_unlink()
270 void v_enqueue_ret_submit(struct vudc *udc, struct urbp *urb_p) in v_enqueue_ret_submit()
A Dvudc_transfer.c58 static int handle_control_request(struct vudc *udc, struct urb *urb, in handle_control_request()
183 static int transfer(struct vudc *udc, in transfer()
304 struct vudc *udc = from_timer(udc, t, tr_timer.timer); in v_timer()
446 void v_init_timer(struct vudc *udc) in v_init_timer()
454 void v_start_timer(struct vudc *udc) in v_start_timer()
472 void v_kick_timer(struct vudc *udc, unsigned long time) in v_kick_timer()
489 void v_stop_timer(struct vudc *udc) in v_stop_timer()
A DMakefile13 obj-$(CONFIG_USBIP_VUDC) += usbip-vudc.o
14 usbip-vudc-y := vudc_dev.o vudc_sysfs.o vudc_tx.o vudc_rx.o vudc_transfer.o vudc_main.o
A Dvudc_rx.c62 static int v_recv_cmd_unlink(struct vudc *udc, in v_recv_cmd_unlink()
88 static int v_recv_cmd_submit(struct vudc *udc, in v_recv_cmd_submit()
193 struct vudc *udc = container_of(ud, struct vudc, ud); in v_rx_pdu()
A DKconfig71 module will be called usbip-vudc.
/linux-6.3-rc2/tools/usb/usbip/
A DREADME23 - usbip-vudc
92 server:# insmod usbip-vudc.ko
93 - To create more than one instance of vudc use num module param
95 server:# (Bind gadget to one of available vudc)
99 server:# echo "usbip-vudc.0" > UDC
114 - When using vudc on a server side busid is really vudc instance name.
115 For example: usbip-vudc.0
248 - Target USB gadget must be bound to vudc
/linux-6.3-rc2/tools/usb/usbip/vudc/
A Dvudc_server_example.sh69 [[ -d /sys/class/udc/usbip-vudc.0 ]] || modprobe usbip-vudc num=1
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-platform-usbip-vudc1 What: /sys/devices/platform/usbip-vudc.%d/dev_desc
12 What: /sys/devices/platform/usbip-vudc.%d/usbip_status
27 What: /sys/devices/platform/usbip-vudc.%d/usbip_sockfd

Completed in 10 milliseconds