Home
last modified time | relevance | path

Searched refs:max_packet (Results 1 - 25 of 59) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-vchiq.c17 unsigned int max_packet; member
233 instance->max_packet = 0; /* bulk transfer */ in bcm2835_audio_open()
235 instance->max_packet = 4000; in bcm2835_audio_open()
328 .write.max_packet = instance->max_packet, in bcm2835_audio_write()
344 if (!instance->max_packet) { in bcm2835_audio_write()
351 int bytes = min(instance->max_packet, count); in bcm2835_audio_write()
H A Dvc_vchi_audioserv_defs.h67 s16 max_packet; member
/kernel/linux/linux-6.6/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-vchiq.c17 unsigned int max_packet; member
240 instance->max_packet = 0; /* bulk transfer */ in bcm2835_audio_open()
242 instance->max_packet = 4000; in bcm2835_audio_open()
337 .write.max_packet = instance->max_packet, in bcm2835_audio_write()
353 if (!instance->max_packet) { in bcm2835_audio_write()
359 int bytes = min(instance->max_packet, count); in bcm2835_audio_write()
H A Dvc_vchi_audioserv_defs.h67 s16 max_packet; member
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdnsp-mem.c31 unsigned int max_packet, in cdnsp_segment_alloc()
48 if (max_packet) { in cdnsp_segment_alloc()
49 seg->bounce_buf = kzalloc(max_packet, flags | GFP_DMA); in cdnsp_segment_alloc()
328 unsigned int max_packet, in cdnsp_alloc_segments_for_ring()
334 prev = cdnsp_segment_alloc(pdev, cycle_state, max_packet, flags); in cdnsp_alloc_segments_for_ring()
346 max_packet, flags); in cdnsp_alloc_segments_for_ring()
373 unsigned int max_packet, in cdnsp_ring_alloc()
384 ring->bounce_buf_len = max_packet; in cdnsp_ring_alloc()
393 1, type, max_packet, flags); in cdnsp_ring_alloc()
918 int max_packet; in cdnsp_get_max_esit_payload() local
29 cdnsp_segment_alloc(struct cdnsp_device *pdev, unsigned int cycle_state, unsigned int max_packet, gfp_t flags) cdnsp_segment_alloc() argument
322 cdnsp_alloc_segments_for_ring(struct cdnsp_device *pdev, struct cdnsp_segment **first, struct cdnsp_segment **last, unsigned int num_segs, unsigned int cycle_state, enum cdnsp_ring_type type, unsigned int max_packet, gfp_t flags) cdnsp_alloc_segments_for_ring() argument
370 cdnsp_ring_alloc(struct cdnsp_device *pdev, unsigned int num_segs, enum cdnsp_ring_type type, unsigned int max_packet, gfp_t flags) cdnsp_ring_alloc() argument
949 unsigned int max_packet; cdnsp_endpoint_init() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/octeon-usb/
H A Docteon-hcd.c305 * @max_packet: The device's maximum packet size in bytes
326 u16 max_packet; member
1047 * @max_packet: The maximum packet length the device can
1088 int max_packet, in cvmx_usb_open_pipe()
1109 pipe->max_packet = max_packet; in cvmx_usb_open_pipe()
1401 else if (bytes_to_transfer > pipe->max_packet) in cvmx_usb_start_channel_control()
1402 bytes_to_transfer = pipe->max_packet; in cvmx_usb_start_channel_control()
1450 bytes_to_transfer = MAX_TRANSFER_BYTES / pipe->max_packet; in cvmx_usb_start_channel_control()
1451 bytes_to_transfer *= pipe->max_packet; in cvmx_usb_start_channel_control()
1083 cvmx_usb_open_pipe(struct octeon_hcd *usb, int device_addr, int endpoint_num, enum cvmx_usb_speed device_speed, int max_packet, enum cvmx_usb_transfer transfer_type, enum cvmx_usb_direction transfer_dir, int interval, int multi_count, int hub_device_addr, int hub_port) cvmx_usb_open_pipe() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Docteon-hcd.c307 * @max_packet: The device's maximum packet size in bytes
328 u16 max_packet; member
1049 * @max_packet: The maximum packet length the device can
1090 int max_packet, in cvmx_usb_open_pipe()
1111 pipe->max_packet = max_packet; in cvmx_usb_open_pipe()
1403 else if (bytes_to_transfer > pipe->max_packet) in cvmx_usb_start_channel_control()
1404 bytes_to_transfer = pipe->max_packet; in cvmx_usb_start_channel_control()
1452 bytes_to_transfer = MAX_TRANSFER_BYTES / pipe->max_packet; in cvmx_usb_start_channel_control()
1453 bytes_to_transfer *= pipe->max_packet; in cvmx_usb_start_channel_control()
1085 cvmx_usb_open_pipe(struct octeon_hcd *usb, int device_addr, int endpoint_num, enum cvmx_usb_speed device_speed, int max_packet, enum cvmx_usb_transfer transfer_type, enum cvmx_usb_direction transfer_dir, int interval, int multi_count, int hub_device_addr, int hub_port) cvmx_usb_open_pipe() argument
[all...]
H A Dxhci-mem.c31 unsigned int max_packet, in xhci_segment_alloc()
49 if (max_packet) { in xhci_segment_alloc()
50 seg->bounce_buf = kzalloc_node(max_packet, flags, in xhci_segment_alloc()
324 enum xhci_ring_type type, unsigned int max_packet, gfp_t flags) in xhci_alloc_segments_for_ring()
334 prev = xhci_segment_alloc(xhci, cycle_state, max_packet, flags); in xhci_alloc_segments_for_ring()
343 next = xhci_segment_alloc(xhci, cycle_state, max_packet, flags); in xhci_alloc_segments_for_ring()
373 enum xhci_ring_type type, unsigned int max_packet, gfp_t flags) in xhci_ring_alloc()
384 ring->bounce_buf_len = max_packet; in xhci_ring_alloc()
392 max_packet, flags); in xhci_ring_alloc()
592 unsigned int max_packet, gfp_ in xhci_alloc_stream_info()
29 xhci_segment_alloc(struct xhci_hcd *xhci, unsigned int cycle_state, unsigned int max_packet, gfp_t flags) xhci_segment_alloc() argument
321 xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, struct xhci_segment **first, struct xhci_segment **last, unsigned int num_segs, unsigned int cycle_state, enum xhci_ring_type type, unsigned int max_packet, gfp_t flags) xhci_alloc_segments_for_ring() argument
371 xhci_ring_alloc(struct xhci_hcd *xhci, unsigned int num_segs, unsigned int cycle_state, enum xhci_ring_type type, unsigned int max_packet, gfp_t flags) xhci_ring_alloc() 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
1369 int max_packet; xhci_get_max_esit_payload() local
1403 unsigned int max_packet; xhci_endpoint_init() local
[all...]
H A Dmax3421-hcd.c528 u32 max_packet; in max3421_transfer_out() local
543 max_packet = usb_maxpacket(urb->dev, urb->pipe); in max3421_transfer_out()
545 if (max_packet > MAX3421_FIFO_SIZE) { in max3421_transfer_out()
552 __func__, max_packet, MAX3421_FIFO_SIZE); in max3421_transfer_out()
557 urb->actual_length), max_packet); in max3421_transfer_out()
937 u32 max_packet; in max3421_transfer_in_done() local
946 max_packet = usb_maxpacket(urb->dev, urb->pipe); in max3421_transfer_in_done()
947 if (max_packet > MAX3421_FIFO_SIZE) { in max3421_transfer_in_done()
954 __func__, max_packet, MAX3421_FIFO_SIZE); in max3421_transfer_in_done()
958 if (max3421_hcd->curr_len < max_packet) { in max3421_transfer_in_done()
992 u32 max_packet = usb_maxpacket(urb->dev, urb->pipe); max3421_transfer_out_done() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-mem.c30 unsigned int max_packet, in xhci_segment_alloc()
48 if (max_packet) { in xhci_segment_alloc()
49 seg->bounce_buf = kzalloc_node(max_packet, flags, in xhci_segment_alloc()
324 enum xhci_ring_type type, unsigned int max_packet, gfp_t flags) in xhci_alloc_segments_for_ring()
334 prev = xhci_segment_alloc(xhci, cycle_state, max_packet, flags); in xhci_alloc_segments_for_ring()
343 next = xhci_segment_alloc(xhci, cycle_state, max_packet, flags); in xhci_alloc_segments_for_ring()
373 enum xhci_ring_type type, unsigned int max_packet, gfp_t flags) in xhci_ring_alloc()
384 ring->bounce_buf_len = max_packet; in xhci_ring_alloc()
392 max_packet, flags); in xhci_ring_alloc()
624 unsigned int max_packet, gfp_ in xhci_alloc_stream_info()
28 xhci_segment_alloc(struct xhci_hcd *xhci, unsigned int cycle_state, unsigned int max_packet, gfp_t flags) xhci_segment_alloc() argument
321 xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, struct xhci_segment **first, struct xhci_segment **last, unsigned int num_segs, unsigned int cycle_state, enum xhci_ring_type type, unsigned int max_packet, gfp_t flags) xhci_alloc_segments_for_ring() argument
371 xhci_ring_alloc(struct xhci_hcd *xhci, unsigned int num_segs, unsigned int cycle_state, enum xhci_ring_type type, unsigned int max_packet, gfp_t flags) xhci_ring_alloc() 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
1419 int max_packet; xhci_get_max_esit_payload() local
1452 unsigned int max_packet; xhci_endpoint_init() local
[all...]
H A Dmax3421-hcd.c534 u32 max_packet; in max3421_transfer_out() local
549 max_packet = usb_maxpacket(urb->dev, urb->pipe, 1); in max3421_transfer_out()
551 if (max_packet > MAX3421_FIFO_SIZE) { in max3421_transfer_out()
558 __func__, max_packet, MAX3421_FIFO_SIZE); in max3421_transfer_out()
563 urb->actual_length), max_packet); in max3421_transfer_out()
946 u32 max_packet; in max3421_transfer_in_done() local
955 max_packet = usb_maxpacket(urb->dev, urb->pipe, 0); in max3421_transfer_in_done()
956 if (max_packet > MAX3421_FIFO_SIZE) { in max3421_transfer_in_done()
963 __func__, max_packet, MAX3421_FIFO_SIZE); in max3421_transfer_in_done()
967 if (max3421_hcd->curr_len < max_packet) { in max3421_transfer_in_done()
1001 u32 max_packet = usb_maxpacket(urb->dev, urb->pipe, 1); max3421_transfer_out_done() local
[all...]
/kernel/linux/linux-5.10/drivers/media/rc/
H A Dttusbir.c201 int max_packet, bulk_out_endp = -1, iso_in_endp = -1; in ttusbir_probe() local
207 max_packet = le16_to_cpu(desc->wMaxPacketSize); in ttusbir_probe()
210 max_packet == 0x10) in ttusbir_probe()
214 max_packet == 0x20) in ttusbir_probe()
/kernel/linux/linux-6.6/drivers/media/rc/
H A Dttusbir.c199 int max_packet, bulk_out_endp = -1, iso_in_endp = -1; in ttusbir_probe() local
205 max_packet = le16_to_cpu(desc->wMaxPacketSize); in ttusbir_probe()
208 max_packet == 0x10) in ttusbir_probe()
212 max_packet == 0x20) in ttusbir_probe()
/kernel/linux/linux-5.10/arch/um/include/shared/
H A Dnet_user.h23 int max_packet; member
H A Dnet_kern.h32 int max_packet; member
/kernel/linux/linux-6.6/arch/um/include/shared/
H A Dnet_user.h23 int max_packet; member
H A Dnet_kern.h32 int max_packet; member
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dnet_kern.c80 skb = dev_alloc_skb(lp->max_packet); in uml_net_rx()
90 skb_put(skb, lp->max_packet); in uml_net_rx()
437 .max_packet = transport->user->max_packet, in eth_configure()
460 err = update_drop_skb(lp->max_packet); in eth_configure()
H A Dvector_kern.h96 int max_packet; member
H A Dvde_user.c72 .max_packet = ETH_MAX_PACKET + ETH_HEADER_OTHER,
H A Dslirp_user.c124 .max_packet = BUF_SIZE,
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dnet_kern.c80 skb = dev_alloc_skb(lp->max_packet); in uml_net_rx()
90 skb_put(skb, lp->max_packet); in uml_net_rx()
438 .max_packet = transport->user->max_packet, in eth_configure()
461 err = update_drop_skb(lp->max_packet); in eth_configure()
H A Dvector_kern.h98 int max_packet; member
/kernel/linux/linux-5.10/drivers/usb/dwc2/
H A Dhcd_ddma.c697 if (len > HOST_DMA_NBYTES_LIMIT - (chan->max_packet - 1)) in dwc2_fill_host_dma_desc()
698 len = HOST_DMA_NBYTES_LIMIT - (chan->max_packet - 1); in dwc2_fill_host_dma_desc()
703 if (len > 0 && chan->max_packet) in dwc2_fill_host_dma_desc()
704 num_packets = (len + chan->max_packet - 1) in dwc2_fill_host_dma_desc()
705 / chan->max_packet; in dwc2_fill_host_dma_desc()
711 len = num_packets * chan->max_packet; in dwc2_fill_host_dma_desc()
/kernel/linux/linux-6.6/drivers/usb/dwc2/
H A Dhcd_ddma.c667 if (len > HOST_DMA_NBYTES_LIMIT - (chan->max_packet - 1)) in dwc2_fill_host_dma_desc()
668 len = HOST_DMA_NBYTES_LIMIT - (chan->max_packet - 1); in dwc2_fill_host_dma_desc()
673 if (len > 0 && chan->max_packet) in dwc2_fill_host_dma_desc()
674 num_packets = (len + chan->max_packet - 1) in dwc2_fill_host_dma_desc()
675 / chan->max_packet; in dwc2_fill_host_dma_desc()
681 len = num_packets * chan->max_packet; in dwc2_fill_host_dma_desc()

Completed in 38 milliseconds

123