Home
last modified time | relevance | path

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

/external/u-boot/drivers/i2c/
Di2c-cdns.c29 u32 transfer_size; member
121 debug("TS%d ", readl(&cdns_i2c->transfer_size)); in cdns_i2c_debug_status()
268 if (len && readl(&regs->transfer_size) == CDNS_I2C_FIFO_DEPTH) { in cdns_i2c_write_data()
326 writel(curr_recv_count, &regs->transfer_size); in cdns_i2c_read_data()
328 writel(recv_count, &regs->transfer_size); in cdns_i2c_read_data()
355 while (readl(&regs->transfer_size) != in cdns_i2c_read_data()
365 &regs->transfer_size); in cdns_i2c_read_data()
370 &regs->transfer_size); in cdns_i2c_read_data()
377 &regs->transfer_size); in cdns_i2c_read_data()
380 writel(recv_count, &regs->transfer_size); in cdns_i2c_read_data()
/external/u-boot/drivers/usb/gadget/
Df_rockusb.c450 unsigned int transfer_size = f_rkusb->ul_size - f_rkusb->ul_bytes; in tx_handler_ul_image() local
452 if (transfer_size > RKBLOCK_BUF_SIZE) in tx_handler_ul_image()
453 transfer_size = RKBLOCK_BUF_SIZE; in tx_handler_ul_image()
455 unsigned int blkcount = (transfer_size + f_rkusb->desc->blksz - 1) / in tx_handler_ul_image()
459 transfer_size, blkcount, f_rkusb->lba, in tx_handler_ul_image()
472 f_rkusb->ul_bytes += transfer_size; in tx_handler_ul_image()
475 memcpy(in_req->buf, rbuffer, transfer_size); in tx_handler_ul_image()
476 in_req->length = transfer_size; in tx_handler_ul_image()
478 debug("Uploading 0x%x bytes\n", transfer_size); in tx_handler_ul_image()
489 unsigned int transfer_size = 0; in rx_handler_dl_image() local
[all …]
Df_fastboot.c376 unsigned int transfer_size = fastboot_data_remaining(); in rx_handler_dl_image() local
385 if (buffer_size < transfer_size) in rx_handler_dl_image()
386 transfer_size = buffer_size; in rx_handler_dl_image()
388 fastboot_data_download(buffer, transfer_size, response); in rx_handler_dl_image()
/external/u-boot/drivers/usb/dwc3/
Dep0.c774 unsigned transfer_size = 0; in dwc3_ep0_complete_data() local
818 transfer_size = (ur->length / maxp) * maxp; in dwc3_ep0_complete_data()
819 transferred = transfer_size - length; in dwc3_ep0_complete_data()
830 transfer_size = roundup((ur->length - transfer_size), in dwc3_ep0_complete_data()
833 transfer_size - length); in dwc3_ep0_complete_data()
942 u32 transfer_size = 0; in __dwc3_ep0_do_control_data() local
954 transfer_size = (req->request.length / maxpacket) * in __dwc3_ep0_do_control_data()
958 transfer_size, in __dwc3_ep0_do_control_data()
962 transfer_size = roundup((req->request.length - transfer_size), in __dwc3_ep0_do_control_data()
973 dwc->ep0_bounce_addr, transfer_size, in __dwc3_ep0_do_control_data()
/external/u-boot/drivers/usb/musb/
Dmusb_udc.c534 int transfer_size = 0; in musb_peri_ep0_tx() local
549 transfer_size = ep0_urb->actual_length - ep0_endpoint->sent; in musb_peri_ep0_tx()
551 if (transfer_size <= 0) { in musb_peri_ep0_tx()
556 transfer_size); in musb_peri_ep0_tx()
562 if (transfer_size > ep0_endpoint->tx_packetSize) in musb_peri_ep0_tx()
563 transfer_size = ep0_endpoint->tx_packetSize; in musb_peri_ep0_tx()
565 write_fifo(0, transfer_size, &ep0_urb->buffer[ep0_endpoint->sent]); in musb_peri_ep0_tx()
566 ep0_endpoint->sent += transfer_size; in musb_peri_ep0_tx()
/external/u-boot/drivers/ata/
Dahci.c802 u32 transfer_size; /* number of bytes per iteration */ in ata_scsiop_read_write() local
806 transfer_size = ATA_SECT_SIZE * now_blocks; in ata_scsiop_read_write()
807 if (transfer_size > user_buffer_size) { in ata_scsiop_read_write()
837 sizeof(fis), user_buffer, transfer_size, in ata_scsiop_read_write()
854 user_buffer += transfer_size; in ata_scsiop_read_write()
855 user_buffer_size -= transfer_size; in ata_scsiop_read_write()
/external/u-boot/drivers/usb/musb-new/
Dmusb_gadget.c769 int transfer_size = 0; in rxstate() local
771 transfer_size = min(request->length - request->actual, in rxstate()
775 transfer_size = min(request->length - request->actual, in rxstate()
786 transfer_size); in rxstate()
798 int transfer_size = 0; in rxstate()
805 transfer_size = len; in rxstate()
807 transfer_size = min(request->length - in rxstate()
811 transfer_size = min(request->length - in rxstate()
821 if (transfer_size <= musb_ep->packet_sz) { in rxstate()
835 transfer_size)) in rxstate()
/external/kernel-headers/original/uapi/linux/usb/
Dtmc.h70 __u32 transfer_size; /* size of bytes to transfer */ member