Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/usbip/
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);
151 void v_enqueue_ret_unlink(struct vudc *udc, __u32 seqnum, __u32 status);
152 void v_enqueue_ret_submit(struct vudc *udc, struct urbp *urb_p);
160 void v_init_timer(struct vudc *udc);
[all …]
Dvudc_dev.c73 static void nuke(struct vudc *udc, struct vep *ep) in nuke()
90 static void stop_activity(struct vudc *udc) in stop_activity()
106 struct vep *vudc_find_endpoint(struct vudc *udc, u8 address) in vudc_find_endpoint()
129 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_get_frame()
139 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_set_selfpowered()
150 struct vudc *udc = usb_gadget_to_vudc(_gadget); in vgadget_pullup()
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()
[all …]
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()
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()
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()
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
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()
191 struct vudc *udc = container_of(ud, struct vudc, ud); in v_rx_pdu()
DKconfig71 module will be called usbip-vudc.
/linux-5.19.10/tools/usb/usbip/
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-5.19.10/tools/usb/usbip/vudc/
Dvudc_server_example.sh69 [[ -d /sys/class/udc/usbip-vudc.0 ]] || modprobe usbip-vudc num=1
/linux-5.19.10/Documentation/ABI/testing/
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