/drivers/usb/host/whci/ |
D | qset.c | 28 struct whc_qset *qset_alloc(struct whc *whc, gfp_t mem_flags) in qset_alloc() argument 33 qset = dma_pool_zalloc(whc->qset_pool, mem_flags, &dma); in qset_alloc() 158 gfp_t mem_flags) in get_qset() argument 164 qset = qset_alloc(whc, mem_flags); in get_qset() 357 static int qset_fill_page_list(struct whc *whc, struct whc_std *std, gfp_t mem_flags) in qset_fill_page_list() argument 375 std->pl_virt = kmalloc(pl_len, mem_flags); in qset_fill_page_list() 417 struct urb *urb, gfp_t mem_flags) in qset_new_std() argument 421 std = kzalloc(sizeof(struct whc_std), mem_flags); in qset_new_std() 435 gfp_t mem_flags) in qset_add_urb_sg() argument 483 std = qset_new_std(whc, qset, urb, mem_flags); in qset_add_urb_sg() [all …]
|
D | whcd.h | 175 int asl_urb_enqueue(struct whc *whc, struct urb *urb, gfp_t mem_flags); 185 int pzl_urb_enqueue(struct whc *whc, struct urb *urb, gfp_t mem_flags); 191 struct whc_qset *qset_alloc(struct whc *whc, gfp_t mem_flags); 193 struct whc_qset *get_qset(struct whc *whc, struct urb *urb, gfp_t mem_flags); 198 gfp_t mem_flags);
|
D | hcd.c | 118 gfp_t mem_flags) in whc_urb_enqueue() argument 126 ret = pzl_urb_enqueue(whc, urb, mem_flags); in whc_urb_enqueue() 135 ret = asl_urb_enqueue(whc, urb, mem_flags); in whc_urb_enqueue()
|
/drivers/usb/core/ |
D | buffer.c | 118 gfp_t mem_flags, in hcd_buffer_alloc() argument 133 return kmalloc(size, mem_flags); in hcd_buffer_alloc() 138 return dma_pool_alloc(hcd->pool[i], mem_flags, dma); in hcd_buffer_alloc() 140 return dma_alloc_coherent(hcd->self.controller, size, dma, mem_flags); in hcd_buffer_alloc()
|
D | urb.c | 64 struct urb *usb_alloc_urb(int iso_packets, gfp_t mem_flags) in usb_alloc_urb() argument 70 mem_flags); in usb_alloc_urb() 322 int usb_submit_urb(struct urb *urb, gfp_t mem_flags) in usb_submit_urb() argument 540 return usb_hcd_submit_urb(urb, mem_flags); in usb_submit_urb()
|
D | hcd.c | 1383 gfp_t mem_flags, dma_addr_t *dma_handle, in hcd_alloc_coherent() argument 1395 mem_flags, dma_handle); in hcd_alloc_coherent() 1501 gfp_t mem_flags) in map_urb_for_dma() argument 1504 return hcd->driver->map_urb_for_dma(hcd, urb, mem_flags); in map_urb_for_dma() 1506 return usb_hcd_map_urb_for_dma(hcd, urb, mem_flags); in map_urb_for_dma() 1510 gfp_t mem_flags) in usb_hcd_map_urb_for_dma() argument 1536 urb->dev->bus, mem_flags, in usb_hcd_map_urb_for_dma() 1603 urb->dev->bus, mem_flags, in usb_hcd_map_urb_for_dma() 1626 int usb_hcd_submit_urb (struct urb *urb, gfp_t mem_flags) in usb_hcd_submit_urb() argument 1651 status = map_urb_for_dma(hcd, urb, mem_flags); in usb_hcd_submit_urb() [all …]
|
/drivers/usb/host/ |
D | ohci-mem.c | 86 td_alloc (struct ohci_hcd *hc, gfp_t mem_flags) in td_alloc() argument 91 td = dma_pool_alloc (hc->td_cache, mem_flags, &dma); in td_alloc() 120 ed_alloc (struct ohci_hcd *hc, gfp_t mem_flags) in ed_alloc() argument 125 ed = dma_pool_alloc (hc->ed_cache, mem_flags, &dma); in ed_alloc()
|
D | xhci-mem.c | 196 gfp_t mem_flags) in xhci_insert_segment_mapping() argument 206 ret = radix_tree_maybe_preload(mem_flags); in xhci_insert_segment_mapping() 230 gfp_t mem_flags) in xhci_update_stream_segment_mapping() argument 242 ring, seg, mem_flags); in xhci_update_stream_segment_mapping() 279 static int xhci_update_stream_mapping(struct xhci_ring *ring, gfp_t mem_flags) in xhci_update_stream_mapping() argument 282 ring->first_seg, ring->last_seg, mem_flags); in xhci_update_stream_mapping() 615 gfp_t mem_flags) in xhci_alloc_stream_ctx() argument 622 dma, mem_flags); in xhci_alloc_stream_ctx() 625 mem_flags, dma); in xhci_alloc_stream_ctx() 628 mem_flags, dma); in xhci_alloc_stream_ctx() [all …]
|
D | xhci.h | 1818 gfp_t mem_flags); 1847 gfp_t mem_flags); 1882 struct usb_tt *tt, gfp_t mem_flags); 1885 unsigned int num_streams, gfp_t mem_flags); 1888 gfp_t mem_flags); 1895 struct usb_tt *tt, gfp_t mem_flags); 1896 int xhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags); 1920 int xhci_queue_ctrl_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, 1922 int xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, 1924 int xhci_queue_intr_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, [all …]
|
D | ehci-tegra.c | 339 static int alloc_dma_aligned_buffer(struct urb *urb, gfp_t mem_flags) in alloc_dma_aligned_buffer() argument 353 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in alloc_dma_aligned_buffer() 372 gfp_t mem_flags) in tegra_ehci_map_urb_for_dma() argument 376 ret = alloc_dma_aligned_buffer(urb, mem_flags); in tegra_ehci_map_urb_for_dma() 380 ret = usb_hcd_map_urb_for_dma(hcd, urb, mem_flags); in tegra_ehci_map_urb_for_dma()
|
D | ehci-sched.c | 933 gfp_t mem_flags in intr_submit() argument 1027 iso_stream_alloc(gfp_t mem_flags) in iso_stream_alloc() argument 1031 stream = kzalloc(sizeof(*stream), mem_flags); in iso_stream_alloc() 1192 iso_sched_alloc(unsigned packets, gfp_t mem_flags) in iso_sched_alloc() argument 1198 iso_sched = kzalloc(size, mem_flags); in iso_sched_alloc() 1265 gfp_t mem_flags in itd_urb_transaction() argument 1275 sched = iso_sched_alloc(urb->number_of_packets, mem_flags); in itd_urb_transaction() 1304 itd = dma_pool_alloc(ehci->itd_pool, mem_flags, in itd_urb_transaction() 1939 gfp_t mem_flags) in itd_submit() argument 1969 status = itd_urb_transaction(stream, ehci, urb, mem_flags); in itd_submit() [all …]
|
D | ehci-hcd.c | 868 gfp_t mem_flags in ehci_urb_enqueue() argument 885 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 887 return submit_async(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 890 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 892 return intr_submit(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 896 return itd_submit (ehci, urb, mem_flags); in ehci_urb_enqueue() 898 return sitd_submit (ehci, urb, mem_flags); in ehci_urb_enqueue()
|
D | xhci-ring.c | 2860 u32 ep_state, unsigned int num_trbs, gfp_t mem_flags) in prepare_ring() argument 2905 mem_flags)) { in prepare_ring() 2944 gfp_t mem_flags) in prepare_transfer() argument 2961 num_trbs, mem_flags); in prepare_transfer() 3098 int xhci_queue_intr_tx(struct xhci_hcd *xhci, gfp_t mem_flags, in xhci_queue_intr_tx() argument 3106 return xhci_queue_bulk_tx(xhci, mem_flags, urb, slot_id, ep_index); in xhci_queue_intr_tx() 3217 int xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags, in xhci_queue_bulk_tx() argument 3254 num_trbs, urb, 0, mem_flags); in xhci_queue_bulk_tx() 3356 1, urb, 1, mem_flags); in xhci_queue_bulk_tx() 3369 int xhci_queue_ctrl_tx(struct xhci_hcd *xhci, gfp_t mem_flags, in xhci_queue_ctrl_tx() argument [all …]
|
D | oxu210hp-hcd.c | 1612 struct list_head *qtd_list, gfp_t mem_flags) in submit_async() argument 2187 struct list_head *qtd_list, gfp_t mem_flags) in intr_submit() argument 2234 gfp_t mem_flags) in itd_submit() argument 2241 gfp_t mem_flags) in sitd_submit() argument 2814 gfp_t mem_flags) in __oxu_urb_enqueue() argument 2825 if (!qh_urb_transaction(oxu, urb, &qtd_list, mem_flags)) in __oxu_urb_enqueue() 2827 return submit_async(oxu, urb, &qtd_list, mem_flags); in __oxu_urb_enqueue() 2830 if (!qh_urb_transaction(oxu, urb, &qtd_list, mem_flags)) in __oxu_urb_enqueue() 2832 return intr_submit(oxu, urb, &qtd_list, mem_flags); in __oxu_urb_enqueue() 2836 return itd_submit(oxu, urb, mem_flags); in __oxu_urb_enqueue() [all …]
|
/drivers/usb/renesas_usbhs/ |
D | mod_host.c | 166 gfp_t mem_flags) in usbhsh_ureq_alloc() argument 170 ureq = kzalloc(sizeof(struct usbhsh_request), mem_flags); in usbhsh_ureq_alloc() 376 gfp_t mem_flags) in usbhsh_endpoint_attach() argument 386 uep = kzalloc(sizeof(struct usbhsh_ep), mem_flags); in usbhsh_endpoint_attach() 670 gfp_t mem_flags) in usbhsh_queue_push() argument 686 ureq = usbhsh_ureq_alloc(hpriv, urb, mem_flags); in usbhsh_queue_push() 820 gfp_t mem_flags) in usbhsh_data_stage_packet_push() argument 826 ureq = usbhsh_ureq_alloc(hpriv, urb, mem_flags); in usbhsh_data_stage_packet_push() 851 gfp_t mem_flags) in usbhsh_status_stage_packet_push() argument 856 ureq = usbhsh_ureq_alloc(hpriv, urb, mem_flags); in usbhsh_status_stage_packet_push() [all …]
|
/drivers/usb/misc/ |
D | uss720.c | 140 gfp_t mem_flags) in submit_async_request() argument 152 rq = kzalloc(sizeof(struct uss720_async_request), mem_flags); in submit_async_request() 160 rq->urb = usb_alloc_urb(0, mem_flags); in submit_async_request() 165 rq->dr = kmalloc(sizeof(*rq->dr), mem_flags); in submit_async_request() 183 ret = usb_submit_urb(rq->urb, mem_flags); in submit_async_request() 208 …c int get_1284_register(struct parport *pp, unsigned char reg, unsigned char *val, gfp_t mem_flags) in get_1284_register() argument 220 rq = submit_async_request(priv, 3, 0xc0, ((unsigned int)reg) << 8, 0, mem_flags); in get_1284_register() 244 …ic int set_1284_register(struct parport *pp, unsigned char reg, unsigned char val, gfp_t mem_flags) in set_1284_register() argument 252 rq = submit_async_request(priv, 4, 0x40, (((unsigned int)reg) << 8) | val, 0, mem_flags); in set_1284_register()
|
/drivers/usb/serial/ |
D | generic.c | 133 gfp_t mem_flags) in usb_serial_generic_write_start() argument 164 result = usb_submit_urb(urb, mem_flags); in usb_serial_generic_write_start() 279 int index, gfp_t mem_flags) in usb_serial_generic_submit_read_urb() argument 288 res = usb_submit_urb(port->read_urbs[index], mem_flags); in usb_serial_generic_submit_read_urb() 303 gfp_t mem_flags) in usb_serial_generic_submit_read_urbs() argument 309 res = usb_serial_generic_submit_read_urb(port, i, mem_flags); in usb_serial_generic_submit_read_urbs()
|
D | sierra.c | 702 static int sierra_submit_rx_urbs(struct usb_serial_port *port, gfp_t mem_flags) in sierra_submit_rx_urbs() argument 715 err = usb_submit_urb(urb, mem_flags); in sierra_submit_rx_urbs() 725 err = usb_submit_urb(port->interrupt_in_urb, mem_flags); in sierra_submit_rx_urbs() 740 gfp_t mem_flags, in sierra_setup_urb() argument 746 urb = usb_alloc_urb(0, mem_flags); in sierra_setup_urb() 750 buf = kmalloc(len, mem_flags); in sierra_setup_urb()
|
/drivers/nfc/nfcmrvl/ |
D | usb.c | 113 nfcmrvl_submit_bulk_urb(struct nfcmrvl_usb_drv_data *drv_data, gfp_t mem_flags) in nfcmrvl_submit_bulk_urb() argument 123 urb = usb_alloc_urb(0, mem_flags); in nfcmrvl_submit_bulk_urb() 127 buf = kmalloc(size, mem_flags); in nfcmrvl_submit_bulk_urb() 144 err = usb_submit_urb(urb, mem_flags); in nfcmrvl_submit_bulk_urb()
|
/drivers/bluetooth/ |
D | btusb.c | 651 static int btusb_submit_intr_urb(struct hci_dev *hdev, gfp_t mem_flags) in btusb_submit_intr_urb() argument 664 urb = usb_alloc_urb(0, mem_flags); in btusb_submit_intr_urb() 670 buf = kmalloc(size, mem_flags); in btusb_submit_intr_urb() 685 err = usb_submit_urb(urb, mem_flags); in btusb_submit_intr_urb() 740 static int btusb_submit_bulk_urb(struct hci_dev *hdev, gfp_t mem_flags) in btusb_submit_bulk_urb() argument 753 urb = usb_alloc_urb(0, mem_flags); in btusb_submit_bulk_urb() 757 buf = kmalloc(size, mem_flags); in btusb_submit_bulk_urb() 773 err = usb_submit_urb(urb, mem_flags); in btusb_submit_bulk_urb() 856 static int btusb_submit_isoc_urb(struct hci_dev *hdev, gfp_t mem_flags) in btusb_submit_isoc_urb() argument 869 urb = usb_alloc_urb(BTUSB_MAX_ISOC_FRAMES, mem_flags); in btusb_submit_isoc_urb() [all …]
|
/drivers/usb/dwc2/ |
D | hcd_queue.c | 1452 struct dwc2_hcd_urb *urb, gfp_t mem_flags) in dwc2_qh_init() argument 1486 mem_flags, in dwc2_qh_init() 1588 gfp_t mem_flags) in dwc2_hcd_qh_create() argument 1596 qh = kzalloc(sizeof(*qh), mem_flags); in dwc2_hcd_qh_create() 1600 dwc2_qh_init(hsotg, qh, urb, mem_flags); in dwc2_hcd_qh_create() 1603 dwc2_hcd_qh_init_ddma(hsotg, qh, mem_flags) < 0) { in dwc2_hcd_qh_create()
|
D | hcd.h | 537 gfp_t mem_flags); 566 gfp_t mem_flags); 802 void *context, gfp_t mem_flags,
|
/drivers/net/usb/ |
D | ipheth.c | 154 static int ipheth_rx_submit(struct ipheth_device *dev, gfp_t mem_flags); 354 static int ipheth_rx_submit(struct ipheth_device *dev, gfp_t mem_flags) in ipheth_rx_submit() argument 366 retval = usb_submit_urb(dev->rx_urb, mem_flags); in ipheth_rx_submit()
|
/drivers/usb/c67x00/ |
D | c67x00-hcd.h | 121 int c67x00_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags);
|
/drivers/isdn/hisax/ |
D | st5481.h | 410 #define SUBMIT_URB(urb, mem_flags) \ argument 413 if ((status = usb_submit_urb(urb, mem_flags)) < 0) { \
|