/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_alloc(whc->qset_pool, mem_flags, &dma); in qset_alloc() 159 gfp_t mem_flags) in get_qset() argument 165 qset = qset_alloc(whc, mem_flags); in get_qset() 358 static int qset_fill_page_list(struct whc *whc, struct whc_std *std, gfp_t mem_flags) in qset_fill_page_list() argument 376 std->pl_virt = kmalloc(pl_len, mem_flags); in qset_fill_page_list() 414 struct urb *urb, gfp_t mem_flags) in qset_new_std() argument 418 std = kzalloc(sizeof(struct whc_std), mem_flags); in qset_new_std() 432 gfp_t mem_flags) in qset_add_urb_sg() argument 480 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 | 104 gfp_t mem_flags, in hcd_buffer_alloc() argument 115 return kmalloc(size, mem_flags); in hcd_buffer_alloc() 120 return dma_pool_alloc(hcd->pool[i], mem_flags, dma); in hcd_buffer_alloc() 122 return dma_alloc_coherent(hcd->self.controller, size, dma, mem_flags); in hcd_buffer_alloc()
|
D | hcd.c | 1282 gfp_t mem_flags, dma_addr_t *dma_handle, in hcd_alloc_coherent() argument 1294 mem_flags, dma_handle); in hcd_alloc_coherent() 1396 gfp_t mem_flags) in map_urb_for_dma() argument 1399 return hcd->driver->map_urb_for_dma(hcd, urb, mem_flags); in map_urb_for_dma() 1401 return usb_hcd_map_urb_for_dma(hcd, urb, mem_flags); in map_urb_for_dma() 1405 gfp_t mem_flags) in usb_hcd_map_urb_for_dma() argument 1431 urb->dev->bus, mem_flags, in usb_hcd_map_urb_for_dma() 1495 urb->dev->bus, mem_flags, in usb_hcd_map_urb_for_dma() 1518 int usb_hcd_submit_urb (struct urb *urb, gfp_t mem_flags) in usb_hcd_submit_urb() argument 1543 status = map_urb_for_dma(hcd, urb, mem_flags); in usb_hcd_submit_urb() [all …]
|
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() 317 int usb_submit_urb(struct urb *urb, gfp_t mem_flags) in usb_submit_urb() argument 527 return usb_hcd_submit_urb(urb, mem_flags); in usb_submit_urb()
|
/drivers/usb/host/ |
D | ohci-mem.c | 85 td_alloc (struct ohci_hcd *hc, gfp_t mem_flags) in td_alloc() argument 90 td = dma_pool_alloc (hc->td_cache, mem_flags, &dma); in td_alloc() 119 ed_alloc (struct ohci_hcd *hc, gfp_t mem_flags) in ed_alloc() argument 124 ed = dma_pool_alloc (hc->ed_cache, mem_flags, &dma); in ed_alloc()
|
D | xhci.h | 1671 gfp_t mem_flags); 1700 gfp_t mem_flags); 1754 struct usb_tt *tt, gfp_t mem_flags); 1757 unsigned int num_streams, gfp_t mem_flags); 1760 gfp_t mem_flags); 1766 struct usb_tt *tt, gfp_t mem_flags); 1767 int xhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags); 1790 int xhci_queue_ctrl_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, 1792 int xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, 1794 int xhci_queue_intr_tx(struct xhci_hcd *xhci, gfp_t mem_flags, struct urb *urb, [all …]
|
D | xhci-mem.c | 448 gfp_t mem_flags) in xhci_alloc_stream_ctx() argument 455 dma, mem_flags); in xhci_alloc_stream_ctx() 458 mem_flags, dma); in xhci_alloc_stream_ctx() 461 mem_flags, dma); in xhci_alloc_stream_ctx() 595 unsigned int num_streams, gfp_t mem_flags) in xhci_alloc_stream_info() argument 613 stream_info = kzalloc(sizeof(struct xhci_stream_info), mem_flags); in xhci_alloc_stream_info() 623 mem_flags); in xhci_alloc_stream_info() 630 mem_flags); in xhci_alloc_stream_info() 638 xhci_alloc_command(xhci, true, true, mem_flags); in xhci_alloc_stream_info() 650 xhci_ring_alloc(xhci, 2, 1, TYPE_STREAM, mem_flags); in xhci_alloc_stream_info() [all …]
|
D | ehci-sched.c | 851 gfp_t mem_flags in intr_submit() argument 939 iso_stream_alloc (gfp_t mem_flags) in iso_stream_alloc() argument 943 stream = kzalloc(sizeof *stream, mem_flags); in iso_stream_alloc() 1090 iso_sched_alloc (unsigned packets, gfp_t mem_flags) in iso_sched_alloc() argument 1096 iso_sched = kzalloc(size, mem_flags); in iso_sched_alloc() 1163 gfp_t mem_flags in itd_urb_transaction() argument 1173 sched = iso_sched_alloc (urb->number_of_packets, mem_flags); in itd_urb_transaction() 1202 itd = dma_pool_alloc (ehci->itd_pool, mem_flags, in itd_urb_transaction() 1749 gfp_t mem_flags) in itd_submit() argument 1779 status = itd_urb_transaction (stream, ehci, urb, mem_flags); in itd_submit() [all …]
|
D | ehci-hcd.c | 849 gfp_t mem_flags in ehci_urb_enqueue() argument 866 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 868 return submit_async(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 871 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 873 return intr_submit(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 877 return itd_submit (ehci, urb, mem_flags); in ehci_urb_enqueue() 879 return sitd_submit (ehci, urb, mem_flags); in ehci_urb_enqueue()
|
D | ehci-tegra.c | 322 static int alloc_dma_aligned_buffer(struct urb *urb, gfp_t mem_flags) in alloc_dma_aligned_buffer() argument 336 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in alloc_dma_aligned_buffer() 355 gfp_t mem_flags) in tegra_ehci_map_urb_for_dma() argument 359 ret = alloc_dma_aligned_buffer(urb, mem_flags); in tegra_ehci_map_urb_for_dma() 363 ret = usb_hcd_map_urb_for_dma(hcd, urb, mem_flags); in tegra_ehci_map_urb_for_dma()
|
D | xhci-ring.c | 2835 u32 ep_state, unsigned int num_trbs, gfp_t mem_flags) in prepare_ring() argument 2880 mem_flags)) { in prepare_ring() 2926 gfp_t mem_flags) in prepare_transfer() argument 2943 num_trbs, mem_flags); in prepare_transfer() 3041 int xhci_queue_intr_tx(struct xhci_hcd *xhci, gfp_t mem_flags, in xhci_queue_intr_tx() argument 3073 return xhci_queue_bulk_tx(xhci, mem_flags, urb, slot_id, ep_index); in xhci_queue_intr_tx() 3127 static int queue_bulk_sg_tx(struct xhci_hcd *xhci, gfp_t mem_flags, in queue_bulk_sg_tx() argument 3156 num_trbs, urb, 0, mem_flags); in queue_bulk_sg_tx() 3283 int xhci_queue_bulk_tx(struct xhci_hcd *xhci, gfp_t mem_flags, in xhci_queue_bulk_tx() argument 3301 return queue_bulk_sg_tx(xhci, mem_flags, urb, slot_id, ep_index); in xhci_queue_bulk_tx() [all …]
|
D | oxu210hp-hcd.c | 1615 struct list_head *qtd_list, gfp_t mem_flags) in submit_async() argument 2191 struct list_head *qtd_list, gfp_t mem_flags) in intr_submit() argument 2238 gfp_t mem_flags) in itd_submit() argument 2245 gfp_t mem_flags) in sitd_submit() argument 2824 gfp_t mem_flags) in __oxu_urb_enqueue() argument 2835 if (!qh_urb_transaction(oxu, urb, &qtd_list, mem_flags)) in __oxu_urb_enqueue() 2837 return submit_async(oxu, urb, &qtd_list, mem_flags); in __oxu_urb_enqueue() 2840 if (!qh_urb_transaction(oxu, urb, &qtd_list, mem_flags)) in __oxu_urb_enqueue() 2842 return intr_submit(oxu, urb, &qtd_list, mem_flags); in __oxu_urb_enqueue() 2846 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 172 ureq = kzalloc(sizeof(struct usbhsh_request), mem_flags); in usbhsh_ureq_alloc() 380 gfp_t mem_flags) in usbhsh_endpoint_attach() argument 390 uep = kzalloc(sizeof(struct usbhsh_ep), mem_flags); in usbhsh_endpoint_attach() 676 gfp_t mem_flags) in usbhsh_queue_push() argument 692 ureq = usbhsh_ureq_alloc(hpriv, urb, mem_flags); in usbhsh_queue_push() 826 gfp_t mem_flags) in usbhsh_data_stage_packet_push() argument 832 ureq = usbhsh_ureq_alloc(hpriv, urb, mem_flags); in usbhsh_data_stage_packet_push() 857 gfp_t mem_flags) in usbhsh_status_stage_packet_push() argument 862 ureq = usbhsh_ureq_alloc(hpriv, urb, mem_flags); in usbhsh_status_stage_packet_push() [all …]
|
/drivers/usb/misc/ |
D | uss720.c | 143 gfp_t mem_flags) in submit_async_request() argument 155 rq = kmalloc(sizeof(struct uss720_async_request), mem_flags); in submit_async_request() 165 rq->urb = usb_alloc_urb(0, mem_flags); in submit_async_request() 184 ret = usb_submit_urb(rq->urb, mem_flags); in submit_async_request() 209 …c int get_1284_register(struct parport *pp, unsigned char reg, unsigned char *val, gfp_t mem_flags) in get_1284_register() argument 221 rq = submit_async_request(priv, 3, 0xc0, ((unsigned int)reg) << 8, 0, mem_flags); in get_1284_register() 245 …ic int set_1284_register(struct parport *pp, unsigned char reg, unsigned char val, gfp_t mem_flags) in set_1284_register() argument 253 rq = submit_async_request(priv, 4, 0x40, (((unsigned int)reg) << 8) | val, 0, mem_flags); in set_1284_register()
|
/drivers/staging/dwc2/ |
D | hcd_queue.c | 196 gfp_t mem_flags) in dwc2_hcd_qh_create() argument 201 qh = kzalloc(sizeof(*qh), mem_flags); in dwc2_hcd_qh_create() 208 dwc2_hcd_qh_init_ddma(hsotg, qh, mem_flags) < 0) { in dwc2_hcd_qh_create() 636 struct dwc2_qh **qh, gfp_t mem_flags) in dwc2_hcd_qtd_add() argument 648 *qh = dwc2_hcd_qh_create(hsotg, urb, mem_flags); in dwc2_hcd_qtd_add()
|
D | hcd_ddma.c | 126 static int dwc2_frame_list_alloc(struct dwc2_hsotg *hsotg, gfp_t mem_flags) in dwc2_frame_list_alloc() argument 134 mem_flags); in dwc2_frame_list_alloc() 312 gfp_t mem_flags) in dwc2_hcd_qh_init_ddma() argument 323 retval = dwc2_desc_list_alloc(hsotg, qh, mem_flags); in dwc2_hcd_qh_init_ddma() 330 retval = dwc2_frame_list_alloc(hsotg, mem_flags); in dwc2_hcd_qh_init_ddma()
|
/drivers/bluetooth/ |
D | btusb.c | 314 static int btusb_submit_intr_urb(struct hci_dev *hdev, gfp_t mem_flags) in btusb_submit_intr_urb() argument 327 urb = usb_alloc_urb(0, mem_flags); in btusb_submit_intr_urb() 333 buf = kmalloc(size, mem_flags); in btusb_submit_intr_urb() 349 err = usb_submit_urb(urb, mem_flags); in btusb_submit_intr_urb() 402 static int btusb_submit_bulk_urb(struct hci_dev *hdev, gfp_t mem_flags) in btusb_submit_bulk_urb() argument 415 urb = usb_alloc_urb(0, mem_flags); in btusb_submit_bulk_urb() 419 buf = kmalloc(size, mem_flags); in btusb_submit_bulk_urb() 435 err = usb_submit_urb(urb, mem_flags); in btusb_submit_bulk_urb() 516 static int btusb_submit_isoc_urb(struct hci_dev *hdev, gfp_t mem_flags) in btusb_submit_isoc_urb() argument 529 urb = usb_alloc_urb(BTUSB_MAX_ISOC_FRAMES, mem_flags); in btusb_submit_isoc_urb() [all …]
|
/drivers/staging/rts5139/ |
D | rts51x.h | 155 gfp_t mem_flags, dma_addr_t *dma) in usb_buffer_alloc() argument 157 return usb_alloc_coherent(dev, size, mem_flags, dma); in usb_buffer_alloc()
|
/drivers/usb/serial/ |
D | sierra.c | 691 static int sierra_submit_rx_urbs(struct usb_serial_port *port, gfp_t mem_flags) in sierra_submit_rx_urbs() argument 704 err = usb_submit_urb(urb, mem_flags); in sierra_submit_rx_urbs() 714 err = usb_submit_urb(port->interrupt_in_urb, mem_flags); in sierra_submit_rx_urbs() 729 gfp_t mem_flags, in sierra_setup_urb() argument 738 urb = usb_alloc_urb(0, mem_flags); in sierra_setup_urb() 745 buf = kmalloc(len, mem_flags); in sierra_setup_urb()
|
D | generic.c | 288 int index, gfp_t mem_flags) in usb_serial_generic_submit_read_urb() argument 297 res = usb_submit_urb(port->read_urbs[index], mem_flags); in usb_serial_generic_submit_read_urb() 312 gfp_t mem_flags) in usb_serial_generic_submit_read_urbs() argument 318 res = usb_serial_generic_submit_read_urb(port, i, mem_flags); in usb_serial_generic_submit_read_urbs()
|
/drivers/staging/ozwpan/ |
D | ozhcd.c | 145 gfp_t mem_flags); 165 gfp_t mem_flags); 170 struct usb_host_interface *intf, gfp_t mem_flags); 174 gfp_t mem_flags); 310 static struct oz_endpoint *oz_ep_alloc(gfp_t mem_flags, int buffer_size) in oz_ep_alloc() argument 313 kzalloc(sizeof(struct oz_endpoint)+buffer_size, mem_flags); in oz_ep_alloc() 1209 struct usb_host_interface *intf, gfp_t mem_flags) in oz_build_endpoints_for_interface() argument 1236 ep = oz_ep_alloc(mem_flags, buffer_size); in oz_build_endpoints_for_interface() 1333 gfp_t mem_flags) in oz_build_endpoints_for_config() argument 1342 mem_flags | __GFP_ZERO); in oz_build_endpoints_for_config() [all …]
|
/drivers/net/usb/ |
D | ipheth.c | 140 static int ipheth_rx_submit(struct ipheth_device *dev, gfp_t mem_flags); 340 static int ipheth_rx_submit(struct ipheth_device *dev, gfp_t mem_flags) in ipheth_rx_submit() argument 352 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);
|