Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/misc/bcm-vk/
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-6.3-rc2/sound/soc/sti/
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()
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()
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-6.3-rc2/arch/powerpc/platforms/52xx/
A Dmpc52xx_lpbfifo.c67 size_t transfer_size = req->size - req->pos; in mpc52xx_lpbfifo_kick() local
92 if (transfer_size > 512) in mpc52xx_lpbfifo_kick()
93 transfer_size = 512; in mpc52xx_lpbfifo_kick()
99 for (i = 0; i < transfer_size; i += 4) in mpc52xx_lpbfifo_kick()
136 bd->status = transfer_size; in mpc52xx_lpbfifo_kick()
150 transfer_size += 4; /* BLECH! */ in mpc52xx_lpbfifo_kick()
167 out_be32(lpbfifo.regs + LPBFIFO_REG_PACKET_SIZE, transfer_size); in mpc52xx_lpbfifo_kick()
/linux-6.3-rc2/drivers/misc/
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-6.3-rc2/drivers/fsi/
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-6.3-rc2/tools/spi/
A Dspidev_test.c46 static int transfer_size; variable
293 transfer_size = atoi(optarg); in parse_opts()
482 else if (transfer_size) { in main()
490 transfer_buf(fd, transfer_size); in main()
/linux-6.3-rc2/drivers/dma/
A Ddmatest.c83 static unsigned int transfer_size; variable
84 module_param(transfer_size, uint, 0644);
85 MODULE_PARM_DESC(transfer_size, "Optional custom transfer size in bytes (default: not used (0))");
121 unsigned int transfer_size; member
692 if (params->transfer_size) { in dmatest_func()
693 if (params->transfer_size >= buf_size) { in dmatest_func()
695 params->transfer_size, buf_size); in dmatest_func()
698 len = params->transfer_size; in dmatest_func()
706 if (!params->transfer_size) { in dmatest_func()
1108 params->transfer_size = transfer_size; in add_threaded_test()
/linux-6.3-rc2/drivers/iio/adc/
A Dad_sigma_delta.c438 unsigned int transfer_size; in ad_sd_trigger_handler() local
456 transfer_size = reg_size + 1; in ad_sd_trigger_handler()
458 transfer_size = reg_size; in ad_sd_trigger_handler()
465 ad_sd_read_reg_raw(sigma_delta, data_reg, transfer_size, &data[0]); in ad_sd_trigger_handler()
477 ad_sd_read_reg_raw(sigma_delta, data_reg, transfer_size, &data[1]); in ad_sd_trigger_handler()
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, indio_dev->masklength) * 2; in ad799x_update_scan_mode()
/linux-6.3-rc2/drivers/dma/dw-edma/
A Ddw-edma-v0-regs.h30 u32 transfer_size; /* 0x0008 */ member
204 u32 transfer_size; member
A Ddw-edma-v0-core.c298 lli->transfer_size = size; in dw_edma_v0_write_ll_data()
305 writel(size, &lli->transfer_size); in dw_edma_v0_write_ll_data()
/linux-6.3-rc2/drivers/mmc/host/
A Dvub300.c1083 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()
1118 vub300->cmnd.head.transfer_size[0] = in send_command()
1120 vub300->cmnd.head.transfer_size[1] = in send_command()
1122 vub300->cmnd.head.transfer_size[2] = in send_command()
1124 vub300->cmnd.head.transfer_size[3] = in send_command()
1137 vub300->cmnd.head.transfer_size[0] = in send_command()
1139 vub300->cmnd.head.transfer_size[1] = in send_command()
1141 vub300->cmnd.head.transfer_size[2] = in send_command()
[all …]
/linux-6.3-rc2/drivers/usb/class/
A Dusbtmc.c819 u32 transfer_size, in usbtmc_generic_read() argument
845 remaining = transfer_size; in usbtmc_generic_read()
897 __func__, transfer_size, flags, in usbtmc_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()
1310 u32 transfer_size) in send_request_dev_dep_msg_in() argument
1327 buffer[4] = transfer_size >> 0; in send_request_dev_dep_msg_in()
1328 buffer[5] = transfer_size >> 8; in send_request_dev_dep_msg_in()
1329 buffer[6] = transfer_size >> 16; in send_request_dev_dep_msg_in()
[all …]
/linux-6.3-rc2/drivers/usb/musb/
A 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-6.3-rc2/drivers/usb/host/
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-6.3-rc2/include/uapi/linux/usb/
A Dtmc.h70 __u32 transfer_size; /* size of bytes to transfer */ member
/linux-6.3-rc2/drivers/usb/serial/
A Dmos7840.c851 int transfer_size; in mos7840_write() local
884 transfer_size = min(count, URB_TRANSFER_BUFFER_SIZE); in mos7840_write()
886 memcpy(urb->transfer_buffer, current_position, transfer_size); in mos7840_write()
895 transfer_size, in mos7840_write()
903 transfer_size, in mos7840_write()
922 bytes_sent = transfer_size; in mos7840_write()
923 port->icount.tx += transfer_size; in mos7840_write()
A Dmos7720.c1051 int transfer_size; in mos7720_write() local
1089 transfer_size = min(count, URB_TRANSFER_BUFFER_SIZE); in mos7720_write()
1091 memcpy(urb->transfer_buffer, current_position, transfer_size); in mos7720_write()
1092 usb_serial_debug_data(&port->dev, __func__, transfer_size, in mos7720_write()
1099 urb->transfer_buffer, transfer_size, in mos7720_write()
1110 bytes_sent = transfer_size; in mos7720_write()
/linux-6.3-rc2/drivers/net/wireless/zydas/zd1211rw/
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-6.3-rc2/arch/powerpc/platforms/cell/spufs/
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-6.3-rc2/drivers/video/fbdev/omap2/omapfb/dss/
A Dhdmi.h190 u8 transfer_size; member
/linux-6.3-rc2/drivers/gpu/drm/omapdrm/dss/
A Dhdmi.h194 u8 transfer_size; member
/linux-6.3-rc2/drivers/media/usb/cx231xx/
A Dcx231xx-417.c933 u32 transfer_size = 0; in cx231xx_load_firmware() local
1021 for (transfer_size = 0; transfer_size < firmware->size; in cx231xx_load_firmware()
1022 transfer_size += 4) { in cx231xx_load_firmware()

Completed in 95 milliseconds

12