/kernel/linux/linux-6.6/drivers/media/usb/stk1160/ |
H A D | stk1160-video.c | 407 int sb_size, int max_packets) in stk1160_fill_urb() 411 stk_urb->urb = usb_alloc_urb(max_packets, GFP_KERNEL); in stk1160_fill_urb() 447 int i, j, k, sb_size, max_packets, num_bufs; in stk1160_alloc_isoc() local 461 max_packets = STK1160_NUM_PACKETS; in stk1160_alloc_isoc() 462 sb_size = max_packets * dev->max_pkt_size; in stk1160_alloc_isoc() 471 sb_size, max_packets); in stk1160_alloc_isoc() 496 urb->number_of_packets = max_packets; in stk1160_alloc_isoc() 501 for (j = 0; j < max_packets; j++) { in stk1160_alloc_isoc() 406 stk1160_fill_urb(struct stk1160 *dev, struct stk1160_urb *stk_urb, int sb_size, int max_packets) stk1160_fill_urb() argument
|
/kernel/linux/linux-5.10/drivers/media/usb/stk1160/ |
H A D | stk1160-video.c | 413 int i, j, k, sb_size, max_packets, num_bufs; in stk1160_alloc_isoc() local 426 max_packets = STK1160_NUM_PACKETS; in stk1160_alloc_isoc() 427 sb_size = max_packets * dev->max_pkt_size; in stk1160_alloc_isoc() 448 urb = usb_alloc_urb(max_packets, GFP_KERNEL); in stk1160_alloc_isoc() 481 urb->number_of_packets = max_packets; in stk1160_alloc_isoc() 489 for (j = 0; j < max_packets; j++) { in stk1160_alloc_isoc()
|
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
H A D | cx231xx-vbi.h | 30 int cx231xx_init_vbi_isoc(struct cx231xx *dev, int max_packets,
|
H A D | cx231xx-core.c | 983 int cx231xx_init_isoc(struct cx231xx *dev, int max_packets, in cx231xx_init_isoc() argument 1044 sb_size = max_packets * dev->video_mode.isoc_ctl.max_pkt_size; in cx231xx_init_isoc() 1054 urb = usb_alloc_urb(max_packets, GFP_KERNEL); in cx231xx_init_isoc() 1081 urb->number_of_packets = max_packets; in cx231xx_init_isoc() 1085 for (j = 0; j < max_packets; j++) { in cx231xx_init_isoc() 1120 int cx231xx_init_bulk(struct cx231xx *dev, int max_packets, in cx231xx_init_bulk() argument 1179 sb_size = max_packets * dev->video_mode.bulk_ctl.max_pkt_size; in cx231xx_init_bulk()
|
H A D | cx231xx-vbi.c | 340 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()
|
H A D | cx231xx.h | 864 int cx231xx_init_isoc(struct cx231xx *dev, int max_packets, 868 int cx231xx_init_bulk(struct cx231xx *dev, int max_packets,
|
/kernel/linux/linux-6.6/drivers/media/usb/cx231xx/ |
H A D | cx231xx-vbi.h | 30 int cx231xx_init_vbi_isoc(struct cx231xx *dev, int max_packets,
|
H A D | cx231xx-core.c | 983 int cx231xx_init_isoc(struct cx231xx *dev, int max_packets, in cx231xx_init_isoc() argument 1044 sb_size = max_packets * dev->video_mode.isoc_ctl.max_pkt_size; in cx231xx_init_isoc() 1054 urb = usb_alloc_urb(max_packets, GFP_KERNEL); in cx231xx_init_isoc() 1080 urb->number_of_packets = max_packets; in cx231xx_init_isoc() 1084 for (j = 0; j < max_packets; j++) { in cx231xx_init_isoc() 1119 int cx231xx_init_bulk(struct cx231xx *dev, int max_packets, in cx231xx_init_bulk() argument 1178 sb_size = max_packets * dev->video_mode.bulk_ctl.max_pkt_size; in cx231xx_init_bulk()
|
H A D | cx231xx-vbi.c | 340 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()
|
H A D | cx231xx.h | 862 int cx231xx_init_isoc(struct cx231xx *dev, int max_packets, 866 int cx231xx_init_bulk(struct cx231xx *dev, int max_packets,
|
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_max_descriptors.sh | 231 local max_packets=$1; shift 235 100 * $num_packets / $max_packets
|
/kernel/linux/linux-6.6/drivers/net/ |
H A D | virtio_net.c | 131 u32 max_packets; member 2875 u16 vqn, u32 max_usecs, u32 max_packets); 2920 vi->intr_coal_tx.max_packets); in virtnet_set_ringparam() 2925 vi->sq[i].intr_coal.max_packets = vi->intr_coal_tx.max_packets; in virtnet_set_ringparam() 2936 vi->intr_coal_rx.max_packets); in virtnet_set_ringparam() 2941 vi->rq[i].intr_coal.max_packets = vi->intr_coal_rx.max_packets; in virtnet_set_ringparam() 3295 vi->intr_coal_tx.max_packets = ec->tx_max_coalesced_frames; in virtnet_send_notf_coal_cmds() 3298 vi->sq[i].intr_coal.max_packets in virtnet_send_notf_coal_cmds() 3321 virtnet_send_ctrl_coal_vq_cmd(struct virtnet_info *vi, u16 vqn, u32 max_usecs, u32 max_packets) virtnet_send_ctrl_coal_vq_cmd() argument [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_netem.c | 644 q->slot.packets_left = q->slot_config.max_packets; in get_slot_next() 802 if (q->slot_config.max_packets == 0) in get_slot() 803 q->slot_config.max_packets = INT_MAX; in get_slot() 810 q->slot.packets_left = q->slot_config.max_packets; in get_slot() 1199 if (slot.max_packets == INT_MAX) in netem_dump() 1200 slot.max_packets = 0; in netem_dump()
|
H A D | sch_fq_codel.c | 137 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()
|
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdnsp-mem.c | 730 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()
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_netem.c | 653 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()
|
H A D | sch_fq_codel.c | 137 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()
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | virtio_net.h | 399 __le32 max_packets; member
|
/kernel/linux/linux-5.10/drivers/media/usb/tm6000/ |
H A D | tm6000-video.c | 553 int i, j, sb_size, pipe, size, max_packets; in tm6000_prepare_isoc() local 580 max_packets = TM6000_MAX_ISO_PACKETS; in tm6000_prepare_isoc() 581 sb_size = max_packets * size; in tm6000_prepare_isoc() 600 max_packets, num_bufs, sb_size, in tm6000_prepare_isoc() 616 urb = usb_alloc_urb(max_packets, GFP_KERNEL); in tm6000_prepare_isoc() 631 urb->number_of_packets = max_packets; in tm6000_prepare_isoc() 634 for (j = 0; j < max_packets; j++) { in tm6000_prepare_isoc()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-mac.h | 213 u16 max_packets; /* max packets per interrupt */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-mac.h | 213 u16 max_packets; /* max packets per interrupt */ member
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-mem.c | 1120 u32 max_packets; in xhci_setup_addressable_virt_dev() local 1138 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev() 1142 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev() 1146 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev() 1151 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev() 1155 max_packets = MAX_PACKET(8); in xhci_setup_addressable_virt_dev() 1225 max_packets); in xhci_setup_addressable_virt_dev()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-mem.c | 1074 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()
|
/kernel/linux/linux-5.10/drivers/media/usb/au0828/ |
H A D | au0828-video.c | 195 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() 257 urb->number_of_packets = max_packets; in au0828_init_isoc() 261 for (j = 0; j < max_packets; j++) { in au0828_init_isoc()
|
/kernel/linux/linux-6.6/drivers/media/usb/au0828/ |
H A D | au0828-video.c | 195 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()
|