/linux-6.6.21/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-vchiq.c | 17 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()
|
D | vc_vchi_audioserv_defs.h | 67 s16 max_packet; member
|
/linux-6.6.21/drivers/usb/cdns3/ |
D | cdnsp-mem.c | 31 unsigned int max_packet, in cdnsp_segment_alloc() argument 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() argument 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() argument 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 [all …]
|
/linux-6.6.21/drivers/usb/host/ |
D | octeon-hcd.c | 328 u16 max_packet; member 1090 int max_packet, in cvmx_usb_open_pipe() argument 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() 1461 pipe->max_packet); in cvmx_usb_start_channel_control() 1472 bytes_to_transfer = packets_to_transfer * pipe->max_packet; in cvmx_usb_start_channel_control() 1479 bytes_to_transfer = packets_to_transfer * pipe->max_packet; in cvmx_usb_start_channel_control() [all …]
|
D | xhci-mem.c | 31 unsigned int max_packet, in xhci_segment_alloc() argument 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() argument 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() argument 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_t mem_flags) in xhci_alloc_stream_info() argument [all …]
|
D | max3421-hcd.c | 528 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() [all …]
|
/linux-6.6.21/drivers/media/rc/ |
D | ttusbir.c | 199 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()
|
/linux-6.6.21/arch/um/include/shared/ |
D | net_user.h | 23 int max_packet; member
|
D | net_kern.h | 32 int max_packet; member
|
/linux-6.6.21/arch/um/drivers/ |
D | net_kern.c | 80 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()
|
D | vector_kern.h | 98 int max_packet; member
|
D | vector_kern.c | 619 int linear = vp->max_packet + vp->headroom + SAFETY_MARGIN; in prep_skb() 632 len - vp->max_packet, in prep_skb() 646 skb_put(result, vp->max_packet); in prep_skb() 647 result->data_len = len - vp->max_packet; in prep_skb() 648 result->len += len - vp->max_packet; in prep_skb() 652 iov[iov_index].iov_len = vp->max_packet; in prep_skb() 1360 vp->req_size = vp->max_packet + vp->headroom + SAFETY_MARGIN; in vector_set_features() 1611 .max_packet = get_mtu(def) + ETH_HEADER_OTHER, in vector_eth_configure()
|
D | slirp_user.c | 124 .max_packet = BUF_SIZE,
|
D | vde_user.c | 72 .max_packet = ETH_MAX_PACKET + ETH_HEADER_OTHER,
|
D | pcap_user.c | 136 .max_packet = ETH_MAX_PACKET + ETH_HEADER_OTHER,
|
D | umcast_user.c | 183 .max_packet = ETH_MAX_PACKET + ETH_HEADER_OTHER,
|
D | daemon_user.c | 193 .max_packet = ETH_MAX_PACKET + ETH_HEADER_OTHER,
|
D | slip_user.c | 251 .max_packet = BUF_SIZE,
|
/linux-6.6.21/drivers/usb/dwc2/ |
D | hcd_ddma.c | 667 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()
|
D | hcd.c | 430 dev_dbg(hsotg->dev, " max_packet: %d\n", chan->max_packet); in dwc2_dump_channel_info() 680 hcchar |= chan->max_packet << HCCHAR_MPS_SHIFT & HCCHAR_MPS_MASK; in dwc2_hc_init() 699 chan->max_packet); in dwc2_hc_init() 729 chan->max_packet); in dwc2_hc_init() 1106 if (remaining_count > chan->max_packet) in dwc2_hc_write_packet() 1107 byte_count = chan->max_packet; in dwc2_hc_write_packet() 1231 else if (chan->ep_is_in || chan->xfer_len > chan->max_packet) in dwc2_hc_start_transfer() 1232 chan->xfer_len = chan->max_packet; in dwc2_hc_start_transfer() 1262 chan->multi_count * chan->max_packet; in dwc2_hc_start_transfer() 1272 max_hc_xfer_size - chan->max_packet + 1; in dwc2_hc_start_transfer() [all …]
|
D | hcd.h | 97 unsigned max_packet:11; member
|
/linux-6.6.21/drivers/staging/octeon/ |
D | ethernet.c | 256 int max_packet = new_mtu + mtu_overhead; in cvm_oct_common_change_mtu() local 262 max_packet); in cvm_oct_common_change_mtu() 272 frm_len_chk.s.maxlen = max_packet; in cvm_oct_common_change_mtu() 282 (max_packet + 7) & ~7u); in cvm_oct_common_change_mtu()
|
/linux-6.6.21/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 214 .max_packet = ETH_MAX_PACKET + ETH_HEADER_OTHER,
|
D | ethertap_user.c | 247 .max_packet = ETH_MAX_PACKET + ETH_HEADER_ETHERTAP,
|
/linux-6.6.21/drivers/net/ethernet/cavium/octeon/ |
D | octeon_mgmt.c | 650 int max_packet = new_mtu + ETH_HLEN + ETH_FCS_LEN; in octeon_mgmt_change_mtu() local 657 cvmx_write_csr(p->agl + AGL_GMX_RX_FRM_MAX, max_packet); in octeon_mgmt_change_mtu() 664 (max_packet + 7 + VLAN_HLEN * 2) & 0xfff8); in octeon_mgmt_change_mtu()
|