Searched refs:transfer_size (Results 1 – 9 of 9) sorted by relevance
/external/u-boot/drivers/i2c/ |
D | zynq_i2c.c | 28 u32 transfer_size; member 129 debug("TS%d ", readl(&zynq_i2c->transfer_size)); in zynq_i2c_debug_status() 169 writel(1, &zynq_i2c->transfer_size); in zynq_i2c_probe() 220 writel(length, &zynq_i2c->transfer_size); in zynq_i2c_read() 232 length - readl(&zynq_i2c->transfer_size)); in zynq_i2c_read() 233 for (; i < length - readl(&zynq_i2c->transfer_size); i++) in zynq_i2c_read() 235 } while (readl(&zynq_i2c->transfer_size) != 0); in zynq_i2c_read() 275 if (readl(&zynq_i2c->transfer_size) == ZYNQ_I2C_FIFO_DEPTH) { in zynq_i2c_write()
|
D | i2c-cdns.c | 28 u32 transfer_size; member 108 debug("TS%d ", readl(&cdns_i2c->transfer_size)); in cdns_i2c_debug_status() 249 if (readl(®s->transfer_size) == CDNS_I2C_FIFO_DEPTH) { in cdns_i2c_write_data() 297 writel(curr_recv_count, ®s->transfer_size); in cdns_i2c_read_data() 299 writel(recv_count, ®s->transfer_size); in cdns_i2c_read_data() 326 while (readl(®s->transfer_size) != in cdns_i2c_read_data() 336 ®s->transfer_size); in cdns_i2c_read_data() 341 ®s->transfer_size); in cdns_i2c_read_data() 348 ®s->transfer_size); in cdns_i2c_read_data() 351 writel(recv_count, ®s->transfer_size); in cdns_i2c_read_data()
|
/external/u-boot/drivers/usb/dwc3/ |
D | ep0.c | 773 unsigned transfer_size = 0; in dwc3_ep0_complete_data() local 817 transfer_size = (ur->length / maxp) * maxp; in dwc3_ep0_complete_data() 818 transferred = transfer_size - length; in dwc3_ep0_complete_data() 829 transfer_size = roundup((ur->length - transfer_size), in dwc3_ep0_complete_data() 832 transfer_size - length); in dwc3_ep0_complete_data() 941 u32 transfer_size = 0; in __dwc3_ep0_do_control_data() local 953 transfer_size = (req->request.length / maxpacket) * in __dwc3_ep0_do_control_data() 957 transfer_size, in __dwc3_ep0_do_control_data() 961 transfer_size = roundup((req->request.length - transfer_size), in __dwc3_ep0_do_control_data() 972 dwc->ep0_bounce_addr, transfer_size, in __dwc3_ep0_do_control_data()
|
/external/u-boot/drivers/usb/musb/ |
D | musb_udc.c | 535 int transfer_size = 0; in musb_peri_ep0_tx() local 550 transfer_size = ep0_urb->actual_length - ep0_endpoint->sent; in musb_peri_ep0_tx() 552 if (transfer_size <= 0) { in musb_peri_ep0_tx() 557 transfer_size); in musb_peri_ep0_tx() 563 if (transfer_size > ep0_endpoint->tx_packetSize) in musb_peri_ep0_tx() 564 transfer_size = ep0_endpoint->tx_packetSize; in musb_peri_ep0_tx() 566 write_fifo(0, transfer_size, &ep0_urb->buffer[ep0_endpoint->sent]); in musb_peri_ep0_tx() 567 ep0_endpoint->sent += transfer_size; in musb_peri_ep0_tx()
|
/external/u-boot/drivers/usb/gadget/ |
D | f_rockusb.c | 414 unsigned int transfer_size = 0; in rx_handler_dl_image() local 418 transfer_size = f_rkusb->dl_size - f_rkusb->dl_bytes; in rx_handler_dl_image() 440 if (buffer_size < transfer_size) in rx_handler_dl_image() 441 transfer_size = buffer_size; in rx_handler_dl_image() 443 memcpy((void *)f_rkusb->buf, buffer, transfer_size); in rx_handler_dl_image() 444 f_rkusb->dl_bytes += transfer_size; in rx_handler_dl_image() 445 int blks = 0, blkcnt = transfer_size / 512; in rx_handler_dl_image() 448 transfer_size, blkcnt, f_rkusb->lba, f_rkusb->dl_size, in rx_handler_dl_image()
|
D | f_fastboot.c | 375 unsigned int transfer_size = fastboot_data_remaining(); in rx_handler_dl_image() local 384 if (buffer_size < transfer_size) in rx_handler_dl_image() 385 transfer_size = buffer_size; in rx_handler_dl_image() 387 fastboot_data_download(buffer, transfer_size, response); in rx_handler_dl_image()
|
/external/u-boot/drivers/ata/ |
D | ahci.c | 803 u32 transfer_size; /* number of bytes per iteration */ in ata_scsiop_read_write() local 807 transfer_size = ATA_SECT_SIZE * now_blocks; in ata_scsiop_read_write() 808 if (transfer_size > user_buffer_size) { in ata_scsiop_read_write() 838 sizeof(fis), user_buffer, transfer_size, in ata_scsiop_read_write() 855 user_buffer += transfer_size; in ata_scsiop_read_write() 856 user_buffer_size -= transfer_size; in ata_scsiop_read_write()
|
/external/u-boot/drivers/usb/musb-new/ |
D | musb_gadget.c | 769 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/ |
D | tmc.h | 70 __u32 transfer_size; /* size of bytes to transfer */ member
|