Home
last modified time | relevance | path

Searched refs:transfer_size (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/misc/bcm-vk/
H A Dbcm_vk_sg.c46 u32 transfer_size; in bcm_vk_dma_alloc() local
111 transfer_size = size; in bcm_vk_dma_alloc()
134 if ((addr == (sg_addr + transfer_size)) && in bcm_vk_dma_alloc()
135 ((transfer_size + size) <= BCM_VK_MAX_SGL_CHUNK)) { in bcm_vk_dma_alloc()
137 transfer_size += size; in bcm_vk_dma_alloc()
140 sgdata->size = transfer_size; in bcm_vk_dma_alloc()
147 transfer_size = size; in bcm_vk_dma_alloc()
151 sgdata->size = transfer_size; in bcm_vk_dma_alloc()
/linux/sound/soc/sti/
H A Duniperif_reader.c192 int transfer_size, trigger_limit, ret; in uni_reader_prepare() local
204 transfer_size = in uni_reader_prepare()
207 transfer_size = runtime->channels * UNIPERIF_FIFO_FRAMES; in uni_reader_prepare()
212 trigger_limit = UNIPERIF_FIFO_SIZE - transfer_size; in uni_reader_prepare()
219 trigger_limit = transfer_size; in uni_reader_prepare()
223 (trigger_limit != 1 && transfer_size % 2) || in uni_reader_prepare()
H A Dsti_uniperif.c289 int transfer_size; in sti_uniperiph_dai_hw_params() local
293 transfer_size = snd_soc_params_to_frame_size(params) / 32; in sti_uniperiph_dai_hw_params()
295 transfer_size = params_channels(params) * UNIPERIF_FIFO_FRAMES; in sti_uniperiph_dai_hw_params()
298 dma_data->maxburst = transfer_size; in sti_uniperiph_dai_hw_params()
H A Duniperif_player.c752 int transfer_size, trigger_limit; in uni_player_prepare() local
765 transfer_size = in uni_player_prepare()
768 transfer_size = runtime->channels * UNIPERIF_FIFO_FRAMES; in uni_player_prepare()
773 trigger_limit = UNIPERIF_FIFO_SIZE - transfer_size; in uni_player_prepare()
780 trigger_limit = transfer_size; in uni_player_prepare()
784 if ((!trigger_limit % 2) || (trigger_limit != 1 && transfer_size % 2) || in uni_player_prepare()
/linux/drivers/misc/
H A Dgehc-achc.c298 size_t transfer_size; in ezport_firmware_compare_data() local
313 transfer_size = min((size_t) EZPORT_TRANSFER_SIZE, size - address); in ezport_firmware_compare_data()
315 ret = ezport_flash_compare(spi, address, data+address, transfer_size); in ezport_firmware_compare_data()
319 address += transfer_size; in ezport_firmware_compare_data()
330 size_t transfer_size; in ezport_firmware_flash_data() local
355 transfer_size = min((size_t) EZPORT_TRANSFER_SIZE, size - address); in ezport_firmware_flash_data()
358 data+address, transfer_size); in ezport_firmware_flash_data()
366 address += transfer_size; in ezport_firmware_flash_data()
/linux/drivers/fsi/
H A Dfsi-master-aspeed.c98 u32 val, u32 transfer_size) in __opb_write() argument
109 writel_relaxed(transfer_size, base + OPB0_XFER_SIZE); in __opb_write()
121 trace_fsi_master_aspeed_opb_write(addr, val, transfer_size, status, reg); in __opb_write()
150 u32 transfer_size, void *out) in __opb_read() argument
161 writel_relaxed(transfer_size, base + OPB0_XFER_SIZE); in __opb_read()
174 trace_fsi_master_aspeed_opb_read(addr, transfer_size, result, in __opb_read()
187 switch (transfer_size) { in __opb_read()
/linux/drivers/dma/dw-edma/
H A Ddw-hdma-v0-regs.h40 u32 transfer_size; /* 0x001c */ member
100 u32 transfer_size; member
H A Ddw-edma-v0-regs.h30 u32 transfer_size; /* 0x0008 */ member
204 u32 transfer_size; member
H A Ddw-hdma-v0-core.c164 lli->transfer_size = size; in dw_hdma_v0_write_ll_data()
171 writel(size, &lli->transfer_size); in dw_hdma_v0_write_ll_data()
H A Ddw-edma-v0-core.c288 lli->transfer_size = size; in dw_edma_v0_write_ll_data()
295 writel(size, &lli->transfer_size); in dw_edma_v0_write_ll_data()
H A Ddw-hdma-v0-debugfs.c90 CTX_REGISTER(dw, transfer_size, dir, ch), in dw_hdma_debugfs_regs_ch()
/linux/tools/spi/
H A Dspidev_test.c46 static int transfer_size; variable
314 transfer_size = atoi(optarg); in parse_opts()
503 else if (transfer_size) { in main()
511 transfer_buf(fd, transfer_size); in main()
/linux/drivers/dma/
H A Ddmatest.c87 static unsigned int transfer_size; variable
88 module_param(transfer_size, uint, 0644);
89 MODULE_PARM_DESC(transfer_size, "Optional custom transfer size in bytes (default: not used (0))");
127 unsigned int transfer_size; member
706 if (params->transfer_size) { in dmatest_func()
707 if (params->transfer_size >= buf_size) { in dmatest_func()
709 params->transfer_size, buf_size); in dmatest_func()
712 len = params->transfer_size; in dmatest_func()
720 if (!params->transfer_size) { in dmatest_func()
1123 params->transfer_size = transfer_size; in add_threaded_test()
/linux/drivers/iio/adc/
H A Dad_sigma_delta.c439 unsigned int transfer_size; in ad_sd_trigger_handler() local
457 transfer_size = reg_size + 1; in ad_sd_trigger_handler()
459 transfer_size = reg_size; in ad_sd_trigger_handler()
466 ad_sd_read_reg_raw(sigma_delta, data_reg, transfer_size, &data[0]); in ad_sd_trigger_handler()
478 ad_sd_read_reg_raw(sigma_delta, data_reg, transfer_size, &data[1]); in ad_sd_trigger_handler()
H A Dad799x.c135 unsigned int transfer_size; member
218 cmd, st->transfer_size, st->rx_buf); in ad799x_trigger_handler()
240 st->transfer_size = bitmap_weight(scan_mask, in ad799x_update_scan_mode()
/linux/drivers/mmc/host/
H A Dvub300.c66 u8 transfer_size[4]; /* ReadSize + ReadSize */ member
1083 vub300->cmnd.head.transfer_size[0] = 0; in send_command()
1084 vub300->cmnd.head.transfer_size[1] = 0; in send_command()
1085 vub300->cmnd.head.transfer_size[2] = 0; in send_command()
1086 vub300->cmnd.head.transfer_size[3] = 0; in send_command()
1093 vub300->cmnd.head.transfer_size[0] = 0; in send_command()
1094 vub300->cmnd.head.transfer_size[1] = 0; in send_command()
1095 vub300->cmnd.head.transfer_size[2] = 0; in send_command()
1096 vub300->cmnd.head.transfer_size[3] = 0; in send_command()
1118 vub300->cmnd.head.transfer_size[0] = in send_command()
[all …]
/linux/drivers/usb/class/
H A Dusbtmc.c819 u32 transfer_size, in usbtmc_generic_read() argument
838 max_transfer_size = transfer_size; in usbtmc_generic_read()
845 remaining = transfer_size; in usbtmc_generic_read()
897 __func__, transfer_size, flags, in usbtmc_generic_read()
1060 msg.transfer_size, &msg.transferred, in usbtmc_ioctl_generic_read()
1106 u32 transfer_size, in usbtmc_generic_write() argument
1126 __func__, transfer_size, flags, in usbtmc_generic_write()
1142 remaining = transfer_size; in usbtmc_generic_write()
1271 msg.transfer_size, &msg.transferred, in usbtmc_ioctl_generic_write()
1310 u32 transfer_size) in send_request_dev_dep_msg_in() argument
[all …]
/linux/drivers/usb/host/
H A Dmax3421-hcd.c817 size_t remaining, transfer_size; in max3421_recv_data_available() local
828 transfer_size = rcvbc; in max3421_recv_data_available()
829 if (transfer_size > remaining) in max3421_recv_data_available()
830 transfer_size = remaining; in max3421_recv_data_available()
831 if (transfer_size > 0) { in max3421_recv_data_available()
834 spi_rd_buf(hcd, MAX3421_REG_RCVFIFO, dst, transfer_size); in max3421_recv_data_available()
835 urb->actual_length += transfer_size; in max3421_recv_data_available()
836 max3421_hcd->curr_len = transfer_size; in max3421_recv_data_available()
/linux/drivers/usb/serial/
H A Dmos7840.c852 int transfer_size; in mos7840_write() local
885 transfer_size = min(count, URB_TRANSFER_BUFFER_SIZE); in mos7840_write()
887 memcpy(urb->transfer_buffer, current_position, transfer_size); in mos7840_write()
896 transfer_size, in mos7840_write()
904 transfer_size, in mos7840_write()
923 bytes_sent = transfer_size; in mos7840_write()
924 port->icount.tx += transfer_size; in mos7840_write()
H A Dmos7720.c1052 int transfer_size; in mos7720_write() local
1090 transfer_size = min(count, URB_TRANSFER_BUFFER_SIZE); in mos7720_write()
1092 memcpy(urb->transfer_buffer, current_position, transfer_size); in mos7720_write()
1093 usb_serial_debug_data(&port->dev, __func__, transfer_size, in mos7720_write()
1100 urb->transfer_buffer, transfer_size, in mos7720_write()
1111 bytes_sent = transfer_size; in mos7720_write()
/linux/include/uapi/linux/usb/
H A Dtmc.h70 __u32 transfer_size; /* size of bytes to transfer */ member
/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_usb.c150 size_t transfer_size = size <= MAX_TRANSFER_SIZE ? in upload_code() local
153 dev_dbg_f(&udev->dev, "transfer size %zu\n", transfer_size); in upload_code()
155 memcpy(p, data, transfer_size); in upload_code()
159 code_offset, 0, p, transfer_size, 1000 /* ms */); in upload_code()
166 transfer_size = r & ~1; in upload_code()
168 size -= transfer_size; in upload_code()
169 data += transfer_size; in upload_code()
170 code_offset += transfer_size/sizeof(u16); in upload_code()
/linux/arch/powerpc/platforms/cell/spufs/
H A Dswitch.c771 unsigned int transfer_size; in send_mfc_dma() local
775 transfer_size = in send_mfc_dma()
777 command.u.mfc_size = transfer_size; in send_mfc_dma()
791 size -= transfer_size; in send_mfc_dma()
792 ea += transfer_size; in send_mfc_dma()
793 ls_offset += transfer_size; in send_mfc_dma()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi.h190 u8 transfer_size; member
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-417.c933 u32 transfer_size = 0; in cx231xx_load_firmware() local
1020 for (transfer_size = 0; transfer_size < firmware->size; in cx231xx_load_firmware()
1021 transfer_size += 4) { in cx231xx_load_firmware()

12