Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/usb/stk1160/
Dstk1160-video.c414 int i, j, k, sb_size, max_packets, num_bufs; in stk1160_alloc_isoc() local
427 max_packets = STK1160_NUM_PACKETS; in stk1160_alloc_isoc()
428 sb_size = max_packets * dev->max_pkt_size; in stk1160_alloc_isoc()
449 urb = usb_alloc_urb(max_packets, GFP_KERNEL); in stk1160_alloc_isoc()
482 urb->number_of_packets = max_packets; in stk1160_alloc_isoc()
490 for (j = 0; j < max_packets; j++) { in stk1160_alloc_isoc()
/Linux-v5.10/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()
1079 urb->number_of_packets = max_packets; in cx231xx_init_isoc()
1083 for (j = 0; j < max_packets; j++) { in cx231xx_init_isoc()
1118 int cx231xx_init_bulk(struct cx231xx *dev, int max_packets, in cx231xx_init_bulk() argument
1177 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.h864 int cx231xx_init_isoc(struct cx231xx *dev, int max_packets,
868 int cx231xx_init_bulk(struct cx231xx *dev, int max_packets,
/Linux-v5.10/net/sched/
Dsch_netem.c644 q->slot.packets_left = q->slot_config.max_packets; in get_slot_next()
811 if (q->slot_config.max_packets == 0) in get_slot()
812 q->slot_config.max_packets = INT_MAX; in get_slot()
819 q->slot.packets_left = q->slot_config.max_packets; in get_slot()
1205 if (slot.max_packets == INT_MAX) in netem_dump()
1206 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-v5.10/drivers/media/usb/tm6000/
Dtm6000-video.c552 int i, j, sb_size, pipe, size, max_packets; in tm6000_prepare_isoc() local
579 max_packets = TM6000_MAX_ISO_PACKETS; in tm6000_prepare_isoc()
580 sb_size = max_packets * size; in tm6000_prepare_isoc()
599 max_packets, num_bufs, sb_size, in tm6000_prepare_isoc()
615 urb = usb_alloc_urb(max_packets, GFP_KERNEL); in tm6000_prepare_isoc()
630 urb->number_of_packets = max_packets; in tm6000_prepare_isoc()
633 for (j = 0; j < max_packets; j++) { in tm6000_prepare_isoc()
/Linux-v5.10/drivers/net/ethernet/qualcomm/emac/
Demac-mac.h213 u16 max_packets; /* max packets per interrupt */ member
/Linux-v5.10/drivers/usb/host/
Dxhci-mem.c1107 u32 max_packets; in xhci_setup_addressable_virt_dev() local
1125 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev()
1129 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev()
1133 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev()
1138 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev()
1142 max_packets = MAX_PACKET(8); in xhci_setup_addressable_virt_dev()
1212 max_packets); in xhci_setup_addressable_virt_dev()
/Linux-v5.10/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()
257 urb->number_of_packets = max_packets; in au0828_init_isoc()
261 for (j = 0; j < max_packets; j++) { in au0828_init_isoc()
/Linux-v5.10/tools/include/uapi/linux/
Dpkt_sched.h625 __s32 max_packets; member
/Linux-v5.10/include/uapi/linux/
Dpkt_sched.h645 __s32 max_packets; member