/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-vchiq.c | 17 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()
|
D | vc_vchi_audioserv_defs.h | 67 s16 max_packet; member
|
/kernel/linux/linux-5.10/drivers/staging/octeon-usb/ |
D | octeon-hcd.c | 326 u16 max_packet; member 1088 int max_packet, in cvmx_usb_open_pipe() argument 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() 1459 pipe->max_packet); in cvmx_usb_start_channel_control() 1470 bytes_to_transfer = packets_to_transfer * pipe->max_packet; in cvmx_usb_start_channel_control() 1477 bytes_to_transfer = packets_to_transfer * pipe->max_packet; in cvmx_usb_start_channel_control() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | xhci-mem.c | 30 unsigned int max_packet, in xhci_segment_alloc() argument 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() 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() 624 unsigned int max_packet, gfp_t mem_flags) in xhci_alloc_stream_info() argument [all …]
|
D | max3421-hcd.c | 534 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() [all …]
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
D | ttusbir.c | 201 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-5.10/arch/um/include/shared/ |
D | net_user.h | 23 int max_packet; member
|
D | net_kern.h | 32 int max_packet; member
|
/kernel/linux/linux-5.10/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() 437 .max_packet = transport->user->max_packet, in eth_configure() 460 err = update_drop_skb(lp->max_packet); in eth_configure()
|
D | vector_kern.h | 96 int max_packet; member
|
D | vector_kern.c | 623 int linear = vp->max_packet + vp->headroom + SAFETY_MARGIN; in prep_skb() 636 len - vp->max_packet, in prep_skb() 650 skb_put(result, vp->max_packet); in prep_skb() 651 result->data_len = len - vp->max_packet; in prep_skb() 652 result->len += len - vp->max_packet; in prep_skb() 656 iov[iov_index].iov_len = vp->max_packet; in prep_skb() 1366 vp->req_size = vp->max_packet + vp->headroom + SAFETY_MARGIN; in vector_set_features() 1610 .max_packet = get_mtu(def) + ETH_HEADER_OTHER, in vector_eth_configure()
|
D | vde_user.c | 72 .max_packet = ETH_MAX_PACKET + ETH_HEADER_OTHER,
|
D | slirp_user.c | 124 .max_packet = BUF_SIZE,
|
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,
|
/kernel/linux/linux-5.10/drivers/usb/dwc2/ |
D | hcd_ddma.c | 697 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()
|
D | hcd.c | 465 dev_dbg(hsotg->dev, " max_packet: %d\n", chan->max_packet); in dwc2_dump_channel_info() 715 hcchar |= chan->max_packet << HCCHAR_MPS_SHIFT & HCCHAR_MPS_MASK; in dwc2_hc_init() 734 chan->max_packet); in dwc2_hc_init() 764 chan->max_packet); in dwc2_hc_init() 1141 if (remaining_count > chan->max_packet) in dwc2_hc_write_packet() 1142 byte_count = chan->max_packet; in dwc2_hc_write_packet() 1266 else if (chan->ep_is_in || chan->xfer_len > chan->max_packet) in dwc2_hc_start_transfer() 1267 chan->xfer_len = chan->max_packet; in dwc2_hc_start_transfer() 1297 chan->multi_count * chan->max_packet; in dwc2_hc_start_transfer() 1307 max_hc_xfer_size - chan->max_packet + 1; in dwc2_hc_start_transfer() [all …]
|
D | hcd.h | 126 unsigned max_packet:11; member
|
D | hcd_intr.c | 469 length = (chan->start_pkt_count - count) * chan->max_packet; in dwc2_get_actual_xfer_length() 514 !(urb->length % chan->max_packet)) { in dwc2_update_urb_state() 1195 dev_vdbg(hsotg->dev, " chan->max_packet %d\n", chan->max_packet); in dwc2_update_urb_state_abn()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/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()
|