Home
last modified time | relevance | path

Searched refs:max_transfer_size (Results 1 – 25 of 31) sorted by relevance

12

/drivers/usb/dwc2/
Dparams.c23 p->max_transfer_size = 65535; in dwc2_set_bcm_params()
38 p->max_transfer_size = 65535; in dwc2_set_his_params()
144 p->max_transfer_size = 65535; in dwc2_set_ltq_params()
490 p->max_transfer_size = hw->max_transfer_size; in dwc2_set_default_params()
784 CHECK_RANGE(max_transfer_size, in dwc2_check_params()
785 2047, hw->max_transfer_size, in dwc2_check_params()
786 hw->max_transfer_size); in dwc2_check_params()
928 hw->max_transfer_size = (1 << (width + 11)) - 1; in dwc2_get_hwparams()
Dcore.h474 u32 max_transfer_size; member
636 unsigned max_transfer_size:26; member
Ddebugfs.c684 print_param(seq, p, max_transfer_size); in params_show()
744 print_param(seq, hw, max_transfer_size); in hw_params_show()
Dhcd_queue.c1306 max_channel_xfer_size = hsotg->params.max_transfer_size; in dwc2_check_max_xfer_size()
/drivers/usb/class/
Dusbtmc.c829 u32 max_transfer_size; in usbtmc_generic_read() local
838 max_transfer_size = transfer_size; in usbtmc_generic_read()
846 if ((max_transfer_size % data->wMaxPacketSize) == 0) in usbtmc_generic_read()
847 max_transfer_size += (data->wMaxPacketSize - 1); in usbtmc_generic_read()
850 if (max_transfer_size > bufsize) { in usbtmc_generic_read()
851 max_transfer_size = in usbtmc_generic_read()
852 roundup(max_transfer_size + 1 - bufsize, in usbtmc_generic_read()
855 remaining = max_transfer_size; in usbtmc_generic_read()
880 if (max_transfer_size == 0) { in usbtmc_generic_read()
883 bufcount = roundup(max_transfer_size, bufsize) / bufsize; in usbtmc_generic_read()
[all …]
/drivers/scsi/
Dmvumi.h415 u32 max_transfer_size; member
525 unsigned int max_transfer_size; member
Dmyrs.h229 unsigned short max_transfer_size; /* Bytes 156-157 */ member
Dmvumi.c1056 mhba->max_transfer_size = hs_page1->max_transfer_size; in mvumi_hs_process_page()
2397 host->max_sectors = mhba->max_transfer_size / 512; in mvumi_io_attach()
/drivers/nvme/host/
Dmultipath.c915 size_t max_transfer_size = ctrl->max_hw_sectors << SECTOR_SHIFT; in nvme_mpath_init_identify() local
939 if (ana_log_size > max_transfer_size) { in nvme_mpath_init_identify()
942 ana_log_size, max_transfer_size); in nvme_mpath_init_identify()
/drivers/dma/
Damba-pl08x.c119 u32 max_transfer_size; member
1403 pl08x->vd->max_transfer_size; in pl08x_fill_llis_for_desc()
2987 .max_transfer_size = PL080_CONTROL_TRANSFER_SIZE_MASK,
2996 .max_transfer_size = PL080_CONTROL_TRANSFER_SIZE_MASK,
3004 .max_transfer_size = PL080S_CONTROL_TRANSFER_SIZE_MASK,
3012 .max_transfer_size = PL080_CONTROL_TRANSFER_SIZE_MASK,
3018 .max_transfer_size = PL080_CONTROL_TRANSFER_SIZE_MASK,
/drivers/net/usb/
Drndis_host.c347 u.init->max_transfer_size = cpu_to_le32(dev->rx_urb_size); in generic_rndis_bind()
357 tmp = le32_to_cpu(u.init_c->max_transfer_size); in generic_rndis_bind()
/drivers/spi/
Dspi-cs42l43.c230 priv->ctlr->max_transfer_size = cs42l43_spi_max_length; in cs42l43_spi_probe()
Dspi-sc18is602.c300 host->max_transfer_size = sc18is602_max_transfer_size; in sc18is602_probe()
Dspi-amd.c412 host->max_transfer_size = amd_spi_max_transfer_size; in amd_spi_probe()
Dspi-sun4i.c471 master->max_transfer_size = sun4i_spi_max_transfer_size; in sun4i_spi_probe()
Dspi-fsi.c554 ctlr->max_transfer_size = fsi_spi_max_transfer_size; in fsi_spi_probe()
Dspi-bcm63xx.c564 host->max_transfer_size = bcm63xx_spi_max_length; in bcm63xx_spi_probe()
Dspi-sun6i.c677 master->max_transfer_size = sun6i_spi_max_transfer_size; in sun6i_spi_probe()
Dspi-bcm63xx-hsspi.c820 host->max_transfer_size = bcm63xx_hsspi_max_message_size; in bcm63xx_hsspi_probe()
Dspi-rockchip.c880 ctlr->max_transfer_size = rockchip_spi_max_transfer_size; in rockchip_spi_probe()
/drivers/scsi/smartpqi/
Dsmartpqi_sis.c293 ctrl_info->max_transfer_size = params.mailbox[2]; in sis_get_pqi_capabilities()
Dsmartpqi_init.c5226 u32 max_transfer_size; in pqi_calculate_io_resources() local
5237 max_transfer_size = min(ctrl_info->max_transfer_size, in pqi_calculate_io_resources()
5240 max_transfer_size = min(ctrl_info->max_transfer_size, in pqi_calculate_io_resources()
5243 max_sg_entries = max_transfer_size / PAGE_SIZE; in pqi_calculate_io_resources()
5250 max_transfer_size = (max_sg_entries - 1) * PAGE_SIZE; in pqi_calculate_io_resources()
5256 ctrl_info->max_sectors = max_transfer_size / 512; in pqi_calculate_io_resources()
/drivers/media/usb/s2255/
Ds2255drv.c190 u32 max_transfer_size; member
1976 pipe->max_transfer_size = S2255_USB_XFER_SIZE; in s2255_board_init()
1978 pipe->transfer_buffer = kzalloc(pipe->max_transfer_size, in s2255_board_init()
/drivers/dma/idxd/
Dsysfs.c1034 __ATTR(max_transfer_size, 0644,
1440 static DEVICE_ATTR_RO(max_transfer_size);
/drivers/usb/host/
Disp1362-hcd.c174 static inline u16 max_transfer_size(struct isp1362_ep_queue *epq, size_t size, in max_transfer_size() function
286 len = max_transfer_size(epq, buf_len, ep->maxpacket); in prepare_ptd()
298 len = max_transfer_size(epq, buf_len, ep->maxpacket); in prepare_ptd()

12