/kernel/linux/linux-5.10/drivers/usb/core/ |
H A D | buffer.c | 116 gfp_t mem_flags, in hcd_buffer_alloc() 132 return kmalloc(size, mem_flags); in hcd_buffer_alloc() 137 return dma_pool_alloc(hcd->pool[i], mem_flags, dma); in hcd_buffer_alloc() 139 return dma_alloc_coherent(hcd->self.sysdev, size, dma, mem_flags); in hcd_buffer_alloc() 175 size_t size, gfp_t mem_flags, dma_addr_t *dma) in hcd_buffer_alloc_pages() 187 return (void *)__get_free_pages(mem_flags, in hcd_buffer_alloc_pages() 192 size, dma, mem_flags); in hcd_buffer_alloc_pages() 113 hcd_buffer_alloc( struct usb_bus *bus, size_t size, gfp_t mem_flags, dma_addr_t *dma ) hcd_buffer_alloc() argument 174 hcd_buffer_alloc_pages(struct usb_hcd *hcd, size_t size, gfp_t mem_flags, dma_addr_t *dma) hcd_buffer_alloc_pages() argument
|
H A D | hcd.c | 1283 gfp_t mem_flags, dma_addr_t *dma_handle, in hcd_alloc_coherent() 1295 mem_flags, dma_handle); in hcd_alloc_coherent() 1401 gfp_t mem_flags) in map_urb_for_dma() 1404 return hcd->driver->map_urb_for_dma(hcd, urb, mem_flags); in map_urb_for_dma() 1406 return usb_hcd_map_urb_for_dma(hcd, urb, mem_flags); in map_urb_for_dma() 1410 gfp_t mem_flags) in usb_hcd_map_urb_for_dma() 1426 urb->dev->bus, mem_flags, in usb_hcd_map_urb_for_dma() 1457 urb->dev->bus, mem_flags, in usb_hcd_map_urb_for_dma() 1531 int usb_hcd_submit_urb (struct urb *urb, gfp_t mem_flags) in usb_hcd_submit_urb() argument 1556 status = map_urb_for_dma(hcd, urb, mem_flags); in usb_hcd_submit_urb() 1282 hcd_alloc_coherent(struct usb_bus *bus, gfp_t mem_flags, dma_addr_t *dma_handle, void **vaddr_handle, size_t size, enum dma_data_direction dir) hcd_alloc_coherent() 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 2036 usb_alloc_streams(struct usb_interface *interface, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags) usb_alloc_streams() argument 2086 usb_free_streams(struct usb_interface *interface, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) usb_free_streams() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | buffer.c | 118 gfp_t mem_flags, in hcd_buffer_alloc() 134 return kmalloc(size, mem_flags); in hcd_buffer_alloc() 139 return dma_pool_alloc(hcd->pool[i], mem_flags, dma); in hcd_buffer_alloc() 141 return dma_alloc_coherent(hcd->self.sysdev, size, dma, mem_flags); in hcd_buffer_alloc() 177 size_t size, gfp_t mem_flags, dma_addr_t *dma) in hcd_buffer_alloc_pages() 189 return (void *)__get_free_pages(mem_flags, in hcd_buffer_alloc_pages() 194 size, dma, mem_flags); in hcd_buffer_alloc_pages() 115 hcd_buffer_alloc( struct usb_bus *bus, size_t size, gfp_t mem_flags, dma_addr_t *dma ) hcd_buffer_alloc() argument 176 hcd_buffer_alloc_pages(struct usb_hcd *hcd, size_t size, gfp_t mem_flags, dma_addr_t *dma) hcd_buffer_alloc_pages() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | dmapool.h | 26 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, 42 static inline void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() argument 52 static inline void *dma_pool_zalloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_zalloc() argument 55 return dma_pool_alloc(pool, mem_flags | __GFP_ZERO, handle); in dma_pool_zalloc()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | dmapool.h | 26 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, 42 static inline void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() argument 52 static inline void *dma_pool_zalloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_zalloc() argument 55 return dma_pool_alloc(pool, mem_flags | __GFP_ZERO, handle); in dma_pool_zalloc()
|
/kernel/linux/linux-6.6/mm/ |
H A D | dmapool.c | 96 gfp_t mem_flags) in pool_check_block() 116 if (!want_init_on_alloc(mem_flags)) in pool_check_block() 165 gfp_t mem_flags) in pool_check_block() 334 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page() argument 338 page = kmalloc(sizeof(*page), mem_flags); in pool_alloc_page() 343 &page->dma, mem_flags); in pool_alloc_page() 397 * @mem_flags: GFP_* bitmask 404 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() argument 411 might_alloc(mem_flags); in dma_pool_alloc() 422 page = pool_alloc_page(pool, mem_flags in dma_pool_alloc() 95 pool_check_block(struct dma_pool *pool, struct dma_block *block, gfp_t mem_flags) pool_check_block() argument 164 pool_check_block(struct dma_pool *pool, struct dma_block *block, gfp_t mem_flags) pool_check_block() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ohci-mem.c | 90 td_alloc (struct ohci_hcd *hc, gfp_t mem_flags) in td_alloc() argument 100 td = dma_pool_zalloc(hc->td_cache, mem_flags, &dma); in td_alloc() 134 ed_alloc (struct ohci_hcd *hc, gfp_t mem_flags) in ed_alloc() argument 144 ed = dma_pool_zalloc(hc->ed_cache, mem_flags, &dma); in ed_alloc()
|
H A D | xhci-mem.c | 190 gfp_t mem_flags) in xhci_insert_segment_mapping() 200 ret = radix_tree_maybe_preload(mem_flags); in xhci_insert_segment_mapping() 224 gfp_t mem_flags) in xhci_update_stream_segment_mapping() 236 ring, seg, mem_flags); in xhci_update_stream_segment_mapping() 273 static int xhci_update_stream_mapping(struct xhci_ring *ring, gfp_t mem_flags) in xhci_update_stream_mapping() argument 276 ring->first_seg, ring->last_seg, mem_flags); in xhci_update_stream_mapping() 569 gfp_t mem_flags) in xhci_alloc_stream_ctx() 576 dma, mem_flags); in xhci_alloc_stream_ctx() 579 mem_flags, dma); in xhci_alloc_stream_ctx() 582 mem_flags, dm in xhci_alloc_stream_ctx() 187 xhci_insert_segment_mapping(struct radix_tree_root *trb_address_map, struct xhci_ring *ring, struct xhci_segment *seg, gfp_t mem_flags) xhci_insert_segment_mapping() argument 219 xhci_update_stream_segment_mapping( struct radix_tree_root *trb_address_map, struct xhci_ring *ring, struct xhci_segment *first_seg, struct xhci_segment *last_seg, gfp_t mem_flags) xhci_update_stream_segment_mapping() argument 567 xhci_alloc_stream_ctx(struct xhci_hcd *xhci, unsigned int num_stream_ctxs, dma_addr_t *dma, gfp_t mem_flags) xhci_alloc_stream_ctx() argument 621 xhci_alloc_stream_info(struct xhci_hcd *xhci, unsigned int num_stream_ctxs, unsigned int num_streams, unsigned int max_packet, gfp_t mem_flags) xhci_alloc_stream_info() argument 846 xhci_alloc_tt_info(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct usb_device *hdev, struct usb_tt *tt, gfp_t mem_flags) xhci_alloc_tt_info() argument 1443 xhci_endpoint_init(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct usb_device *udev, struct usb_host_endpoint *ep, gfp_t mem_flags) xhci_endpoint_init() argument 1760 xhci_alloc_command(struct xhci_hcd *xhci, bool allocate_completion, gfp_t mem_flags) xhci_alloc_command() argument 1786 xhci_alloc_command_with_ctx(struct xhci_hcd *xhci, bool allocate_completion, gfp_t mem_flags) xhci_alloc_command_with_ctx() argument [all...] |
H A D | ehci-tegra.c | 313 static int alloc_dma_aligned_buffer(struct urb *urb, gfp_t mem_flags) in alloc_dma_aligned_buffer() argument 327 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags); in alloc_dma_aligned_buffer() 346 gfp_t mem_flags) in tegra_ehci_map_urb_for_dma() 350 ret = alloc_dma_aligned_buffer(urb, mem_flags); in tegra_ehci_map_urb_for_dma() 354 ret = usb_hcd_map_urb_for_dma(hcd, urb, mem_flags); in tegra_ehci_map_urb_for_dma() 345 tegra_ehci_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) tegra_ehci_map_urb_for_dma() argument
|
H A D | ehci-sched.c | 901 gfp_t mem_flags in intr_submit() 995 iso_stream_alloc(gfp_t mem_flags) in iso_stream_alloc() argument 999 stream = kzalloc(sizeof(*stream), mem_flags); in iso_stream_alloc() 1159 iso_sched_alloc(unsigned packets, gfp_t mem_flags) in iso_sched_alloc() argument 1165 iso_sched = kzalloc(size, mem_flags); in iso_sched_alloc() 1232 gfp_t mem_flags in itd_urb_transaction() 1242 sched = iso_sched_alloc(urb->number_of_packets, mem_flags); in itd_urb_transaction() 1271 itd = dma_pool_alloc(ehci->itd_pool, mem_flags, in itd_urb_transaction() 1904 gfp_t mem_flags) in itd_submit() 1934 status = itd_urb_transaction(stream, ehci, urb, mem_flags); in itd_submit() 1903 itd_submit(struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags) itd_submit() argument 2282 sitd_submit(struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags) sitd_submit() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ohci-mem.c | 90 td_alloc (struct ohci_hcd *hc, gfp_t mem_flags) in td_alloc() argument 100 td = dma_pool_zalloc(hc->td_cache, mem_flags, &dma); in td_alloc() 134 ed_alloc (struct ohci_hcd *hc, gfp_t mem_flags) in ed_alloc() argument 144 ed = dma_pool_zalloc(hc->ed_cache, mem_flags, &dma); in ed_alloc()
|
H A D | xhci-mem.c | 190 gfp_t mem_flags) in xhci_insert_segment_mapping() 200 ret = radix_tree_maybe_preload(mem_flags); in xhci_insert_segment_mapping() 224 gfp_t mem_flags) in xhci_update_stream_segment_mapping() 236 ring, seg, mem_flags); in xhci_update_stream_segment_mapping() 273 static int xhci_update_stream_mapping(struct xhci_ring *ring, gfp_t mem_flags) in xhci_update_stream_mapping() argument 276 ring->first_seg, ring->last_seg, mem_flags); in xhci_update_stream_mapping() 557 gfp_t mem_flags) in xhci_alloc_stream_ctx() 563 return dma_alloc_coherent(dev, size, dma, mem_flags); in xhci_alloc_stream_ctx() 565 return dma_pool_zalloc(xhci->medium_streams_pool, mem_flags, dma); in xhci_alloc_stream_ctx() 567 return dma_pool_zalloc(xhci->small_streams_pool, mem_flags, dm in xhci_alloc_stream_ctx() 187 xhci_insert_segment_mapping(struct radix_tree_root *trb_address_map, struct xhci_ring *ring, struct xhci_segment *seg, gfp_t mem_flags) xhci_insert_segment_mapping() argument 219 xhci_update_stream_segment_mapping( struct radix_tree_root *trb_address_map, struct xhci_ring *ring, struct xhci_segment *first_seg, struct xhci_segment *last_seg, gfp_t mem_flags) xhci_update_stream_segment_mapping() argument 555 xhci_alloc_stream_ctx(struct xhci_hcd *xhci, unsigned int num_stream_ctxs, dma_addr_t *dma, gfp_t mem_flags) xhci_alloc_stream_ctx() argument 589 xhci_alloc_stream_info(struct xhci_hcd *xhci, unsigned int num_stream_ctxs, unsigned int num_streams, unsigned int max_packet, gfp_t mem_flags) xhci_alloc_stream_info() argument 802 xhci_alloc_tt_info(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct usb_device *hdev, struct usb_tt *tt, gfp_t mem_flags) xhci_alloc_tt_info() argument 1394 xhci_endpoint_init(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev, struct usb_device *udev, struct usb_host_endpoint *ep, gfp_t mem_flags) xhci_endpoint_init() argument 1710 xhci_alloc_command(struct xhci_hcd *xhci, bool allocate_completion, gfp_t mem_flags) xhci_alloc_command() argument 1736 xhci_alloc_command_with_ctx(struct xhci_hcd *xhci, bool allocate_completion, gfp_t mem_flags) xhci_alloc_command_with_ctx() argument [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | efifb.c | 47 static u64 mem_flags = EFI_MEMORY_WC | EFI_MEMORY_UC; variable 247 if (mem_flags & (EFI_MEMORY_UC | EFI_MEMORY_WC)) in efifb_destroy() 286 mem_flags &= ~EFI_MEMORY_WC; in efifb_setup() 472 mem_flags |= EFI_MEMORY_WT | EFI_MEMORY_WB; in efifb_probe() 473 mem_flags &= md.attribute; in efifb_probe() 476 if (mem_flags & EFI_MEMORY_WC) in efifb_probe() 479 else if (mem_flags & EFI_MEMORY_UC) in efifb_probe() 482 else if (mem_flags & EFI_MEMORY_WT) in efifb_probe() 485 else if (mem_flags & EFI_MEMORY_WB) in efifb_probe() 585 if (mem_flags in efifb_probe() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | efifb.c | 49 static u64 mem_flags = EFI_MEMORY_WC | EFI_MEMORY_UC; variable 265 if (mem_flags & (EFI_MEMORY_UC | EFI_MEMORY_WC)) in efifb_destroy() 304 mem_flags &= ~EFI_MEMORY_WC; in efifb_setup() 485 mem_flags |= EFI_MEMORY_WT | EFI_MEMORY_WB; in efifb_probe() 486 mem_flags &= md.attribute; in efifb_probe() 489 if (mem_flags & EFI_MEMORY_WC) in efifb_probe() 492 else if (mem_flags & EFI_MEMORY_UC) in efifb_probe() 495 else if (mem_flags & EFI_MEMORY_WT) in efifb_probe() 498 else if (mem_flags & EFI_MEMORY_WB) in efifb_probe() 609 if (mem_flags in efifb_probe() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | dmapool.c | 219 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page() argument 223 page = kmalloc(sizeof(*page), mem_flags); in pool_alloc_page() 227 &page->dma, mem_flags); in pool_alloc_page() 307 * @mem_flags: GFP_* bitmask 314 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() argument 322 might_sleep_if(gfpflags_allow_blocking(mem_flags)); in dma_pool_alloc() 333 page = pool_alloc_page(pool, mem_flags & (~__GFP_ZERO)); in dma_pool_alloc() 370 if (!(mem_flags & __GFP_ZERO)) in dma_pool_alloc() 375 if (want_init_on_alloc(mem_flags)) in dma_pool_alloc()
|
/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | hcd.h | 297 struct urb *urb, gfp_t mem_flags); 311 gfp_t mem_flags); 350 unsigned int num_streams, gfp_t mem_flags); 356 gfp_t mem_flags); 396 struct usb_tt *tt, gfp_t mem_flags); 439 extern int usb_hcd_submit_urb(struct urb *urb, gfp_t mem_flags); 444 gfp_t mem_flags); 503 gfp_t mem_flags, dma_addr_t *dma); 508 size_t size, gfp_t mem_flags, dma_addr_t *dma);
|
/kernel/linux/linux-6.6/include/linux/usb/ |
H A D | hcd.h | 284 struct urb *urb, gfp_t mem_flags); 298 gfp_t mem_flags); 337 unsigned int num_streams, gfp_t mem_flags); 343 gfp_t mem_flags); 383 struct usb_tt *tt, gfp_t mem_flags); 429 extern int usb_hcd_submit_urb(struct urb *urb, gfp_t mem_flags); 434 gfp_t mem_flags); 498 gfp_t mem_flags, dma_addr_t *dma); 503 size_t size, gfp_t mem_flags, dma_addr_t *dma);
|
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/ |
H A D | mod_host.c | 157 gfp_t mem_flags) in usbhsh_ureq_alloc() 161 ureq = kzalloc(sizeof(struct usbhsh_request), mem_flags); in usbhsh_ureq_alloc() 367 gfp_t mem_flags) in usbhsh_endpoint_attach() 377 uep = kzalloc(sizeof(struct usbhsh_ep), mem_flags); in usbhsh_endpoint_attach() 661 gfp_t mem_flags) in usbhsh_queue_push() 677 ureq = usbhsh_ureq_alloc(hpriv, urb, mem_flags); in usbhsh_queue_push() 811 gfp_t mem_flags) in usbhsh_data_stage_packet_push() 817 ureq = usbhsh_ureq_alloc(hpriv, urb, mem_flags); in usbhsh_data_stage_packet_push() 842 gfp_t mem_flags) in usbhsh_status_stage_packet_push() 847 ureq = usbhsh_ureq_alloc(hpriv, urb, mem_flags); in usbhsh_status_stage_packet_push() 155 usbhsh_ureq_alloc(struct usbhsh_hpriv *hpriv, struct urb *urb, gfp_t mem_flags) usbhsh_ureq_alloc() argument 365 usbhsh_endpoint_attach(struct usbhsh_hpriv *hpriv, struct urb *urb, gfp_t mem_flags) usbhsh_endpoint_attach() argument 659 usbhsh_queue_push(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) usbhsh_queue_push() argument 808 usbhsh_data_stage_packet_push(struct usbhsh_hpriv *hpriv, struct urb *urb, struct usbhs_pipe *pipe, gfp_t mem_flags) usbhsh_data_stage_packet_push() argument 839 usbhsh_status_stage_packet_push(struct usbhsh_hpriv *hpriv, struct urb *urb, struct usbhs_pipe *pipe, gfp_t mem_flags) usbhsh_status_stage_packet_push() argument 948 usbhsh_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) usbhsh_urb_enqueue() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/renesas_usbhs/ |
H A D | mod_host.c | 157 gfp_t mem_flags) in usbhsh_ureq_alloc() 161 ureq = kzalloc(sizeof(struct usbhsh_request), mem_flags); in usbhsh_ureq_alloc() 367 gfp_t mem_flags) in usbhsh_endpoint_attach() 377 uep = kzalloc(sizeof(struct usbhsh_ep), mem_flags); in usbhsh_endpoint_attach() 661 gfp_t mem_flags) in usbhsh_queue_push() 677 ureq = usbhsh_ureq_alloc(hpriv, urb, mem_flags); in usbhsh_queue_push() 811 gfp_t mem_flags) in usbhsh_data_stage_packet_push() 817 ureq = usbhsh_ureq_alloc(hpriv, urb, mem_flags); in usbhsh_data_stage_packet_push() 842 gfp_t mem_flags) in usbhsh_status_stage_packet_push() 847 ureq = usbhsh_ureq_alloc(hpriv, urb, mem_flags); in usbhsh_status_stage_packet_push() 155 usbhsh_ureq_alloc(struct usbhsh_hpriv *hpriv, struct urb *urb, gfp_t mem_flags) usbhsh_ureq_alloc() argument 365 usbhsh_endpoint_attach(struct usbhsh_hpriv *hpriv, struct urb *urb, gfp_t mem_flags) usbhsh_endpoint_attach() argument 659 usbhsh_queue_push(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) usbhsh_queue_push() argument 808 usbhsh_data_stage_packet_push(struct usbhsh_hpriv *hpriv, struct urb *urb, struct usbhs_pipe *pipe, gfp_t mem_flags) usbhsh_data_stage_packet_push() argument 839 usbhsh_status_stage_packet_push(struct usbhsh_hpriv *hpriv, struct urb *urb, struct usbhs_pipe *pipe, gfp_t mem_flags) usbhsh_status_stage_packet_push() argument 948 usbhsh_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) usbhsh_urb_enqueue() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | uss720.c | 125 gfp_t mem_flags) in submit_async_request() 137 rq = kzalloc(sizeof(struct uss720_async_request), mem_flags); in submit_async_request() 145 rq->urb = usb_alloc_urb(0, mem_flags); in submit_async_request() 150 rq->dr = kmalloc(sizeof(*rq->dr), mem_flags); in submit_async_request() 168 ret = usb_submit_urb(rq->urb, mem_flags); in submit_async_request() 193 static int get_1284_register(struct parport *pp, unsigned char reg, unsigned char *val, gfp_t mem_flags) in get_1284_register() argument 205 rq = submit_async_request(priv, 3, 0xc0, ((unsigned int)reg) << 8, 0, mem_flags); in get_1284_register() 229 static int set_1284_register(struct parport *pp, unsigned char reg, unsigned char val, gfp_t mem_flags) in set_1284_register() argument 237 rq = submit_async_request(priv, 4, 0x40, (((unsigned int)reg) << 8) | val, 0, mem_flags); in set_1284_register() 123 submit_async_request(struct parport_uss720_private *priv, __u8 request, __u8 requesttype, __u16 value, __u16 index, gfp_t mem_flags) submit_async_request() argument
|
/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A D | uss720.c | 125 gfp_t mem_flags) in submit_async_request() 137 rq = kzalloc(sizeof(struct uss720_async_request), mem_flags); in submit_async_request() 145 rq->urb = usb_alloc_urb(0, mem_flags); in submit_async_request() 150 rq->dr = kmalloc(sizeof(*rq->dr), mem_flags); in submit_async_request() 168 ret = usb_submit_urb(rq->urb, mem_flags); in submit_async_request() 193 static int get_1284_register(struct parport *pp, unsigned char reg, unsigned char *val, gfp_t mem_flags) in get_1284_register() argument 205 rq = submit_async_request(priv, 3, 0xc0, ((unsigned int)reg) << 8, 0, mem_flags); in get_1284_register() 229 static int set_1284_register(struct parport *pp, unsigned char reg, unsigned char val, gfp_t mem_flags) in set_1284_register() argument 237 rq = submit_async_request(priv, 4, 0x40, (((unsigned int)reg) << 8) | val, 0, mem_flags); in set_1284_register() 123 submit_async_request(struct parport_uss720_private *priv, __u8 request, __u8 requesttype, __u16 value, __u16 index, gfp_t mem_flags) submit_async_request() argument
|
/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | host.c | 408 static int ci_hdrc_alloc_dma_aligned_buffer(struct urb *urb, gfp_t mem_flags) in ci_hdrc_alloc_dma_aligned_buffer() argument 418 temp = kmalloc(sizeof(*temp) + ALIGN(urb->transfer_buffer_length, 4), mem_flags); in ci_hdrc_alloc_dma_aligned_buffer() 434 gfp_t mem_flags) in ci_hdrc_map_urb_for_dma() 438 ret = ci_hdrc_alloc_dma_aligned_buffer(urb, mem_flags); in ci_hdrc_map_urb_for_dma() 442 ret = usb_hcd_map_urb_for_dma(hcd, urb, mem_flags); in ci_hdrc_map_urb_for_dma() 433 ci_hdrc_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags) ci_hdrc_map_urb_for_dma() argument
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | generic.c | 148 * @mem_flags: flags to use for memory allocations 155 gfp_t mem_flags) in usb_serial_generic_write_start() 186 result = usb_submit_urb(urb, mem_flags); in usb_serial_generic_write_start() 301 int index, gfp_t mem_flags) in usb_serial_generic_submit_read_urb() 310 res = usb_submit_urb(port->read_urbs[index], mem_flags); in usb_serial_generic_submit_read_urb() 325 gfp_t mem_flags) in usb_serial_generic_submit_read_urbs() 331 res = usb_serial_generic_submit_read_urb(port, i, mem_flags); in usb_serial_generic_submit_read_urbs() 154 usb_serial_generic_write_start(struct usb_serial_port *port, gfp_t mem_flags) usb_serial_generic_write_start() argument 300 usb_serial_generic_submit_read_urb(struct usb_serial_port *port, int index, gfp_t mem_flags) usb_serial_generic_submit_read_urb() argument 324 usb_serial_generic_submit_read_urbs(struct usb_serial_port *port, gfp_t mem_flags) usb_serial_generic_submit_read_urbs() argument
|
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | generic.c | 148 * @mem_flags: flags to use for memory allocations 155 gfp_t mem_flags) in usb_serial_generic_write_start() 186 result = usb_submit_urb(urb, mem_flags); in usb_serial_generic_write_start() 301 int index, gfp_t mem_flags) in usb_serial_generic_submit_read_urb() 310 res = usb_submit_urb(port->read_urbs[index], mem_flags); in usb_serial_generic_submit_read_urb() 325 gfp_t mem_flags) in usb_serial_generic_submit_read_urbs() 331 res = usb_serial_generic_submit_read_urb(port, i, mem_flags); in usb_serial_generic_submit_read_urbs() 154 usb_serial_generic_write_start(struct usb_serial_port *port, gfp_t mem_flags) usb_serial_generic_write_start() argument 300 usb_serial_generic_submit_read_urb(struct usb_serial_port *port, int index, gfp_t mem_flags) usb_serial_generic_submit_read_urb() argument 324 usb_serial_generic_submit_read_urbs(struct usb_serial_port *port, gfp_t mem_flags) usb_serial_generic_submit_read_urbs() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_ttm_move.c | 99 * Adjusts the GEM object's region, mem_flags and cache coherency after a 106 unsigned int mem_flags; in i915_ttm_adjust_gem_after_move() local 117 mem_flags = I915_BO_FLAG_STRUCT_PAGE; in i915_ttm_adjust_gem_after_move() 121 mem_flags = i915_ttm_cpu_maps_iomem(bo->resource) ? I915_BO_FLAG_IOMEM : in i915_ttm_adjust_gem_after_move() 147 obj->mem_flags &= ~(I915_BO_FLAG_STRUCT_PAGE | I915_BO_FLAG_IOMEM); in i915_ttm_adjust_gem_after_move() 148 obj->mem_flags |= mem_flags; in i915_ttm_adjust_gem_after_move()
|