Home
last modified time | relevance | path

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

/linux/drivers/media/usb/stk1160/
H A Dstk1160-video.c402 int sb_size, int max_packets) in stk1160_fill_urb() argument
404 stk_urb->urb = usb_alloc_urb(max_packets, GFP_KERNEL); in stk1160_fill_urb()
429 int i, j, k, sb_size, max_packets, num_bufs; in stk1160_alloc_isoc() local
443 max_packets = STK1160_NUM_PACKETS; in stk1160_alloc_isoc()
444 sb_size = max_packets * dev->max_pkt_size; in stk1160_alloc_isoc()
453 sb_size, max_packets); in stk1160_alloc_isoc()
478 urb->number_of_packets = max_packets; in stk1160_alloc_isoc()
484 for (j = 0; j < max_packets; j++) { in stk1160_alloc_isoc()
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_max_descriptors.sh197 local max_packets=$1; shift
201 100 * $num_packets / $max_packets
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-vbi.h30 int cx231xx_init_vbi_isoc(struct cx231xx *dev, int max_packets,
H A Dcx231xx-core.c982 int cx231xx_init_isoc(struct cx231xx *dev, int max_packets, in cx231xx_init_isoc() argument
1043 sb_size = max_packets * dev->video_mode.isoc_ctl.max_pkt_size; in cx231xx_init_isoc()
1053 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()
H A Dcx231xx-vbi.c338 int cx231xx_init_vbi_isoc(struct cx231xx *dev, int max_packets, in cx231xx_init_vbi_isoc() argument
392 sb_size = max_packets * dev->vbi_mode.bulk_ctl.max_pkt_size; in cx231xx_init_vbi_isoc()
H A Dcx231xx.h864 int cx231xx_init_isoc(struct cx231xx *dev, int max_packets,
868 int cx231xx_init_bulk(struct cx231xx *dev, int max_packets,
/linux/drivers/usb/cdns3/
H A 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/net/sched/
H A Dsch_netem.c669 q->slot.packets_left = q->slot_config.max_packets; in get_slot_next()
833 if (q->slot_config.max_packets == 0) in get_slot()
834 q->slot_config.max_packets = INT_MAX; in get_slot()
841 q->slot.packets_left = q->slot_config.max_packets; in get_slot()
1274 if (slot.max_packets == INT_MAX) in netem_dump()
1275 slot.max_packets = 0; in netem_dump()
/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac-mac.h213 u16 max_packets; /* max packets per interrupt */ member
/linux/drivers/usb/host/
H A Dxhci-mem.c1096 u32 max_packets; in xhci_setup_addressable_virt_dev() local
1113 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev()
1117 max_packets = MAX_PACKET(512); in xhci_setup_addressable_virt_dev()
1121 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev()
1126 max_packets = MAX_PACKET(64); in xhci_setup_addressable_virt_dev()
1130 max_packets = MAX_PACKET(8); in xhci_setup_addressable_virt_dev()
1193 max_packets); in xhci_setup_addressable_virt_dev()
/linux/drivers/media/usb/au0828/
H A 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/tools/include/uapi/linux/
H A Dpkt_sched.h517 __s32 max_packets; member
/linux/include/uapi/linux/
H A Dpkt_sched.h538 __s32 max_packets; member