/drivers/usb/dwc3/ |
D | ep0.c | 798 unsigned transfer_size = 0; in dwc3_ep0_complete_data() local 844 transfer_size = ALIGN(ur->length - maxp, maxp); in dwc3_ep0_complete_data() 845 transferred = transfer_size - length; in dwc3_ep0_complete_data() 856 transfer_size = roundup((ur->length - transfer_size), in dwc3_ep0_complete_data() 860 transfer_size - length); in dwc3_ep0_complete_data() 971 u32 transfer_size = 0; in __dwc3_ep0_do_control_data() local 984 transfer_size = ALIGN(req->request.length - maxpacket, in __dwc3_ep0_do_control_data() 988 transfer_size, in __dwc3_ep0_do_control_data() 993 transfer_size = roundup((req->request.length - transfer_size), in __dwc3_ep0_do_control_data() 999 dwc->ep0_bounce_addr, transfer_size, in __dwc3_ep0_do_control_data()
|
/drivers/dma/ |
D | dma-jz4740.c | 215 enum jz4740_dma_transfer_size transfer_size; in jz4740_dma_slave_config() local 222 transfer_size = jz4740_dma_maxburst(config->dst_maxburst); in jz4740_dma_slave_config() 227 transfer_size = jz4740_dma_maxburst(config->src_maxburst); in jz4740_dma_slave_config() 237 switch (transfer_size) { in jz4740_dma_slave_config() 258 cmd |= transfer_size << JZ_DMA_CMD_TRANSFER_SIZE_OFFSET; in jz4740_dma_slave_config()
|
/drivers/mmc/host/ |
D | vub300.c | 69 u8 transfer_size[4]; /* ReadSize + ReadSize */ member 1088 vub300->cmnd.head.transfer_size[0] = 0; in send_command() 1089 vub300->cmnd.head.transfer_size[1] = 0; in send_command() 1090 vub300->cmnd.head.transfer_size[2] = 0; in send_command() 1091 vub300->cmnd.head.transfer_size[3] = 0; in send_command() 1098 vub300->cmnd.head.transfer_size[0] = 0; in send_command() 1099 vub300->cmnd.head.transfer_size[1] = 0; in send_command() 1100 vub300->cmnd.head.transfer_size[2] = 0; in send_command() 1101 vub300->cmnd.head.transfer_size[3] = 0; in send_command() 1123 vub300->cmnd.head.transfer_size[0] = in send_command() [all …]
|
/drivers/gpu/drm/ |
D | drm_dp_helper.c | 682 unsigned transfer_size; in drm_dp_i2c_xfer() local 715 transfer_size = dp_aux_i2c_transfer_size; in drm_dp_i2c_xfer() 718 msg.size = min(transfer_size, msgs[i].len - j); in drm_dp_i2c_xfer() 730 transfer_size = err; in drm_dp_i2c_xfer()
|
/drivers/usb/musb/ |
D | musb_gadget.c | 649 unsigned int transfer_size; in rxstate() local 691 transfer_size = min_t(unsigned int, in rxstate() 703 transfer_size = min(request->length - request->actual, in rxstate() 714 transfer_size); in rxstate() 725 unsigned int transfer_size = 0; in rxstate() local 732 transfer_size = fifo_count; in rxstate() 734 transfer_size = min_t(unsigned int, in rxstate() 739 transfer_size = min_t(unsigned int, in rxstate() 750 if (transfer_size <= musb_ep->packet_sz) { in rxstate() 764 transfer_size)) in rxstate()
|
/drivers/usb/host/ |
D | max3421-hcd.c | 822 size_t remaining, transfer_size; in max3421_recv_data_available() local 833 transfer_size = rcvbc; in max3421_recv_data_available() 834 if (transfer_size > remaining) in max3421_recv_data_available() 835 transfer_size = remaining; in max3421_recv_data_available() 836 if (transfer_size > 0) { in max3421_recv_data_available() 839 spi_rd_buf(hcd, MAX3421_REG_RCVFIFO, dst, transfer_size); in max3421_recv_data_available() 840 urb->actual_length += transfer_size; in max3421_recv_data_available() 841 max3421_hcd->curr_len = transfer_size; in max3421_recv_data_available()
|
/drivers/media/usb/zr364xx/ |
D | zr364xx.c | 147 u32 transfer_size; member 656 if (purb->actual_length < pipe_info->transfer_size) { in zr364xx_read_video_callback() 1013 if (purb->actual_length > pipe_info->transfer_size) { in read_pipe_completion() 1031 pipe_info->transfer_size, in read_pipe_completion() 1065 pipe_info->transfer_size, in zr364xx_start_readpipe() 1367 pipe->transfer_size = BUFFER_SIZE; in zr364xx_board_init() 1369 pipe->transfer_buffer = kzalloc(pipe->transfer_size, in zr364xx_board_init()
|
/drivers/usb/class/ |
D | usbtmc.c | 385 static int send_request_dev_dep_msg_in(struct usbtmc_device_data *data, size_t transfer_size) in send_request_dev_dep_msg_in() argument 401 buffer[4] = transfer_size >> 0; in send_request_dev_dep_msg_in() 402 buffer[5] = transfer_size >> 8; in send_request_dev_dep_msg_in() 403 buffer[6] = transfer_size >> 16; in send_request_dev_dep_msg_in() 404 buffer[7] = transfer_size >> 24; in send_request_dev_dep_msg_in()
|
/drivers/block/ |
D | umem.h | 115 __le32 transfer_size; member
|
D | umem.c | 390 desc->transfer_size = cpu_to_le32(vec.bv_len); in add_bio() 463 le32_to_cpu(desc->transfer_size)); in process_page() 468 card->init_size += le32_to_cpu(desc->transfer_size) >> 9; in process_page()
|
D | floppy.c | 2394 static int transfer_size(int ssize, int max_sector, int max_size) in transfer_size() function 2419 max_sector = transfer_size(ssize, in copy_buffer() 2655 transfer_size(ssize, max_sector, in make_raw_rw_request() 2672 direct = transfer_size(ssize, max_sector, max_size) - fsector_t; in make_raw_rw_request() 2732 transfer_size(ssize, max_sector, in make_raw_rw_request()
|
/drivers/net/wireless/zd1211rw/ |
D | zd_usb.c | 163 size_t transfer_size = size <= MAX_TRANSFER_SIZE ? in upload_code() local 166 dev_dbg_f(&udev->dev, "transfer size %zu\n", transfer_size); in upload_code() 168 memcpy(p, data, transfer_size); in upload_code() 172 code_offset, 0, p, transfer_size, 1000 /* ms */); in upload_code() 179 transfer_size = r & ~1; in upload_code() 181 size -= transfer_size; in upload_code() 182 data += transfer_size; in upload_code() 183 code_offset += transfer_size/sizeof(u16); in upload_code()
|
/drivers/iio/adc/ |
D | ad799x.c | 136 unsigned int transfer_size; member 210 cmd, st->transfer_size, st->rx_buf); in ad799x_trigger_handler() 232 st->transfer_size = bitmap_weight(scan_mask, indio_dev->masklength) * 2; in ad799x_update_scan_mode()
|
/drivers/usb/serial/ |
D | mos7840.c | 1320 int transfer_size; in mos7840_write() local 1368 transfer_size = min(count, URB_TRANSFER_BUFFER_SIZE); in mos7840_write() 1370 memcpy(urb->transfer_buffer, current_position, transfer_size); in mos7840_write() 1379 transfer_size, in mos7840_write() 1387 transfer_size, in mos7840_write() 1407 bytes_sent = transfer_size; in mos7840_write() 1408 port->icount.tx += transfer_size; in mos7840_write()
|
D | mos7720.c | 1211 int transfer_size; in mos7720_write() local 1249 transfer_size = min(count, URB_TRANSFER_BUFFER_SIZE); in mos7720_write() 1251 memcpy(urb->transfer_buffer, current_position, transfer_size); in mos7720_write() 1252 usb_serial_debug_data(&port->dev, __func__, transfer_size, in mos7720_write() 1259 urb->transfer_buffer, transfer_size, in mos7720_write() 1270 bytes_sent = transfer_size; in mos7720_write()
|
/drivers/usb/wusbcore/ |
D | wa-xfer.c | 1314 size_t xfer_hdr_size, cnt, transfer_size; in __wa_xfer_setup() local 1360 transfer_size = urb->transfer_buffer_length; in __wa_xfer_setup() 1361 xfer_hdr0->dwTransferLength = transfer_size > xfer->seg_size ? in __wa_xfer_setup() 1363 cpu_to_le32(transfer_size); in __wa_xfer_setup() 1364 transfer_size -= xfer->seg_size; in __wa_xfer_setup() 1370 transfer_size > xfer->seg_size ? in __wa_xfer_setup() 1372 : cpu_to_le32(transfer_size); in __wa_xfer_setup() 1374 transfer_size -= xfer->seg_size; in __wa_xfer_setup()
|
/drivers/staging/comedi/drivers/ |
D | plx9080.h | 35 __le32 transfer_size; member
|
/drivers/video/fbdev/omap2/dss/ |
D | hdmi.h | 200 u8 transfer_size; member
|
D | hdmi_wp.c | 235 r = FLD_MOD(r, aud_dma->transfer_size, 15, 8); in hdmi_wp_audio_config_dma()
|
D | hdmi4_core.c | 834 audio_dma.transfer_size = 0x10; in hdmi4_audio_config() 836 audio_dma.transfer_size = 0x20; in hdmi4_audio_config()
|
D | hdmi5_core.c | 864 audio_dma.transfer_size = 0x10; in hdmi5_audio_config() 866 audio_dma.transfer_size = 0x20; in hdmi5_audio_config()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-417.c | 949 u32 transfer_size = 0; in cx231xx_load_firmware() local 1028 for (transfer_size = 0; transfer_size < firmware->size; in cx231xx_load_firmware() 1029 transfer_size += 4) { in cx231xx_load_firmware()
|
/drivers/tty/serial/ |
D | sirfsoc_uart.c | 254 sirfport->transfer_size = tran_size; in sirfsoc_uart_tx_with_dma() 452 xmit->tail = (xmit->tail + sirfport->transfer_size) & in sirfsoc_uart_tx_dma_complete_callback() 454 port->icount.tx += sirfport->transfer_size; in sirfsoc_uart_tx_dma_complete_callback() 459 sirfport->transfer_size, DMA_TO_DEVICE); in sirfsoc_uart_tx_dma_complete_callback()
|
D | sirfsoc_uart.h | 426 unsigned long transfer_size; member
|
/drivers/scsi/arm/ |
D | eesox.c | 354 fasdmadir_t dir, int transfer_size) in eesoxscsi_dma_pseudo() argument
|