Home
last modified time | relevance | path

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

12

/Linux-v5.4/sound/soc/sti/
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()
Dsti_uniperif.c288 int transfer_size; in sti_uniperiph_dai_hw_params() local
292 transfer_size = snd_soc_params_to_frame_size(params) / 32; in sti_uniperiph_dai_hw_params()
294 transfer_size = params_channels(params) * UNIPERIF_FIFO_FRAMES; in sti_uniperiph_dai_hw_params()
297 dma_data->maxburst = transfer_size; in sti_uniperiph_dai_hw_params()
Duniperif_player.c751 int transfer_size, trigger_limit; in uni_player_prepare() local
764 transfer_size = in uni_player_prepare()
767 transfer_size = runtime->channels * UNIPERIF_FIFO_FRAMES; in uni_player_prepare()
772 trigger_limit = UNIPERIF_FIFO_SIZE - transfer_size; in uni_player_prepare()
779 trigger_limit = transfer_size; in uni_player_prepare()
783 if ((!trigger_limit % 2) || (trigger_limit != 1 && transfer_size % 2) || in uni_player_prepare()
/Linux-v5.4/arch/powerpc/platforms/52xx/
Dmpc52xx_lpbfifo.c64 size_t transfer_size = req->size - req->pos; in mpc52xx_lpbfifo_kick() local
89 if (transfer_size > 512) in mpc52xx_lpbfifo_kick()
90 transfer_size = 512; in mpc52xx_lpbfifo_kick()
96 for (i = 0; i < transfer_size; i += 4) in mpc52xx_lpbfifo_kick()
133 bd->status = transfer_size; in mpc52xx_lpbfifo_kick()
147 transfer_size += 4; /* BLECH! */ in mpc52xx_lpbfifo_kick()
164 out_be32(lpbfifo.regs + LPBFIFO_REG_PACKET_SIZE, transfer_size); in mpc52xx_lpbfifo_kick()
/Linux-v5.4/tools/spi/
Dspidev_test.c41 static int transfer_size; variable
279 transfer_size = atoi(optarg); in parse_opts()
456 else if (transfer_size) { in main()
464 transfer_buf(fd, transfer_size); in main()
/Linux-v5.4/drivers/dma/
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))");
116 unsigned int transfer_size; member
674 if (params->transfer_size) { in dmatest_func()
675 if (params->transfer_size >= buf_size) { in dmatest_func()
677 params->transfer_size, buf_size); in dmatest_func()
680 len = params->transfer_size; in dmatest_func()
688 if (!params->transfer_size) { in dmatest_func()
1087 params->transfer_size = transfer_size; in add_threaded_test()
/Linux-v5.4/drivers/dma/dw-edma/
Ddw-edma-v0-regs.h30 u32 transfer_size; /* 0x008 */ member
144 u32 transfer_size; member
/Linux-v5.4/drivers/mmc/host/
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-v5.4/drivers/usb/class/
Dusbtmc.c789 u32 transfer_size, in usbtmc_generic_read() argument
808 max_transfer_size = transfer_size; in usbtmc_generic_read()
815 remaining = transfer_size; in usbtmc_generic_read()
867 __func__, transfer_size, flags, in usbtmc_generic_read()
1030 msg.transfer_size, &msg.transferred, in usbtmc_ioctl_generic_read()
1076 u32 transfer_size, in usbtmc_generic_write() argument
1096 __func__, transfer_size, flags, in usbtmc_generic_write()
1112 remaining = transfer_size; in usbtmc_generic_write()
1241 msg.transfer_size, &msg.transferred, in usbtmc_ioctl_generic_write()
1280 u32 transfer_size) in send_request_dev_dep_msg_in() argument
[all …]
/Linux-v5.4/drivers/block/
Dumem.h114 __le32 transfer_size; member
Dumem.c385 desc->transfer_size = cpu_to_le32(vec.bv_len); in add_bio()
458 le32_to_cpu(desc->transfer_size)); in process_page()
463 card->init_size += le32_to_cpu(desc->transfer_size) >> 9; in process_page()
/Linux-v5.4/drivers/usb/musb/
Dmusb_gadget.c605 unsigned int transfer_size; in rxstate() local
647 transfer_size = min_t(unsigned int, in rxstate()
659 transfer_size = min(request->length - request->actual, in rxstate()
670 transfer_size); in rxstate()
681 unsigned int transfer_size = 0; in rxstate() local
688 transfer_size = fifo_count; in rxstate()
690 transfer_size = min_t(unsigned int, in rxstate()
695 transfer_size = min_t(unsigned int, in rxstate()
706 if (transfer_size <= musb_ep->packet_sz) { in rxstate()
720 transfer_size)) in rxstate()
/Linux-v5.4/drivers/usb/host/
Dmax3421-hcd.c853 size_t remaining, transfer_size; in max3421_recv_data_available() local
864 transfer_size = rcvbc; in max3421_recv_data_available()
865 if (transfer_size > remaining) in max3421_recv_data_available()
866 transfer_size = remaining; in max3421_recv_data_available()
867 if (transfer_size > 0) { in max3421_recv_data_available()
870 spi_rd_buf(hcd, MAX3421_REG_RCVFIFO, dst, transfer_size); in max3421_recv_data_available()
871 urb->actual_length += transfer_size; in max3421_recv_data_available()
872 max3421_hcd->curr_len = transfer_size; in max3421_recv_data_available()
/Linux-v5.4/drivers/media/usb/zr364xx/
Dzr364xx.c134 u32 transfer_size; member
634 if (purb->actual_length < pipe_info->transfer_size) { in zr364xx_read_video_callback()
984 if (purb->actual_length > pipe_info->transfer_size) { in read_pipe_completion()
1002 pipe_info->transfer_size, in read_pipe_completion()
1034 pipe_info->transfer_size, in zr364xx_start_readpipe()
1337 pipe->transfer_size = BUFFER_SIZE; in zr364xx_board_init()
1339 pipe->transfer_buffer = kzalloc(pipe->transfer_size, in zr364xx_board_init()
/Linux-v5.4/include/uapi/linux/usb/
Dtmc.h70 __u32 transfer_size; /* size of bytes to transfer */ member
/Linux-v5.4/drivers/iio/adc/
Dad799x.c132 unsigned int transfer_size; member
206 cmd, st->transfer_size, st->rx_buf); in ad799x_trigger_handler()
228 st->transfer_size = bitmap_weight(scan_mask, indio_dev->masklength) * 2; in ad799x_update_scan_mode()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_dp_helper.c916 unsigned transfer_size; in drm_dp_i2c_xfer() local
947 transfer_size = dp_aux_i2c_transfer_size; in drm_dp_i2c_xfer()
950 msg.size = min(transfer_size, msgs[i].len - j); in drm_dp_i2c_xfer()
962 transfer_size = err; in drm_dp_i2c_xfer()
/Linux-v5.4/drivers/net/wireless/zydas/zd1211rw/
Dzd_usb.c151 size_t transfer_size = size <= MAX_TRANSFER_SIZE ? in upload_code() local
154 dev_dbg_f(&udev->dev, "transfer size %zu\n", transfer_size); in upload_code()
156 memcpy(p, data, transfer_size); in upload_code()
160 code_offset, 0, p, transfer_size, 1000 /* ms */); in upload_code()
167 transfer_size = r & ~1; in upload_code()
169 size -= transfer_size; in upload_code()
170 data += transfer_size; in upload_code()
171 code_offset += transfer_size/sizeof(u16); in upload_code()
/Linux-v5.4/drivers/usb/serial/
Dmos7720.c1218 int transfer_size; in mos7720_write() local
1254 transfer_size = min(count, URB_TRANSFER_BUFFER_SIZE); in mos7720_write()
1256 memcpy(urb->transfer_buffer, current_position, transfer_size); in mos7720_write()
1257 usb_serial_debug_data(&port->dev, __func__, transfer_size, in mos7720_write()
1264 urb->transfer_buffer, transfer_size, in mos7720_write()
1275 bytes_sent = transfer_size; in mos7720_write()
Dmos7840.c1286 int transfer_size; in mos7840_write() local
1331 transfer_size = min(count, URB_TRANSFER_BUFFER_SIZE); in mos7840_write()
1333 memcpy(urb->transfer_buffer, current_position, transfer_size); in mos7840_write()
1342 transfer_size, in mos7840_write()
1350 transfer_size, in mos7840_write()
1369 bytes_sent = transfer_size; in mos7840_write()
1370 port->icount.tx += transfer_size; in mos7840_write()
/Linux-v5.4/drivers/staging/wusbcore/
Dwa-xfer.c1301 size_t xfer_hdr_size, cnt, transfer_size; in __wa_xfer_setup() local
1347 transfer_size = urb->transfer_buffer_length; in __wa_xfer_setup()
1348 xfer_hdr0->dwTransferLength = transfer_size > xfer->seg_size ? in __wa_xfer_setup()
1350 cpu_to_le32(transfer_size); in __wa_xfer_setup()
1351 transfer_size -= xfer->seg_size; in __wa_xfer_setup()
1357 transfer_size > xfer->seg_size ? in __wa_xfer_setup()
1359 : cpu_to_le32(transfer_size); in __wa_xfer_setup()
1361 transfer_size -= xfer->seg_size; in __wa_xfer_setup()
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/
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-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi.h190 u8 transfer_size; member
Dhdmi_wp.c234 r = FLD_MOD(r, aud_dma->transfer_size, 15, 8); in hdmi_wp_audio_config_dma()
/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/
Dhdmi.h193 u8 transfer_size; member

12