Home
last modified time | relevance | path

Searched refs:max_packets (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.6/drivers/media/usb/stk1160/
Dstk1160-video.c408 int sb_size, int max_packets) in stk1160_fill_urb() argument
412 stk_urb->urb = usb_alloc_urb(max_packets, GFP_KERNEL); in stk1160_fill_urb()
448 int i, j, k, sb_size, max_packets, num_bufs; in stk1160_alloc_isoc() local
462 max_packets = STK1160_NUM_PACKETS; in stk1160_alloc_isoc()
463 sb_size = max_packets * dev->max_pkt_size; in stk1160_alloc_isoc()
472 sb_size, max_packets); in stk1160_alloc_isoc()
497 urb->number_of_packets = max_packets; in stk1160_alloc_isoc()
502 for (j = 0; j < max_packets; j++) { in stk1160_alloc_isoc()
/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/
Dqos_max_descriptors.sh231 local max_packets=$1; shift
235 100 * $num_packets / $max_packets
/Linux-v6.6/drivers/media/usb/cx231xx/
Dcx231xx-vbi.h30 int cx231xx_init_vbi_isoc(struct cx231xx *dev, int max_packets,
Dcx231xx-core.c983 int cx231xx_init_isoc(struct cx231xx *dev, int max_packets, in cx231xx_init_isoc() argument
1042 sb_size = max_packets * dev->video_mode.isoc_ctl.max_pkt_size; in cx231xx_init_isoc()
1052 urb = usb_alloc_urb(max_packets, GFP_KERNEL); in cx231xx_init_isoc()
1078 urb->number_of_packets = max_packets; in cx231xx_init_isoc()
1082 for (j = 0; j < max_packets; j++) { in cx231xx_init_isoc()
1117 int cx231xx_init_bulk(struct cx231xx *dev, int max_packets, in cx231xx_init_bulk() argument
1176 sb_size = max_packets * dev->video_mode.bulk_ctl.max_pkt_size; in cx231xx_init_bulk()
Dcx231xx-vbi.c340 int cx231xx_init_vbi_isoc(struct cx231xx *dev, int max_packets, in cx231xx_init_vbi_isoc() argument
394 sb_size = max_packets * dev->vbi_mode.bulk_ctl.max_pkt_size; in cx231xx_init_vbi_isoc()
Dcx231xx.h862 int cx231xx_init_isoc(struct cx231xx *dev, int max_packets,
866 int cx231xx_init_bulk(struct cx231xx *dev, int max_packets,
/Linux-v6.6/drivers/usb/cdns3/
Dcdnsp-mem.c730 u32 max_packets, port; in cdnsp_setup_addressable_priv_dev() local
741 max_packets = MAX_PACKET(512); in cdnsp_setup_addressable_priv_dev()
745 max_packets = MAX_PACKET(512); in cdnsp_setup_addressable_priv_dev()
749 max_packets = MAX_PACKET(64); in cdnsp_setup_addressable_priv_dev()
753 max_packets = MAX_PACKET(64); in cdnsp_setup_addressable_priv_dev()
767 max_packets); in cdnsp_setup_addressable_priv_dev()
/Linux-v6.6/net/sched/
Dsch_netem.c653 q->slot.packets_left = q->slot_config.max_packets; in get_slot_next()
812 if (q->slot_config.max_packets == 0) in get_slot()
813 q->slot_config.max_packets = INT_MAX; in get_slot()
820 q->slot.packets_left = q->slot_config.max_packets; in get_slot()
1213 if (slot.max_packets == INT_MAX) in netem_dump()
1214 slot.max_packets = 0; in netem_dump()
Dsch_fq_codel.c137 static unsigned int fq_codel_drop(struct Qdisc *sch, unsigned int max_packets, in fq_codel_drop() argument
172 } while (++i < max_packets && len < threshold); in fq_codel_drop()
/Linux-v6.6/include/uapi/linux/
Dvirtio_net.h399 __le32 max_packets; member
Dpkt_sched.h647 __s32 max_packets; member
/Linux-v6.6/drivers/net/
Dvirtio_net.c131 u32 max_packets; member
3248 vi->intr_coal_tx.max_packets = ec->tx_max_coalesced_frames; in virtnet_send_notf_coal_cmds()
3261 vi->intr_coal_rx.max_packets = ec->rx_max_coalesced_frames; in virtnet_send_notf_coal_cmds()
3267 u16 vqn, u32 max_usecs, u32 max_packets) in virtnet_send_ctrl_coal_vq_cmd() argument
3273 vi->ctrl->coal_vq.coal.max_packets = cpu_to_le32(max_packets); in virtnet_send_ctrl_coal_vq_cmd()
3298 vi->rq[queue].intr_coal.max_packets = ec->rx_max_coalesced_frames; in virtnet_send_notf_coal_vq_cmds()
3309 vi->sq[queue].intr_coal.max_packets = ec->tx_max_coalesced_frames; in virtnet_send_notf_coal_vq_cmds()
3394 ec->tx_max_coalesced_frames = vi->intr_coal_tx.max_packets; in virtnet_get_coalesce()
3395 ec->rx_max_coalesced_frames = vi->intr_coal_rx.max_packets; in virtnet_get_coalesce()
3451 ec->tx_max_coalesced_frames = vi->sq[queue].intr_coal.max_packets; in virtnet_get_per_queue_coalesce()
[all …]
/Linux-v6.6/drivers/net/ethernet/qualcomm/emac/
Demac-mac.h213 u16 max_packets; /* max packets per interrupt */ member
/Linux-v6.6/drivers/usb/host/
Dxhci-mem.c1074 u32 max_packets; in xhci_setup_addressable_virt_dev() local
1092 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev()
1096 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev()
1100 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev()
1105 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev()
1109 max_packets = MAX_PACKET(8); in xhci_setup_addressable_virt_dev()
1175 max_packets); in xhci_setup_addressable_virt_dev()
/Linux-v6.6/drivers/media/usb/au0828/
Dau0828-video.c195 static int au0828_init_isoc(struct au0828_dev *dev, int max_packets, in au0828_init_isoc() argument
228 sb_size = max_packets * dev->isoc_ctl.max_pkt_size; in au0828_init_isoc()
232 urb = usb_alloc_urb(max_packets, GFP_KERNEL); in au0828_init_isoc()
256 urb->number_of_packets = max_packets; in au0828_init_isoc()
260 for (j = 0; j < max_packets; j++) { in au0828_init_isoc()
/Linux-v6.6/tools/include/uapi/linux/
Dpkt_sched.h626 __s32 max_packets; member