Home
last modified time | relevance | path

Searched refs:max_pkt_size (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.6.21/drivers/media/usb/cx231xx/
Dcx231xx-core.c496 dev->video_mode.max_pkt_size = in cx231xx_set_video_alternate()
500 dev->video_mode.max_pkt_size); in cx231xx_set_video_alternate()
518 u32 max_pkt_size = 0; in cx231xx_set_alt_setting() local
527 max_pkt_size = dev->ts1_mode.max_pkt_size = in cx231xx_set_alt_setting()
541 max_pkt_size = dev->adev.max_pkt_size = in cx231xx_set_alt_setting()
550 max_pkt_size = dev->video_mode.max_pkt_size = in cx231xx_set_alt_setting()
562 max_pkt_size = dev->vbi_mode.max_pkt_size = in cx231xx_set_alt_setting()
571 max_pkt_size = dev->sliced_cc_mode.max_pkt_size = in cx231xx_set_alt_setting()
580 if (alt > 0 && max_pkt_size == 0) { in cx231xx_set_alt_setting()
591 alt, max_pkt_size, in cx231xx_set_alt_setting()
[all …]
Dcx231xx.h150 int max_pkt_size; member
184 int max_pkt_size; member
422 int max_pkt_size; /* max packet size of isoc transaction */ member
504 int max_pkt_size; /* max packet size of isoc transaction */ member
863 int num_bufs, int max_pkt_size,
867 int num_bufs, int max_pkt_size,
Dcx231xx-vbi.h31 int num_bufs, int max_pkt_size,
Dcx231xx-vbi.c341 int num_bufs, int max_pkt_size, in cx231xx_init_vbi_isoc() argument
391 dev->vbi_mode.bulk_ctl.max_pkt_size = max_pkt_size; in cx231xx_init_vbi_isoc()
394 sb_size = max_packets * dev->vbi_mode.bulk_ctl.max_pkt_size; in cx231xx_init_vbi_isoc()
Dcx231xx-audio.c269 sb_size = CX231XX_ISO_NUM_AUDIO_PACKETS * dev->adev.max_pkt_size; in cx231xx_init_audio_isoc()
301 j++, k += dev->adev.max_pkt_size) { in cx231xx_init_audio_isoc()
303 urb->iso_frame_desc[j].length = dev->adev.max_pkt_size; in cx231xx_init_audio_isoc()
330 sb_size = CX231XX_NUM_AUDIO_PACKETS * dev->adev.max_pkt_size; in cx231xx_init_audio_bulk()
Dcx231xx-dvb.c276 dev->ts1_mode.max_pkt_size, in start_streaming()
287 dev->ts1_mode.max_pkt_size, in start_streaming()
/linux-6.6.21/drivers/media/usb/stk1160/
Dstk1160-video.c462 sb_size = max_packets * dev->max_pkt_size; in stk1160_alloc_isoc()
465 dev->isoc_ctl.max_pkt_size = dev->max_pkt_size; in stk1160_alloc_isoc()
504 dev->isoc_ctl.max_pkt_size; in stk1160_alloc_isoc()
505 k += dev->isoc_ctl.max_pkt_size; in stk1160_alloc_isoc()
Dstk1160.h99 int max_pkt_size; member
133 int max_pkt_size; member
Dstk1160-core.c175 unsigned int *max_pkt_size) in stk1160_scan_usb() argument
206 max_pkt_size[i] = size; in stk1160_scan_usb()
Dstk1160-v4l.c197 new_pkt_size = dev->max_pkt_size != dev->alt_max_pkt_size[dev->alt]; in stk1160_set_alternate()
198 dev->max_pkt_size = dev->alt_max_pkt_size[dev->alt]; in stk1160_set_alternate()
/linux-6.6.21/drivers/hv/
Dring_buffer.c186 struct page *pages, u32 page_cnt, u32 max_pkt_size) in hv_ringbuffer_init() argument
236 if (max_pkt_size) { in hv_ringbuffer_init()
237 ring_info->pkt_buffer = kzalloc(max_pkt_size, GFP_KERNEL); in hv_ringbuffer_init()
240 ring_info->pkt_buffer_size = max_pkt_size; in hv_ringbuffer_init()
Dhyperv_vmbus.h185 struct page *pages, u32 pagecnt, u32 max_pkt_size);
Dhv_fcopy.c352 fcopy_transaction.recv_channel->max_pkt_size = HV_HYP_PAGE_SIZE * 2; in hv_fcopy_init()
Dhv_snapshot.c381 vss_transaction.recv_channel->max_pkt_size = VSS_MAX_PKT_SIZE; in hv_vss_init()
Dchannel.c683 if (!newchannel->max_pkt_size) in __vmbus_open()
684 newchannel->max_pkt_size = VMBUS_DEFAULT_MAX_PKT_SIZE; in __vmbus_open()
703 recv_pages, newchannel->max_pkt_size); in __vmbus_open()
/linux-6.6.21/drivers/media/usb/em28xx/
Dem28xx-core.c877 int num_bufs, int max_pkt_size, int packet_multiplier) in em28xx_alloc_urbs() argument
930 usb_bufs->max_pkt_size = max_pkt_size; in em28xx_alloc_urbs()
938 sb_size = packet_multiplier * usb_bufs->max_pkt_size; in em28xx_alloc_urbs()
979 usb_bufs->max_pkt_size; in em28xx_alloc_urbs()
980 k += usb_bufs->max_pkt_size; in em28xx_alloc_urbs()
995 int xfer_bulk, int num_bufs, int max_pkt_size, in em28xx_init_usb_xfer() argument
1022 max_pkt_size, packet_multiplier); in em28xx_init_usb_xfer()
Dem28xx.h221 int max_pkt_size; member
728 int max_pkt_size; // max packet size of the selected ep at alt member
817 int num_bufs, int max_pkt_size, int packet_multiplier);
820 int num_bufs, int max_pkt_size, int packet_multiplier,
Dem28xx-video.c399 dev->max_pkt_size = 512; /* USB 2.0 spec */ in em28xx_set_alternate()
404 dev->max_pkt_size = in em28xx_set_alternate()
409 dev->alt, dev->max_pkt_size); in em28xx_set_alternate()
815 if (usb_data_len > dev->max_pkt_size) { in em28xx_urb_data_copy()
1105 dev->max_pkt_size, in em28xx_start_analog_streaming()
/linux-6.6.21/drivers/staging/greybus/
Dcamera.c225 unsigned int max_pkt_size = 0; in gb_camera_get_max_pkt_size() local
241 pkt_size = le32_to_cpu(cfg->max_pkt_size); in gb_camera_get_max_pkt_size()
252 if (pkt_size != le32_to_cpu(cfg->max_pkt_size)) { in gb_camera_get_max_pkt_size()
255 i, pkt_size, cfg->max_pkt_size); in gb_camera_get_max_pkt_size()
260 max_pkt_size = max(pkt_size, max_pkt_size); in gb_camera_get_max_pkt_size()
263 return max_pkt_size; in gb_camera_get_max_pkt_size()
367 __le32 max_pkt_size; member
433 csi_cfg.max_pkt_size = ret; in gb_camera_setup_data_connection()
/linux-6.6.21/drivers/usb/host/
Dfhci-sched.c173 len = min(td->len - td->actual_len, ed->max_pkt_size); in add_packet()
179 len = min(td->len, ed->max_pkt_size); in add_packet()
181 ((td->len + CRC_SIZE) >= ed->max_pkt_size))) in add_packet()
729 ed->max_pkt_size = usb_endpoint_maxp(&urb->ep->desc); in fhci_queue_urb()
732 ed->speed, ed->max_pkt_size); in fhci_queue_urb()
807 ed->max_pkt_size = usb_endpoint_maxp(&urb->ep->desc); in fhci_queue_urb()
Dfhci.h328 unsigned int max_pkt_size; member
/linux-6.6.21/drivers/media/usb/au0828/
Dau0828.h120 int max_pkt_size; member
253 int max_pkt_size; /* max packet size of isoc transaction */ member
Dau0828-video.c196 int num_bufs, int max_pkt_size, in au0828_init_isoc() argument
225 dev->isoc_ctl.max_pkt_size = max_pkt_size; in au0828_init_isoc()
228 sb_size = max_packets * dev->isoc_ctl.max_pkt_size; in au0828_init_isoc()
263 dev->isoc_ctl.max_pkt_size; in au0828_init_isoc()
264 k += dev->isoc_ctl.max_pkt_size; in au0828_init_isoc()
537 dev->max_pkt_size) { in au0828_isoc_copy()
828 AU0828_MAX_ISO_BUFS, dev->max_pkt_size, in au0828_start_analog_streaming()
1936 dev->max_pkt_size = (tmp & 0x07ff) * in au0828_analog_register()
1941 dev->isoc_in_endpointaddr, dev->max_pkt_size); in au0828_analog_register()
/linux-6.6.21/net/core/
Dpktgen.c283 int max_pkt_size; member
570 pkt_dev->max_pkt_size); in pktgen_if_show()
1030 if (value != pkt_dev->max_pkt_size) { in pktgen_if_write()
1031 pkt_dev->max_pkt_size = value; in pktgen_if_write()
1035 pkt_dev->max_pkt_size); in pktgen_if_write()
1051 pkt_dev->max_pkt_size = value; in pktgen_if_write()
2248 if (pkt_dev->min_pkt_size > pkt_dev->max_pkt_size) in pktgen_setup_inject()
2249 pkt_dev->max_pkt_size = pkt_dev->min_pkt_size; in pktgen_setup_inject()
2574 if (pkt_dev->min_pkt_size < pkt_dev->max_pkt_size) { in mod_cur_headers()
2578 pkt_dev->max_pkt_size - 1); in mod_cur_headers()
[all …]
/linux-6.6.21/Documentation/networking/
Dpktgen.rst95 Params: count 100000 min_pkt_size: 60 max_pkt_size: 60
322 max_pkt_size

12