Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/usb/stk1160/
Dstk1160-video.c424 int i, j, k, sb_size, max_packets, num_bufs; in stk1160_alloc_isoc() local
437 max_packets = STK1160_NUM_PACKETS; in stk1160_alloc_isoc()
438 sb_size = max_packets * dev->max_pkt_size; in stk1160_alloc_isoc()
459 urb = usb_alloc_urb(max_packets, GFP_KERNEL); in stk1160_alloc_isoc()
492 urb->number_of_packets = max_packets; in stk1160_alloc_isoc()
500 for (j = 0; j < max_packets; j++) { in stk1160_alloc_isoc()
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx-vbi.h42 int cx231xx_init_vbi_isoc(struct cx231xx *dev, int max_packets,
Dcx231xx-core.c999 int cx231xx_init_isoc(struct cx231xx *dev, int max_packets, in cx231xx_init_isoc() argument
1058 sb_size = max_packets * dev->video_mode.isoc_ctl.max_pkt_size; in cx231xx_init_isoc()
1068 urb = usb_alloc_urb(max_packets, GFP_KERNEL); in cx231xx_init_isoc()
1095 urb->number_of_packets = max_packets; in cx231xx_init_isoc()
1099 for (j = 0; j < max_packets; j++) { in cx231xx_init_isoc()
1134 int cx231xx_init_bulk(struct cx231xx *dev, int max_packets, in cx231xx_init_bulk() argument
1193 sb_size = max_packets * dev->video_mode.bulk_ctl.max_pkt_size; in cx231xx_init_bulk()
Dcx231xx-vbi.c385 int cx231xx_init_vbi_isoc(struct cx231xx *dev, int max_packets, in cx231xx_init_vbi_isoc() argument
439 sb_size = max_packets * dev->vbi_mode.bulk_ctl.max_pkt_size; in cx231xx_init_vbi_isoc()
Dcx231xx.h889 int cx231xx_init_isoc(struct cx231xx *dev, int max_packets,
893 int cx231xx_init_bulk(struct cx231xx *dev, int max_packets,
/Linux-v4.19/net/sched/
Dsch_netem.c620 q->slot.packets_left = q->slot_config.max_packets; in get_slot_next()
771 if (q->slot_config.max_packets == 0) in get_slot()
772 q->slot_config.max_packets = INT_MAX; in get_slot()
775 q->slot.packets_left = q->slot_config.max_packets; in get_slot()
1157 if (slot.max_packets == INT_MAX) in netem_dump()
1158 slot.max_packets = 0; in netem_dump()
Dsch_fq_codel.c143 static unsigned int fq_codel_drop(struct Qdisc *sch, unsigned int max_packets, in fq_codel_drop() argument
178 } while (++i < max_packets && len < threshold); in fq_codel_drop()
/Linux-v4.19/drivers/media/usb/tm6000/
Dtm6000-video.c554 int i, j, sb_size, pipe, size, max_packets; in tm6000_prepare_isoc() local
581 max_packets = TM6000_MAX_ISO_PACKETS; in tm6000_prepare_isoc()
582 sb_size = max_packets * size; in tm6000_prepare_isoc()
601 max_packets, num_bufs, sb_size, in tm6000_prepare_isoc()
617 urb = usb_alloc_urb(max_packets, GFP_KERNEL); in tm6000_prepare_isoc()
632 urb->number_of_packets = max_packets; in tm6000_prepare_isoc()
635 for (j = 0; j < max_packets; j++) { in tm6000_prepare_isoc()
/Linux-v4.19/drivers/net/ethernet/qualcomm/emac/
Demac-mac.h221 u16 max_packets; /* max packets per interrupt */ member
/Linux-v4.19/drivers/usb/host/
Dxhci-mem.c1098 u32 max_packets; in xhci_setup_addressable_virt_dev() local
1116 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev()
1120 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev()
1124 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev()
1129 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev()
1133 max_packets = MAX_PACKET(8); in xhci_setup_addressable_virt_dev()
1203 max_packets); in xhci_setup_addressable_virt_dev()
/Linux-v4.19/drivers/media/usb/au0828/
Dau0828-video.c204 static int au0828_init_isoc(struct au0828_dev *dev, int max_packets, in au0828_init_isoc() argument
237 sb_size = max_packets * dev->isoc_ctl.max_pkt_size; in au0828_init_isoc()
241 urb = usb_alloc_urb(max_packets, GFP_KERNEL); in au0828_init_isoc()
266 urb->number_of_packets = max_packets; in au0828_init_isoc()
270 for (j = 0; j < max_packets; j++) { in au0828_init_isoc()
/Linux-v4.19/include/uapi/linux/
Dpkt_sched.h598 __s32 max_packets; member