Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/media/usb/cx231xx/
A 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()
591 alt, max_pkt_size, in cx231xx_set_alt_setting()
1039 dev->video_mode.isoc_ctl.max_pkt_size = max_pkt_size; in cx231xx_init_isoc()
[all …]
A 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,
A Dcx231xx-vbi.h31 int num_bufs, int max_pkt_size,
A 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()
A 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()
A Dcx231xx-dvb.c276 dev->ts1_mode.max_pkt_size, in start_streaming()
287 dev->ts1_mode.max_pkt_size, in start_streaming()
/linux-6.3-rc2/drivers/media/usb/stk1160/
A Dstk1160-video.c463 sb_size = max_packets * dev->max_pkt_size; in stk1160_alloc_isoc()
466 dev->isoc_ctl.max_pkt_size = dev->max_pkt_size; in stk1160_alloc_isoc()
505 dev->isoc_ctl.max_pkt_size; in stk1160_alloc_isoc()
506 k += dev->isoc_ctl.max_pkt_size; in stk1160_alloc_isoc()
A Dstk1160.h99 int max_pkt_size; member
133 int max_pkt_size; member
A Dstk1160-core.c175 unsigned int *max_pkt_size) in stk1160_scan_usb() argument
206 max_pkt_size[i] = size; in stk1160_scan_usb()
A 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.3-rc2/drivers/hv/
A Dring_buffer.c186 struct page *pages, u32 page_cnt, u32 max_pkt_size) in hv_ringbuffer_init() argument
258 if (max_pkt_size) { in hv_ringbuffer_init()
259 ring_info->pkt_buffer = kzalloc(max_pkt_size, GFP_KERNEL); in hv_ringbuffer_init()
262 ring_info->pkt_buffer_size = max_pkt_size; in hv_ringbuffer_init()
A Dhyperv_vmbus.h178 struct page *pages, u32 pagecnt, u32 max_pkt_size);
A Dhv_fcopy.c352 fcopy_transaction.recv_channel->max_pkt_size = HV_HYP_PAGE_SIZE * 2; in hv_fcopy_init()
A Dhv_snapshot.c381 vss_transaction.recv_channel->max_pkt_size = VSS_MAX_PKT_SIZE; in hv_vss_init()
A 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.3-rc2/drivers/media/usb/em28xx/
A 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()
A 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,
A 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.3-rc2/drivers/staging/greybus/
A 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.3-rc2/drivers/usb/host/
A 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()
A Dfhci.h328 unsigned int max_pkt_size; member
/linux-6.3-rc2/drivers/media/usb/au0828/
A Dau0828.h120 int max_pkt_size; member
253 int max_pkt_size; /* max packet size of isoc transaction */ member
A 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.3-rc2/net/core/
A 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.3-rc2/Documentation/networking/
A Dpktgen.rst95 Params: count 100000 min_pkt_size: 60 max_pkt_size: 60
322 max_pkt_size

Completed in 338 milliseconds

12