/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | urb.c | 17 #define to_urb(d) container_of(d, struct urb, kref) 22 struct urb *urb = to_urb(kref); in urb_destroy() local 24 if (urb->transfer_flags & URB_FREE_BUFFER) in urb_destroy() 25 kfree(urb->transfer_buffer); in urb_destroy() 27 kfree(urb); in urb_destroy() 31 * usb_init_urb - initializes a urb so that it can be used by a USB driver 32 * @urb: pointer to the urb to initialize 34 * Initializes a urb s 44 usb_init_urb(struct urb *urb) usb_init_urb() argument 73 struct urb *urb; usb_alloc_urb() local 94 usb_free_urb(struct urb *urb) usb_free_urb() argument 111 usb_get_urb(struct urb *urb) usb_get_urb() argument 127 usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor) usb_anchor_urb() argument 150 __usb_unanchor_urb(struct urb *urb, struct usb_anchor *anchor) __usb_unanchor_urb() argument 165 usb_unanchor_urb(struct urb *urb) usb_unanchor_urb() argument 225 usb_urb_ep_type_check(const struct urb *urb) usb_urb_ep_type_check() argument 368 usb_submit_urb(struct urb *urb, gfp_t mem_flags) usb_submit_urb() argument 660 usb_unlink_urb(struct urb *urb) usb_unlink_urb() argument 699 usb_kill_urb(struct urb *urb) usb_kill_urb() argument 746 usb_poison_urb(struct urb *urb) usb_poison_urb() argument 767 usb_unpoison_urb(struct urb *urb) usb_unpoison_urb() argument 788 usb_block_urb(struct urb *urb) usb_block_urb() argument [all...] |
H A D | hcd.c | 457 static int rh_call_control (struct usb_hcd *hcd, struct urb *urb) in rh_call_control() argument 461 u8 *ubuf = urb->transfer_buffer; in rh_call_control() 473 status = usb_hcd_link_urb_to_ep(hcd, urb); in rh_call_control() 477 urb->hcpriv = hcd; /* Indicate it's queued */ in rh_call_control() 479 cmd = (struct usb_ctrlrequest *) urb->setup_packet; in rh_call_control() 485 if (wLength > urb->transfer_buffer_length) in rh_call_control() 502 urb->actual_length = 0; in rh_call_control() 597 urb->actual_length = rh_string(wValue & 0xff, in rh_call_control() 615 /* wValue == urb in rh_call_control() 729 struct urb *urb; usb_hcd_poll_rh_status() local 787 rh_queue_status(struct usb_hcd *hcd, struct urb *urb) rh_queue_status() argument 818 rh_urb_enqueue(struct usb_hcd *hcd, struct urb *urb) rh_urb_enqueue() argument 832 usb_rh_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) usb_rh_urb_dequeue() argument 1132 usb_hcd_link_urb_to_ep(struct usb_hcd *hcd, struct urb *urb) usb_hcd_link_urb_to_ep() argument 1190 usb_hcd_check_unlink_urb(struct usb_hcd *hcd, struct urb *urb, int status) usb_hcd_check_unlink_urb() argument 1223 usb_hcd_unlink_urb_from_ep(struct usb_hcd *hcd, struct urb *urb) usb_hcd_unlink_urb_from_ep() argument 1311 usb_hcd_unmap_urb_setup_for_dma(struct usb_hcd *hcd, struct urb *urb) usb_hcd_unmap_urb_setup_for_dma() argument 1331 unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) unmap_urb_for_dma() argument 1339 usb_hcd_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) usb_hcd_unmap_urb_for_dma() argument 1377 map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) map_urb_for_dma() argument 1386 usb_hcd_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) usb_hcd_map_urb_for_dma() argument 1508 usb_hcd_submit_urb(struct urb *urb, gfp_t mem_flags) usb_hcd_submit_urb() argument 1568 unlink1(struct usb_hcd *hcd, struct urb *urb, int status) unlink1() argument 1590 usb_hcd_unlink_urb(struct urb *urb, int status) usb_hcd_unlink_urb() argument 1623 __usb_hcd_giveback_urb(struct urb *urb) __usb_hcd_giveback_urb() argument 1678 struct urb *urb; usb_giveback_urb_bh() local 1723 usb_hcd_giveback_urb(struct usb_hcd *hcd, struct urb *urb, int status) usb_hcd_giveback_urb() argument 1766 struct urb *urb; usb_hcd_flush_endpoint() local 2120 usb_ehset_completion(struct urb *urb) usb_ehset_completion() argument 2138 struct urb *urb; request_single_step_set_feature_urb() local 2173 struct urb *urb; ehset_single_step_set_feature() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/core/ |
H A D | urb.c | 16 #define to_urb(d) container_of(d, struct urb, kref) 21 struct urb *urb = to_urb(kref); in urb_destroy() local 23 if (urb->transfer_flags & URB_FREE_BUFFER) in urb_destroy() 24 kfree(urb->transfer_buffer); in urb_destroy() 26 kfree(urb); in urb_destroy() 30 * usb_init_urb - initializes a urb so that it can be used by a USB driver 31 * @urb: pointer to the urb to initialize 33 * Initializes a urb s 43 usb_init_urb(struct urb *urb) usb_init_urb() argument 72 struct urb *urb; usb_alloc_urb() local 93 usb_free_urb(struct urb *urb) usb_free_urb() argument 110 usb_get_urb(struct urb *urb) usb_get_urb() argument 126 usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor) usb_anchor_urb() argument 149 __usb_unanchor_urb(struct urb *urb, struct usb_anchor *anchor) __usb_unanchor_urb() argument 164 usb_unanchor_urb(struct urb *urb) usb_unanchor_urb() argument 224 usb_urb_ep_type_check(const struct urb *urb) usb_urb_ep_type_check() argument 367 usb_submit_urb(struct urb *urb, gfp_t mem_flags) usb_submit_urb() argument 664 usb_unlink_urb(struct urb *urb) usb_unlink_urb() argument 703 usb_kill_urb(struct urb *urb) usb_kill_urb() argument 750 usb_poison_urb(struct urb *urb) usb_poison_urb() argument 771 usb_unpoison_urb(struct urb *urb) usb_unpoison_urb() argument 792 usb_block_urb(struct urb *urb) usb_block_urb() argument [all...] |
H A D | hcd.c | 478 static int rh_call_control (struct usb_hcd *hcd, struct urb *urb) in rh_call_control() argument 482 u8 *ubuf = urb->transfer_buffer; in rh_call_control() 494 status = usb_hcd_link_urb_to_ep(hcd, urb); in rh_call_control() 498 urb->hcpriv = hcd; /* Indicate it's queued */ in rh_call_control() 500 cmd = (struct usb_ctrlrequest *) urb->setup_packet; in rh_call_control() 506 if (wLength > urb->transfer_buffer_length) in rh_call_control() 523 urb->actual_length = 0; in rh_call_control() 622 urb->actual_length = rh_string(wValue & 0xff, in rh_call_control() 640 /* wValue == urb in rh_call_control() 755 struct urb *urb; usb_hcd_poll_rh_status() local 813 rh_queue_status(struct usb_hcd *hcd, struct urb *urb) rh_queue_status() argument 844 rh_urb_enqueue(struct usb_hcd *hcd, struct urb *urb) rh_urb_enqueue() argument 858 usb_rh_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) usb_rh_urb_dequeue() argument 1156 usb_hcd_link_urb_to_ep(struct usb_hcd *hcd, struct urb *urb) usb_hcd_link_urb_to_ep() argument 1214 usb_hcd_check_unlink_urb(struct usb_hcd *hcd, struct urb *urb, int status) usb_hcd_check_unlink_urb() argument 1247 usb_hcd_unlink_urb_from_ep(struct usb_hcd *hcd, struct urb *urb) usb_hcd_unlink_urb_from_ep() argument 1334 usb_hcd_unmap_urb_setup_for_dma(struct usb_hcd *hcd, struct urb *urb) usb_hcd_unmap_urb_setup_for_dma() argument 1354 unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) unmap_urb_for_dma() argument 1362 usb_hcd_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) usb_hcd_unmap_urb_for_dma() argument 1400 map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) map_urb_for_dma() argument 1409 usb_hcd_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) usb_hcd_map_urb_for_dma() argument 1531 usb_hcd_submit_urb(struct urb *urb, gfp_t mem_flags) usb_hcd_submit_urb() argument 1591 unlink1(struct usb_hcd *hcd, struct urb *urb, int status) unlink1() argument 1613 usb_hcd_unlink_urb(struct urb *urb, int status) usb_hcd_unlink_urb() argument 1646 __usb_hcd_giveback_urb(struct urb *urb) __usb_hcd_giveback_urb() argument 1703 struct urb *urb; usb_giveback_urb_bh() local 1744 usb_hcd_giveback_urb(struct usb_hcd *hcd, struct urb *urb, int status) usb_hcd_giveback_urb() argument 1787 struct urb *urb; usb_hcd_flush_endpoint() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/c67x00/ |
H A D | c67x00-sched.c | 17 * These are the stages for a control urb, they are kept 18 * in both urb->interval and td->privdata. 62 struct urb *urb; member 66 * an urb can be dequeued while a td is in progress 75 struct urb *urb; member 141 dev_dbg(dev, "urb: 0x%p\n", td->urb); in dbg_td() 194 * c67x00_release_urb - remove link from all tds to this urb 198 c67x00_release_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_release_urb() argument 231 c67x00_ep_data_alloc(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_ep_data_alloc() argument 342 c67x00_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) c67x00_urb_enqueue() argument 441 c67x00_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) c67x00_urb_dequeue() argument 474 c67x00_giveback_urb(struct c67x00_hcd *c67x00, struct urb *urb, int status) c67x00_giveback_urb() argument 487 usb_hcd_unlink_urb_from_ep(c67x00_hcd_to_hcd(c67x00), urb); c67x00_giveback_urb() local 489 usb_hcd_giveback_urb(c67x00_hcd_to_hcd(c67x00), urb, status); c67x00_giveback_urb() local 495 c67x00_claim_frame_bw(struct c67x00_hcd *c67x00, struct urb *urb, int len, int periodic) c67x00_claim_frame_bw() argument 563 c67x00_create_td(struct c67x00_hcd *c67x00, struct urb *urb, void *data, int len, int pid, int toggle, unsigned long privdata) c67x00_create_td() argument 645 c67x00_add_data_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_data_urb() argument 691 c67x00_add_ctrl_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_ctrl_urb() argument 730 c67x00_add_int_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_int_urb() argument 742 c67x00_add_iso_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_iso_urb() argument 781 struct urb *urb; c67x00_fill_from_list() local 861 struct urb *urb = td->urb; c67x00_end_of_data() local 910 struct urb *urb = td->urb; c67x00_handle_successful_td() local 955 struct urb *urb = td->urb; c67x00_handle_isoc() local 981 struct urb *urb; c67x00_check_td_list() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/c67x00/ |
H A D | c67x00-sched.c | 17 * These are the stages for a control urb, they are kept 18 * in both urb->interval and td->privdata. 62 struct urb *urb; member 66 * an urb can be dequeued while a td is in progress 75 struct urb *urb; member 141 dev_dbg(dev, "urb: 0x%p\n", td->urb); in dbg_td() 194 * c67x00_release_urb - remove link from all tds to this urb 198 c67x00_release_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_release_urb() argument 231 c67x00_ep_data_alloc(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_ep_data_alloc() argument 342 c67x00_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) c67x00_urb_enqueue() argument 441 c67x00_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) c67x00_urb_dequeue() argument 474 c67x00_giveback_urb(struct c67x00_hcd *c67x00, struct urb *urb, int status) c67x00_giveback_urb() argument 487 usb_hcd_unlink_urb_from_ep(c67x00_hcd_to_hcd(c67x00), urb); c67x00_giveback_urb() local 489 usb_hcd_giveback_urb(c67x00_hcd_to_hcd(c67x00), urb, status); c67x00_giveback_urb() local 495 c67x00_claim_frame_bw(struct c67x00_hcd *c67x00, struct urb *urb, int len, int periodic) c67x00_claim_frame_bw() argument 563 c67x00_create_td(struct c67x00_hcd *c67x00, struct urb *urb, void *data, int len, int pid, int toggle, unsigned long privdata) c67x00_create_td() argument 645 c67x00_add_data_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_data_urb() argument 691 c67x00_add_ctrl_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_ctrl_urb() argument 730 c67x00_add_int_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_int_urb() argument 742 c67x00_add_iso_urb(struct c67x00_hcd *c67x00, struct urb *urb) c67x00_add_iso_urb() argument 781 struct urb *urb; c67x00_fill_from_list() local 861 struct urb *urb = td->urb; c67x00_end_of_data() local 910 struct urb *urb = td->urb; c67x00_handle_successful_td() local 955 struct urb *urb = td->urb; c67x00_handle_isoc() local 981 struct urb *urb; c67x00_check_td_list() local [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
H A D | benq.c | 30 static void sd_isoc_irq(struct urb *urb); 74 struct urb *urb; in sd_start() local 84 urb = usb_alloc_urb(SD_NPKT, GFP_KERNEL); in sd_start() 85 if (!urb) in sd_start() 87 gspca_dev->urb[n] = urb; in sd_start() 88 urb->transfer_buffer = usb_alloc_coherent(gspca_dev->dev, in sd_start() 91 &urb in sd_start() 139 sd_isoc_irq(struct urb *urb) sd_isoc_irq() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
H A D | benq.c | 30 static void sd_isoc_irq(struct urb *urb); 74 struct urb *urb; in sd_start() local 84 urb = usb_alloc_urb(SD_NPKT, GFP_KERNEL); in sd_start() 85 if (!urb) in sd_start() 87 gspca_dev->urb[n] = urb; in sd_start() 88 urb->transfer_buffer = usb_alloc_coherent(gspca_dev->dev, in sd_start() 91 &urb in sd_start() 139 sd_isoc_irq(struct urb *urb) sd_isoc_irq() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/musb/ |
H A D | musb_host.c | 80 struct urb *urb, int is_out, 103 * To reproduce the issue, ensure tx urb(s) are queued when in musb_h_tx_flush_fifo() 200 struct urb *urb = next_urb(qh); in musb_start_urb() local 201 void *buf = urb->transfer_buffer; in musb_start_urb() 216 buf = urb->setup_packet; in musb_start_urb() 222 offset = urb->iso_frame_desc[0].offset; in musb_start_urb() 223 len = urb->iso_frame_desc[0].length; in musb_start_urb() 227 buf = urb in musb_start_urb() 296 musb_advance_schedule(struct musb *musb, struct urb *urb, struct musb_hw_ep *hw_ep, int is_in) musb_advance_schedule() argument 413 musb_host_packet_rx(struct musb *musb, struct urb *urb, u8 epnum, u8 iso_err) musb_host_packet_rx() argument 572 musb_tx_dma_set_mode_mentor(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, u32 offset, u32 *length, u8 *mode) musb_tx_dma_set_mode_mentor() argument 611 musb_tx_dma_set_mode_cppi_tusb(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, u32 offset, u32 *length, u8 *mode) musb_tx_dma_set_mode_cppi_tusb() argument 630 musb_tx_dma_program(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, u32 offset, u32 length) musb_tx_dma_program() argument 675 musb_ep_program(struct musb *musb, u8 epnum, struct urb *urb, int is_out, u8 *buf, u32 offset, u32 len) musb_ep_program() argument 909 struct urb *urb; musb_bulk_nak_timeout() local 984 musb_h_ep0_continue(struct musb *musb, u16 len, struct urb *urb) musb_h_ep0_continue() argument 1062 struct urb *urb; musb_h_ep0_irq() local 1211 struct urb *urb = next_urb(qh); musb_host_tx() local 1470 musb_rx_dma_iso_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_iso_cppi41() argument 1495 musb_rx_dma_iso_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_iso_cppi41() argument 1541 musb_rx_dma_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_inventra_cppi41() argument 1611 musb_rx_dma_in_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len, u8 iso_err) musb_rx_dma_in_inventra_cppi41() argument 1711 musb_rx_dma_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_inventra_cppi41() argument 1720 musb_rx_dma_in_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len, u8 iso_err) musb_rx_dma_in_inventra_cppi41() argument 1737 struct urb *urb; musb_host_rx() local 2011 struct urb *urb = next_urb(qh); musb_schedule() local 2119 musb_urb_enqueue( struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) musb_urb_enqueue() argument 2314 musb_cleanup_urb(struct urb *urb, struct musb_qh *qh) musb_cleanup_urb() argument 2369 musb_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) musb_urb_dequeue() argument 2433 struct urb *urb; musb_h_disable() local 2562 musb_free_temp_buffer(struct urb *urb) musb_free_temp_buffer() argument 2590 musb_alloc_temp_buffer(struct urb *urb, gfp_t mem_flags) musb_alloc_temp_buffer() argument 2628 musb_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) musb_map_urb_for_dma() argument 2654 musb_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) musb_unmap_urb_for_dma() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/musb/ |
H A D | musb_host.c | 80 struct urb *urb, int is_out, 103 * To reproduce the issue, ensure tx urb(s) are queued when in musb_h_tx_flush_fifo() 200 struct urb *urb = next_urb(qh); in musb_start_urb() local 201 void *buf = urb->transfer_buffer; in musb_start_urb() 216 buf = urb->setup_packet; in musb_start_urb() 222 offset = urb->iso_frame_desc[0].offset; in musb_start_urb() 223 len = urb->iso_frame_desc[0].length; in musb_start_urb() 227 buf = urb in musb_start_urb() 296 musb_advance_schedule(struct musb *musb, struct urb *urb, struct musb_hw_ep *hw_ep, int is_in) musb_advance_schedule() argument 413 musb_host_packet_rx(struct musb *musb, struct urb *urb, u8 epnum, u8 iso_err) musb_host_packet_rx() argument 610 musb_tx_dma_set_mode_cppi_tusb(struct musb_hw_ep *hw_ep, struct urb *urb, u8 *mode) musb_tx_dma_set_mode_cppi_tusb() argument 625 musb_tx_dma_program(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, u32 offset, u32 length) musb_tx_dma_program() argument 669 musb_ep_program(struct musb *musb, u8 epnum, struct urb *urb, int is_out, u8 *buf, u32 offset, u32 len) musb_ep_program() argument 903 struct urb *urb; musb_bulk_nak_timeout() local 978 musb_h_ep0_continue(struct musb *musb, u16 len, struct urb *urb) musb_h_ep0_continue() argument 1056 struct urb *urb; musb_h_ep0_irq() local 1205 struct urb *urb = next_urb(qh); musb_host_tx() local 1464 musb_rx_dma_iso_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_iso_cppi41() argument 1489 musb_rx_dma_iso_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_iso_cppi41() argument 1535 musb_rx_dma_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_inventra_cppi41() argument 1605 musb_rx_dma_in_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len, u8 iso_err) musb_rx_dma_in_inventra_cppi41() argument 1705 musb_rx_dma_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len) musb_rx_dma_inventra_cppi41() argument 1714 musb_rx_dma_in_inventra_cppi41(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, size_t len, u8 iso_err) musb_rx_dma_in_inventra_cppi41() argument 1731 struct urb *urb; musb_host_rx() local 2005 struct urb *urb = next_urb(qh); musb_schedule() local 2113 musb_urb_enqueue( struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) musb_urb_enqueue() argument 2308 musb_cleanup_urb(struct urb *urb, struct musb_qh *qh) musb_cleanup_urb() argument 2363 musb_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) musb_urb_dequeue() argument 2427 struct urb *urb; musb_h_disable() local 2556 musb_free_temp_buffer(struct urb *urb) musb_free_temp_buffer() argument 2584 musb_alloc_temp_buffer(struct urb *urb, gfp_t mem_flags) musb_alloc_temp_buffer() argument 2622 musb_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) musb_map_urb_for_dma() argument 2648 musb_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) musb_unmap_urb_for_dma() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
H A D | usb.c | 135 struct urb *urb; in carl9170_usb_submit_data_urb() local 141 urb = usb_get_from_anchor(&ar->tx_wait); in carl9170_usb_submit_data_urb() 142 if (!urb) in carl9170_usb_submit_data_urb() 145 usb_anchor_urb(urb, &ar->tx_anch); in carl9170_usb_submit_data_urb() 147 err = usb_submit_urb(urb, GFP_ATOMIC); in carl9170_usb_submit_data_urb() 151 urb->status); in carl9170_usb_submit_data_urb() 154 usb_unanchor_urb(urb); in carl9170_usb_submit_data_urb() 155 usb_anchor_urb(urb, &ar->tx_err); in carl9170_usb_submit_data_urb() 158 usb_free_urb(urb); in carl9170_usb_submit_data_urb() 167 carl9170_usb_tx_data_complete(struct urb *urb) carl9170_usb_tx_data_complete() argument 214 struct urb *urb; carl9170_usb_submit_cmd_urb() local 239 carl9170_usb_cmd_complete(struct urb *urb) carl9170_usb_cmd_complete() argument 277 carl9170_usb_rx_irq_complete(struct urb *urb) carl9170_usb_rx_irq_complete() argument 318 struct urb *urb; carl9170_usb_submit_rx_urb() local 344 struct urb *urb; carl9170_usb_rx_work() local 369 struct urb *urb; carl9170_usb_handle_tx_err() local 398 carl9170_usb_rx_complete(struct urb *urb) carl9170_usb_rx_complete() argument 461 struct urb *urb; carl9170_usb_alloc_rx_urb() local 485 struct urb *urb = NULL; carl9170_usb_send_rx_irq_urb() local 515 struct urb *urb; carl9170_usb_init_rx_bulk_urbs() local 558 struct urb *urb; carl9170_usb_flush() local 607 struct urb *urb; __carl9170_exec_cmd() local 717 struct urb *urb; carl9170_usb_tx() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/ |
H A D | usb.c | 135 struct urb *urb; in carl9170_usb_submit_data_urb() local 141 urb = usb_get_from_anchor(&ar->tx_wait); in carl9170_usb_submit_data_urb() 142 if (!urb) in carl9170_usb_submit_data_urb() 145 usb_anchor_urb(urb, &ar->tx_anch); in carl9170_usb_submit_data_urb() 147 err = usb_submit_urb(urb, GFP_ATOMIC); in carl9170_usb_submit_data_urb() 151 urb->status); in carl9170_usb_submit_data_urb() 154 usb_unanchor_urb(urb); in carl9170_usb_submit_data_urb() 155 usb_anchor_urb(urb, &ar->tx_err); in carl9170_usb_submit_data_urb() 158 usb_free_urb(urb); in carl9170_usb_submit_data_urb() 167 carl9170_usb_tx_data_complete(struct urb *urb) carl9170_usb_tx_data_complete() argument 214 struct urb *urb; carl9170_usb_submit_cmd_urb() local 239 carl9170_usb_cmd_complete(struct urb *urb) carl9170_usb_cmd_complete() argument 277 carl9170_usb_rx_irq_complete(struct urb *urb) carl9170_usb_rx_irq_complete() argument 318 struct urb *urb; carl9170_usb_submit_rx_urb() local 344 struct urb *urb; carl9170_usb_rx_work() local 369 struct urb *urb; carl9170_usb_handle_tx_err() local 398 carl9170_usb_rx_complete(struct urb *urb) carl9170_usb_rx_complete() argument 461 struct urb *urb; carl9170_usb_alloc_rx_urb() local 485 struct urb *urb = NULL; carl9170_usb_send_rx_irq_urb() local 515 struct urb *urb; carl9170_usb_init_rx_bulk_urbs() local 558 struct urb *urb; carl9170_usb_flush() local 607 struct urb *urb; __carl9170_exec_cmd() local 717 struct urb *urb; carl9170_usb_tx() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/usbip/ |
H A D | usbip_common.c | 220 void usbip_dump_urb(struct urb *urb) in usbip_dump_urb() argument 224 if (!urb) { in usbip_dump_urb() 225 pr_debug("urb: null pointer!!\n"); in usbip_dump_urb() 229 if (!urb->dev) { in usbip_dump_urb() 230 pr_debug("urb->dev: null pointer!!\n"); in usbip_dump_urb() 234 dev = &urb->dev->dev; in usbip_dump_urb() 236 usbip_dump_usb_device(urb->dev); in usbip_dump_urb() 238 dev_dbg(dev, " pipe :%08x ", urb->pipe); in usbip_dump_urb() 240 usbip_dump_pipe(urb in usbip_dump_urb() 352 usbip_pack_cmd_submit(struct usbip_header *pdu, struct urb *urb, int pack) usbip_pack_cmd_submit() argument 377 usbip_pack_ret_submit(struct usbip_header *pdu, struct urb *urb, int pack) usbip_pack_ret_submit() argument 397 usbip_pack_pdu(struct usbip_header *pdu, struct urb *urb, int cmd, int pack) usbip_pack_pdu() argument 556 usbip_alloc_iso_desc_pdu(struct urb *urb, ssize_t *bufflen) usbip_alloc_iso_desc_pdu() argument 579 usbip_recv_iso(struct usbip_device *ud, struct urb *urb) usbip_recv_iso() argument 647 usbip_pad_iso(struct usbip_device *ud, struct urb *urb) usbip_pad_iso() argument 681 usbip_recv_xbuff(struct usbip_device *ud, struct urb *urb) usbip_recv_xbuff() argument [all...] |
H A D | vhci_rx.c | 12 /* get URB from transmitted urb queue. caller must hold vdev->priv_lock */ 13 struct urb *pickup_urb_and_free_priv(struct vhci_device *vdev, __u32 seqnum) in pickup_urb_and_free_priv() 16 struct urb *urb = NULL; in pickup_urb_and_free_priv() local 23 urb = priv->urb; in pickup_urb_and_free_priv() 24 status = urb->status; in pickup_urb_and_free_priv() 26 usbip_dbg_vhci_rx("find urb seqnum %u\n", seqnum); in pickup_urb_and_free_priv() 32 dev_dbg(&urb->dev->dev, in pickup_urb_and_free_priv() 33 "urb se in pickup_urb_and_free_priv() 61 struct urb *urb; vhci_recv_ret_submit() local 104 usb_hcd_unlink_urb_from_ep(vhci_hcd_to_hcd(vhci_hcd), urb); vhci_recv_ret_submit() local 107 usb_hcd_giveback_urb(vhci_hcd_to_hcd(vhci_hcd), urb, urb->status); vhci_recv_ret_submit() local 143 struct urb *urb; vhci_recv_ret_unlink() local 175 usb_hcd_unlink_urb_from_ep(vhci_hcd_to_hcd(vhci_hcd), urb); vhci_recv_ret_unlink() local 178 usb_hcd_giveback_urb(vhci_hcd_to_hcd(vhci_hcd), urb, urb->status); vhci_recv_ret_unlink() local [all...] |
H A D | stub_rx.c | 15 static int is_clear_halt_cmd(struct urb *urb) in is_clear_halt_cmd() argument 19 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_clear_halt_cmd() 26 static int is_set_interface_cmd(struct urb *urb) in is_set_interface_cmd() argument 30 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_set_interface_cmd() 36 static int is_set_configuration_cmd(struct urb *urb) in is_set_configuration_cmd() argument 40 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_set_configuration_cmd() 46 static int is_reset_device_cmd(struct urb *ur argument 65 tweak_clear_halt_cmd(struct urb *urb) tweak_clear_halt_cmd() argument 103 tweak_set_interface_cmd(struct urb *urb) tweak_set_interface_cmd() argument 130 tweak_set_configuration_cmd(struct urb *urb) tweak_set_configuration_cmd() argument 150 tweak_reset_device_cmd(struct urb *urb) tweak_reset_device_cmd() argument 170 tweak_special_requests(struct urb *urb) tweak_special_requests() argument 390 masking_bogus_flags(struct urb *urb) masking_bogus_flags() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/usbip/ |
H A D | usbip_common.c | 220 void usbip_dump_urb(struct urb *urb) in usbip_dump_urb() argument 224 if (!urb) { in usbip_dump_urb() 225 pr_debug("urb: null pointer!!\n"); in usbip_dump_urb() 229 if (!urb->dev) { in usbip_dump_urb() 230 pr_debug("urb->dev: null pointer!!\n"); in usbip_dump_urb() 234 dev = &urb->dev->dev; in usbip_dump_urb() 236 usbip_dump_usb_device(urb->dev); in usbip_dump_urb() 238 dev_dbg(dev, " pipe :%08x ", urb->pipe); in usbip_dump_urb() 240 usbip_dump_pipe(urb in usbip_dump_urb() 433 usbip_pack_cmd_submit(struct usbip_header *pdu, struct urb *urb, int pack) usbip_pack_cmd_submit() argument 458 usbip_pack_ret_submit(struct usbip_header *pdu, struct urb *urb, int pack) usbip_pack_ret_submit() argument 478 usbip_pack_pdu(struct usbip_header *pdu, struct urb *urb, int cmd, int pack) usbip_pack_pdu() argument 637 usbip_alloc_iso_desc_pdu(struct urb *urb, ssize_t *bufflen) usbip_alloc_iso_desc_pdu() argument 660 usbip_recv_iso(struct usbip_device *ud, struct urb *urb) usbip_recv_iso() argument 728 usbip_pad_iso(struct usbip_device *ud, struct urb *urb) usbip_pad_iso() argument 762 usbip_recv_xbuff(struct usbip_device *ud, struct urb *urb) usbip_recv_xbuff() argument [all...] |
H A D | vhci_rx.c | 12 /* get URB from transmitted urb queue. caller must hold vdev->priv_lock */ 13 struct urb *pickup_urb_and_free_priv(struct vhci_device *vdev, __u32 seqnum) in pickup_urb_and_free_priv() 16 struct urb *urb = NULL; in pickup_urb_and_free_priv() local 23 urb = priv->urb; in pickup_urb_and_free_priv() 24 status = urb->status; in pickup_urb_and_free_priv() 26 usbip_dbg_vhci_rx("find urb seqnum %u\n", seqnum); in pickup_urb_and_free_priv() 32 dev_dbg(&urb->dev->dev, in pickup_urb_and_free_priv() 33 "urb se in pickup_urb_and_free_priv() 61 struct urb *urb; vhci_recv_ret_submit() local 104 usb_hcd_unlink_urb_from_ep(vhci_hcd_to_hcd(vhci_hcd), urb); vhci_recv_ret_submit() local 107 usb_hcd_giveback_urb(vhci_hcd_to_hcd(vhci_hcd), urb, urb->status); vhci_recv_ret_submit() local 143 struct urb *urb; vhci_recv_ret_unlink() local 175 usb_hcd_unlink_urb_from_ep(vhci_hcd_to_hcd(vhci_hcd), urb); vhci_recv_ret_unlink() local 178 usb_hcd_giveback_urb(vhci_hcd_to_hcd(vhci_hcd), urb, urb->status); vhci_recv_ret_unlink() local [all...] |
H A D | stub_rx.c | 15 static int is_clear_halt_cmd(struct urb *urb) in is_clear_halt_cmd() argument 19 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_clear_halt_cmd() 26 static int is_set_interface_cmd(struct urb *urb) in is_set_interface_cmd() argument 30 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_set_interface_cmd() 36 static int is_set_configuration_cmd(struct urb *urb) in is_set_configuration_cmd() argument 40 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_set_configuration_cmd() 46 static int is_reset_device_cmd(struct urb *ur argument 65 tweak_clear_halt_cmd(struct urb *urb) tweak_clear_halt_cmd() argument 103 tweak_set_interface_cmd(struct urb *urb) tweak_set_interface_cmd() argument 130 tweak_set_configuration_cmd(struct urb *urb) tweak_set_configuration_cmd() argument 150 tweak_reset_device_cmd(struct urb *urb) tweak_reset_device_cmd() argument 170 tweak_special_requests(struct urb *urb) tweak_special_requests() argument 390 masking_bogus_flags(struct urb *urb) masking_bogus_flags() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ehci-q.c | 110 * recovery (including urb dequeue) would need software changes to a QH... 156 struct urb *urb, u32 token) in ehci_clear_tt_buffer() 165 if (urb->dev->tt && !usb_pipeint(urb->pipe) && !qh->clearing_tt) { in ehci_clear_tt_buffer() 167 struct usb_device *tt = urb->dev->tt->hub; in ehci_clear_tt_buffer() 170 urb->dev->ttport, urb->dev->devnum, in ehci_clear_tt_buffer() 171 usb_pipeendpoint(urb->pipe), token); in ehci_clear_tt_buffer() 174 || urb in ehci_clear_tt_buffer() 155 ehci_clear_tt_buffer(struct ehci_hcd *ehci, struct ehci_qh *qh, struct urb *urb, u32 token) ehci_clear_tt_buffer() argument 187 qtd_copy_status( struct ehci_hcd *ehci, struct urb *urb, size_t length, u32 token ) qtd_copy_status() argument 251 ehci_urb_done(struct ehci_hcd *ehci, struct urb *urb, int status) ehci_urb_done() argument 277 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); ehci_urb_done() local 278 usb_hcd_giveback_urb(ehci_to_hcd(ehci), urb, status); ehci_urb_done() local 324 struct urb *urb; qh_completions() local 555 qtd_list_free( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list ) qtd_list_free() argument 575 qh_urb_transaction( struct ehci_hcd *ehci, struct urb *urb, struct list_head *head, gfp_t flags ) qh_urb_transaction() argument 760 qh_make( struct ehci_hcd *ehci, struct urb *urb, gfp_t flags ) qh_make() argument 1020 qh_append_tds( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, int epnum, void **ptr ) qh_append_tds() argument 1102 submit_async( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags ) submit_async() argument 1139 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); submit_async() local 1168 submit_single_step_set_feature( struct usb_hcd *hcd, struct urb *urb, int is_setup ) submit_single_step_set_feature() argument [all...] |
H A D | u132-hcd.c | 136 struct urb *urb; member 165 struct urb *urb_list[ENDP_QUEUE_SIZE]; 505 struct urb *urb, int status) in u132_hcd_giveback_urb() 510 urb->error_count = 0; in u132_hcd_giveback_urb() 512 usb_hcd_unlink_urb_from_ep(hcd, urb); in u132_hcd_giveback_urb() 523 urbq->urb; in u132_hcd_giveback_urb() 535 usb_hcd_giveback_urb(hcd, urb, status); in u132_hcd_giveback_urb() 539 struct urb *ur in u132_hcd_forget_urb() 504 u132_hcd_giveback_urb(struct u132 *u132, struct u132_endp *endp, struct urb *urb, int status) u132_hcd_giveback_urb() argument 538 u132_hcd_forget_urb(struct u132 *u132, struct u132_endp *endp, struct urb *urb, int status) u132_hcd_forget_urb() argument 544 u132_hcd_abandon_urb(struct u132 *u132, struct u132_endp *endp, struct urb *urb, int status) u132_hcd_abandon_urb() argument 570 edset_input(struct u132 *u132, struct u132_ring *ring, struct u132_endp *endp, struct urb *urb, u8 address, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) edset_input() argument 580 edset_setup(struct u132 *u132, struct u132_ring *ring, struct u132_endp *endp, struct urb *urb, u8 address, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) edset_setup() argument 590 edset_single(struct u132 *u132, struct u132_ring *ring, struct u132_endp *endp, struct urb *urb, u8 address, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) edset_single() argument 600 edset_output(struct u132 *u132, struct u132_ring *ring, struct u132_endp *endp, struct urb *urb, u8 address, u8 toggle_bits, void (*callback) (void *endp, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null)) edset_output() argument 615 u132_hcd_interrupt_recv(void *data, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null) u132_hcd_interrupt_recv() argument 715 u132_hcd_bulk_output_sent(void *data, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null) u132_hcd_bulk_output_sent() argument 766 u132_hcd_bulk_input_recv(void *data, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null) u132_hcd_bulk_input_recv() argument 869 u132_hcd_configure_empty_sent(void *data, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null) u132_hcd_configure_empty_sent() argument 906 u132_hcd_configure_input_recv(void *data, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null) u132_hcd_configure_input_recv() argument 978 u132_hcd_configure_empty_recv(void *data, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null) u132_hcd_configure_empty_recv() argument 1015 u132_hcd_configure_setup_sent(void *data, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null) u132_hcd_configure_setup_sent() argument 1073 u132_hcd_enumeration_empty_recv(void *data, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null) u132_hcd_enumeration_empty_recv() argument 1114 u132_hcd_enumeration_address_sent(void *data, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null) u132_hcd_enumeration_address_sent() argument 1157 u132_hcd_initial_empty_sent(void *data, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null) u132_hcd_initial_empty_sent() argument 1194 u132_hcd_initial_input_recv(void *data, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null) u132_hcd_initial_input_recv() argument 1246 u132_hcd_initial_setup_sent(void *data, struct urb *urb, u8 *buf, int len, int toggle_bits, int error_count, int condition_code, int repeat_number, int halted, int skipped, int actual, int non_null) u132_hcd_initial_setup_sent() argument 1388 struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & u132_hcd_endp_work_scheduler() local 1408 struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & u132_hcd_endp_work_scheduler() local 1421 struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & u132_hcd_endp_work_scheduler() local 1434 struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & u132_hcd_endp_work_scheduler() local 1456 struct urb *urb = endp->urb_list[ u132_hcd_endp_work_scheduler() local 1479 struct urb *urb = endp->urb_list[ u132_hcd_endp_work_scheduler() local 1847 create_endpoint_and_queue_int(struct u132 *u132, struct u132_udev *udev, struct urb *urb, struct usb_device *usb_dev, u8 usb_addr, u8 usb_endp, u8 address, gfp_t mem_flags) create_endpoint_and_queue_int() argument 1921 queue_int_on_old_endpoint(struct u132 *u132, struct u132_udev *udev, struct urb *urb, struct usb_device *usb_dev, struct u132_endp *endp, u8 usb_addr, u8 usb_endp, u8 address) queue_int_on_old_endpoint() argument 1945 create_endpoint_and_queue_bulk(struct u132 *u132, struct u132_udev *udev, struct urb *urb, struct usb_device *usb_dev, u8 usb_addr, u8 usb_endp, u8 address, gfp_t mem_flags) create_endpoint_and_queue_bulk() argument 2020 queue_bulk_on_old_endpoint(struct u132 *u132, struct u132_udev *udev, struct urb *urb, struct usb_device *usb_dev, struct u132_endp *endp, u8 usb_addr, u8 usb_endp, u8 address) queue_bulk_on_old_endpoint() argument 2042 create_endpoint_and_queue_control(struct u132 *u132, struct urb *urb, struct usb_device *usb_dev, u8 usb_addr, u8 usb_endp, gfp_t mem_flags) create_endpoint_and_queue_control() argument 2131 queue_control_on_old_endpoint(struct u132 *u132, struct urb *urb, struct usb_device *usb_dev, struct u132_endp *endp, u8 usb_addr, u8 usb_endp) queue_control_on_old_endpoint() argument 2231 u132_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) u132_urb_enqueue() argument 2382 dequeue_from_overflow_chain(struct u132 *u132, struct u132_endp *endp, struct urb *urb) dequeue_from_overflow_chain() argument 2407 u132_endp_urb_dequeue(struct u132 *u132, struct u132_endp *endp, struct urb *urb, int status) u132_endp_urb_dequeue() argument 2495 usb_hcd_unlink_urb_from_ep(u132_to_hcd(u132), urb); u132_endp_urb_dequeue() local 2504 u132_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status) u132_urb_dequeue() argument [all...] |
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | bpa10x.c | 46 static void bpa10x_tx_complete(struct urb *urb) in bpa10x_tx_complete() argument 48 struct sk_buff *skb = urb->context; in bpa10x_tx_complete() 51 BT_DBG("%s urb %p status %d count %d", hdev->name, in bpa10x_tx_complete() 52 urb, urb->status, urb->actual_length); in bpa10x_tx_complete() 57 if (!urb->status) in bpa10x_tx_complete() 58 hdev->stat.byte_tx += urb->transfer_buffer_length; in bpa10x_tx_complete() 63 kfree(urb in bpa10x_tx_complete() 84 bpa10x_rx_complete(struct urb *urb) bpa10x_rx_complete() argument 123 struct urb *urb; bpa10x_submit_intr_urb() local 163 struct urb *urb; bpa10x_submit_bulk_urb() local 269 struct urb *urb; bpa10x_send_frame() local [all...] |
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | bpa10x.c | 46 static void bpa10x_tx_complete(struct urb *urb) in bpa10x_tx_complete() argument 48 struct sk_buff *skb = urb->context; in bpa10x_tx_complete() 51 BT_DBG("%s urb %p status %d count %d", hdev->name, in bpa10x_tx_complete() 52 urb, urb->status, urb->actual_length); in bpa10x_tx_complete() 57 if (!urb->status) in bpa10x_tx_complete() 58 hdev->stat.byte_tx += urb->transfer_buffer_length; in bpa10x_tx_complete() 63 kfree(urb in bpa10x_tx_complete() 84 bpa10x_rx_complete(struct urb *urb) bpa10x_rx_complete() argument 123 struct urb *urb; bpa10x_submit_intr_urb() local 163 struct urb *urb; bpa10x_submit_bulk_urb() local 269 struct urb *urb; bpa10x_send_frame() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ehci-q.c | 111 * recovery (including urb dequeue) would need software changes to a QH... 157 struct urb *urb, u32 token) in ehci_clear_tt_buffer() 166 if (urb->dev->tt && !usb_pipeint(urb->pipe) && !qh->clearing_tt) { in ehci_clear_tt_buffer() 168 struct usb_device *tt = urb->dev->tt->hub; in ehci_clear_tt_buffer() 171 urb->dev->ttport, urb->dev->devnum, in ehci_clear_tt_buffer() 172 usb_pipeendpoint(urb->pipe), token); in ehci_clear_tt_buffer() 175 || urb in ehci_clear_tt_buffer() 156 ehci_clear_tt_buffer(struct ehci_hcd *ehci, struct ehci_qh *qh, struct urb *urb, u32 token) ehci_clear_tt_buffer() argument 188 qtd_copy_status( struct ehci_hcd *ehci, struct urb *urb, size_t length, u32 token ) qtd_copy_status() argument 252 ehci_urb_done(struct ehci_hcd *ehci, struct urb *urb, int status) ehci_urb_done() argument 278 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); ehci_urb_done() local 279 usb_hcd_giveback_urb(ehci_to_hcd(ehci), urb, status); ehci_urb_done() local 325 struct urb *urb; qh_completions() local 556 qtd_list_free( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list ) qtd_list_free() argument 576 qh_urb_transaction( struct ehci_hcd *ehci, struct urb *urb, struct list_head *head, gfp_t flags ) qh_urb_transaction() argument 761 qh_make( struct ehci_hcd *ehci, struct urb *urb, gfp_t flags ) qh_make() argument 1021 qh_append_tds( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, int epnum, void **ptr ) qh_append_tds() argument 1103 submit_async( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags ) submit_async() argument 1140 usb_hcd_unlink_urb_from_ep(ehci_to_hcd(ehci), urb); submit_async() local 1169 ehci_submit_single_step_set_feature( struct usb_hcd *hcd, struct urb *urb, int is_setup ) ehci_submit_single_step_set_feature() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/udl/ |
H A D | udl_main.c | 26 static struct urb *udl_get_urb_locked(struct udl_device *udl, long timeout); 121 void udl_urb_completion(struct urb *urb) in udl_urb_completion() argument 123 struct urb_node *unode = urb->context; in udl_urb_completion() 128 if (urb->status) { in udl_urb_completion() 129 if (!(urb->status == -ENOENT || in udl_urb_completion() 130 urb->status == -ECONNRESET || in udl_urb_completion() 131 urb->status == -EPROTO || in udl_urb_completion() 132 urb->status == -ESHUTDOWN)) { in udl_urb_completion() 134 __func__, urb in udl_urb_completion() 152 struct urb *urb; udl_free_urb_list() local 178 struct urb *urb; udl_alloc_urb_list() local 265 struct urb *urb; udl_get_urb() local 273 udl_submit_urb(struct drm_device *dev, struct urb *urb, size_t len) udl_submit_urb() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | usbtest.c | 21 static void complicated_callback(struct urb *urb); 248 * Each urb's data buffer is dynamically allocated; callers can fill 252 static void simple_callback(struct urb *urb) in simple_callback() argument 254 complete(urb->context); in simple_callback() 257 static struct urb *usbtest_alloc_urb( in usbtest_alloc_urb() 266 struct urb *urb; in usbtest_alloc_urb() local 268 urb in usbtest_alloc_urb() 358 simple_fill_buf(struct urb *urb) simple_fill_buf() argument 384 check_guard_bytes(struct usbtest_dev *tdev, struct urb *urb) check_guard_bytes() argument 400 simple_check_buf(struct usbtest_dev *tdev, struct urb *urb) simple_check_buf() argument 439 simple_free_urb(struct urb *urb) simple_free_urb() argument 454 simple_io( struct usbtest_dev *tdev, struct urb *urb, int iterations, int vary, int expected, const char *label ) simple_io() argument 1074 struct urb **urb; global() member 1087 ctrl_complete(struct urb *urb) ctrl_complete() argument 1204 struct urb **urb; test_ctrl_queue() local 1422 unlink1_callback(struct urb *urb) unlink1_callback() argument 1437 struct urb *urb; unlink1() local 1534 unlink_queued_callback(struct urb *urb) unlink_queued_callback() argument 1629 verify_not_halted(struct usbtest_dev *tdev, int ep, struct urb *urb) verify_not_halted() argument 1651 verify_halted(struct usbtest_dev *tdev, int ep, struct urb *urb) verify_halted() argument 1676 test_halt(struct usbtest_dev *tdev, int ep, struct urb *urb) test_halt() argument 1722 test_toggle_sync(struct usbtest_dev *tdev, int ep, struct urb *urb) test_toggle_sync() argument 1755 struct urb *urb; halt_simple() local 1787 struct urb *urb; toggle_sync_simple() local 1926 complicated_callback(struct urb *urb) complicated_callback() argument 1982 struct urb *urb; iso_alloc_urb() local 2167 struct urb *urb = usbtest_alloc_urb(testdev_to_usbdev(tdev), test_unaligned_bulk() local 2184 struct urb *urb; usbtest_do_ioctl() local [all...] |