Home
last modified time | relevance | path

Searched refs:urb (Results 1 – 17 of 17) sorted by relevance

/device/soc/rockchip/rk3588/kernel/include/linux/usb/
Dhcd.h98 struct urb *status_urb; /* the current status urb */
300 struct urb *urb, gfp_t mem_flags);
302 struct urb *urb, int status);
313 int (*map_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb,
315 void (*unmap_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb);
441 extern int usb_hcd_link_urb_to_ep(struct usb_hcd *hcd, struct urb *urb);
442 extern int usb_hcd_check_unlink_urb(struct usb_hcd *hcd, struct urb *urb,
444 extern void usb_hcd_unlink_urb_from_ep(struct usb_hcd *hcd, struct urb *urb);
446 extern int usb_hcd_submit_urb(struct urb *urb, gfp_t mem_flags);
447 extern int usb_hcd_unlink_urb(struct urb *urb, int status);
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/bluetooth/
Drtk_btusb.c2932 void check_sco_event(struct urb *urb) in check_sco_event() argument
2934 u8 *opcode = (u8 *)(urb->transfer_buffer); in check_sco_event()
2937 struct hci_dev *hdev = urb->context; in check_sco_event()
2967 static void btusb_intr_complete(struct urb *urb) in btusb_intr_complete() argument
2969 struct hci_dev *hdev = urb->context; in btusb_intr_complete()
2974 urb, urb->status, urb->actual_length); in btusb_intr_complete()
2977 check_sco_event(urb); in btusb_intr_complete()
2984 if (urb->status == 0) { in btusb_intr_complete()
2985 hdev->stat.byte_rx += urb->actual_length; in btusb_intr_complete()
2988 urb->transfer_buffer, in btusb_intr_complete()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddbus_usb_linux.c139 static inline int usb_submit_urb_linux(struct urb *urb) in usb_submit_urb_linux() argument
143 if (urb && (urb->transfer_buffer_length > BCM_MAX_URB_LEN)) { in usb_submit_urb_linux()
144 DBUSERR(("URB transfer length=%d exceeded %d ra=%p\n", urb->transfer_buffer_length, in usb_submit_urb_linux()
151 return usb_submit_urb(urb, GFP_ATOMIC); in usb_submit_urb_linux()
153 return usb_submit_urb(urb); in usb_submit_urb_linux()
158 #define USB_SUBMIT_URB(urb) usb_submit_urb_linux(urb) argument
163 #define USB_UNLINK_URB(urb) (usb_kill_urb(urb)) argument
164 #define USB_FREE_URB(urb) (usb_free_urb(urb)) argument
206 #define CALLBACK_ARGS struct urb *urb, struct pt_regs *regs
207 #define CALLBACK_ARGS_DATA urb, regs
[all …]
Ddhd_wlfc.h424 void *urb; member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Ddbus_usb_linux.c134 static inline int usb_submit_urb_linux(struct urb *urb) in usb_submit_urb_linux() argument
137 if (urb && (urb->transfer_buffer_length > BCM_MAX_URB_LEN)) { in usb_submit_urb_linux()
138 DBUSERR(("URB transfer length=%d exceeded %d ra=%p\n", urb->transfer_buffer_length, in usb_submit_urb_linux()
145 return usb_submit_urb(urb, GFP_ATOMIC); in usb_submit_urb_linux()
147 return usb_submit_urb(urb); in usb_submit_urb_linux()
151 #define USB_SUBMIT_URB(urb) usb_submit_urb_linux(urb) argument
156 #define USB_UNLINK_URB(urb) (usb_kill_urb(urb)) argument
157 #define USB_FREE_URB(urb) (usb_free_urb(urb)) argument
199 #define CALLBACK_ARGS struct urb *urb, struct pt_regs *regs
200 #define CALLBACK_ARGS_DATA urb, regs
[all …]
Ddhd_wlfc.h392 void *urb; member
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddbus_usb_linux.c138 static inline int usb_submit_urb_linux(struct urb *urb) in usb_submit_urb_linux() argument
142 if (urb && (urb->transfer_buffer_length > BCM_MAX_URB_LEN)) { in usb_submit_urb_linux()
143 DBUSERR(("URB transfer length=%d exceeded %d ra=%p\n", urb->transfer_buffer_length, in usb_submit_urb_linux()
150 return usb_submit_urb(urb, GFP_ATOMIC); in usb_submit_urb_linux()
152 return usb_submit_urb(urb); in usb_submit_urb_linux()
157 #define USB_SUBMIT_URB(urb) usb_submit_urb_linux(urb) argument
162 #define USB_UNLINK_URB(urb) (usb_kill_urb(urb)) argument
163 #define USB_FREE_URB(urb) (usb_free_urb(urb)) argument
205 #define CALLBACK_ARGS struct urb *urb, struct pt_regs *regs
206 #define CALLBACK_ARGS_DATA urb, regs
[all …]
Ddhd_wlfc.h628 void *urb; member
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddbus_usb_linux.c137 static inline int usb_submit_urb_linux(struct urb *urb) in usb_submit_urb_linux() argument
140 if (urb && (urb->transfer_buffer_length > BCM_MAX_URB_LEN)) { in usb_submit_urb_linux()
142 urb->transfer_buffer_length, BCM_MAX_URB_LEN, in usb_submit_urb_linux()
149 return usb_submit_urb(urb, GFP_ATOMIC); in usb_submit_urb_linux()
151 return usb_submit_urb(urb); in usb_submit_urb_linux()
155 #define USB_SUBMIT_URB(urb) usb_submit_urb_linux(urb) argument
160 #define USB_UNLINK_URB(urb) (usb_kill_urb(urb)) argument
161 #define USB_FREE_URB(urb) (usb_free_urb(urb)) argument
218 #define CALLBACK_ARGS struct urb *urb, struct pt_regs *regs
219 #define CALLBACK_ARGS_DATA urb, regs
[all …]
Ddhd_wlfc.h424 void *urb; member
/device/soc/rockchip/common/vendor/drivers/net/usb/
Dmeig_cdc_driver.c594 struct urb *interrupt;
634 struct urb *urb; member
647 static void hw_cdc_status(struct hw_cdc_net *dev, struct urb *urb);
741 static void intr_complete(struct urb *urb);
825 struct urb *urb; in unlink_urbs() local
829 urb = entry->urb; in unlink_urbs()
834 retval = usb_unlink_urb(urb); in unlink_urbs()
935 entry->urb = NULL; in submit_skb()
1136 static void rx_complete(struct urb *urb);
1137 static void rx_submit(struct hw_cdc_net *dev, struct urb *urb, gfp_t flags) in rx_submit() argument
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dosdep_service_bsd.h524 int rtw_usb_submit_urb(struct urb *urb, uint16_t mem_flags);
525 int rtw_usb_unlink_urb(struct urb *urb);
534 struct urb *rtw_usb_alloc_urb(uint16_t iso_packets, uint16_t mem_flags);
542 void rtw_usb_free_urb(struct urb *urb);
543 void rtw_usb_init_urb(struct urb *urb);
544 void rtw_usb_kill_urb(struct urb *urb);
546 void rtw_usb_fill_bulk_urb(struct urb *urb, struct usb_device *udev,
556 typedef struct urb * PURB;
Dusb_ops_linux.h39 #define _usbctrl_vendorreq_async_callback(urb, regs) _usbctrl_vendorreq_async_callback(urb) argument
95 void usb_read_interrupt_complete(struct urb *purb, struct pt_regs *regs);
Dosdep_service_linux.h132 typedef struct urb *PURB;
/device/soc/rockchip/common/sdk_linux/include/linux/usb/
Dusbnet.h62 struct urb *interrupt;
144 void (*status)(struct usbnet *, struct urb *);
211 extern void usbnet_cdc_status(struct usbnet *, struct urb *);
222 struct urb *urb; member
/device/board/kaihong/khdvk_3566b/kernel/modem/
Doption.c48 static void option_instat_callback(struct urb *urb);
2487 static void option_instat_callback(struct urb *urb) in option_instat_callback() argument
2490 int status = urb->status; in option_instat_callback()
2491 struct usb_serial_port *port = urb->context; in option_instat_callback()
2495 dev_dbg(dev, "%s: urb %p port %p has data %p\n", __func__, urb, port, in option_instat_callback()
2499 struct usb_ctrlrequest *req_pkt = urb->transfer_buffer; in option_instat_callback()
2507 unsigned char signals = *((unsigned char *)urb->transfer_buffer + in option_instat_callback()
2534 err = usb_submit_urb(urb, GFP_ATOMIC); in option_instat_callback()
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/
Dkernel.patch60298 static void acm_process_read_urb(struct acm *acm, struct urb *urb)
60302 if (!urb->actual_length)
60306 tty_insert_flip_string(&acm->port, urb->transfer_buffer,
60307 urb->actual_length);
60554 struct urb *urb;
60561 if (urb) {
60564 - if (urb->transfer_buffer_length >= length) {
60568 - length = urb->transfer_buffer_length;
60570 urb->actual_length = length;
60571 memcpy(urb->transfer_buffer, buffer, length);
[all …]