/drivers/usb/misc/ |
D | ldusb.c | 550 size_t bytes_to_write; in ld_usb_write() local 585 bytes_to_write = min(count, write_buffer_size*dev->interrupt_out_endpoint_size); in ld_usb_write() 586 if (bytes_to_write < count) in ld_usb_write() 587 dev_warn(&dev->intf->dev, "Write buffer overflow, %zd bytes dropped\n",count-bytes_to_write); in ld_usb_write() 588 …_info(&dev->intf->dev, "%s: count = %zd, bytes_to_write = %zd\n", __func__, count, bytes_to_write); in ld_usb_write() 590 if (copy_from_user(dev->interrupt_out_buffer, buffer, bytes_to_write)) { in ld_usb_write() 603 bytes_to_write, in ld_usb_write() 616 bytes_to_write, in ld_usb_write() 630 retval = bytes_to_write; in ld_usb_write()
|
D | adutux.c | 564 size_t bytes_to_write; in adu_write() local 626 bytes_to_write = count > buffer_size ? buffer_size : count; in adu_write() 628 __func__, buffer_size, count, bytes_to_write); in adu_write() 630 if (copy_from_user(dev->interrupt_out_buffer, buffer, bytes_to_write) != 0) { in adu_write() 641 bytes_to_write, in adu_write() 645 dev->interrupt_out_urb->actual_length = bytes_to_write; in adu_write() 655 buffer += bytes_to_write; in adu_write() 656 count -= bytes_to_write; in adu_write() 658 bytes_written += bytes_to_write; in adu_write()
|
D | legousbtower.c | 684 size_t bytes_to_write; in tower_write() local 723 bytes_to_write = min_t(int, count, write_buffer_size); in tower_write() 724 dbg(4, "%s: count = %Zd, bytes_to_write = %Zd", __func__, count, bytes_to_write); in tower_write() 726 if (copy_from_user (dev->interrupt_out_buffer, buffer, bytes_to_write)) { in tower_write() 736 bytes_to_write, in tower_write() 750 retval = bytes_to_write; in tower_write()
|
/drivers/staging/frontier/ |
D | alphatrack.c | 549 size_t bytes_to_write; in usb_alphatrack_write() local 586 bytes_to_write = in usb_alphatrack_write() 588 if (bytes_to_write < count) in usb_alphatrack_write() 591 count - bytes_to_write); in usb_alphatrack_write() 594 __func__, count, bytes_to_write); in usb_alphatrack_write() 596 if (copy_from_user(dev->interrupt_out_buffer, buffer, bytes_to_write)) { in usb_alphatrack_write() 612 dev->interrupt_out_buffer, bytes_to_write, in usb_alphatrack_write() 626 retval = bytes_to_write; in usb_alphatrack_write()
|
D | tranzport.c | 677 size_t bytes_to_write; 711 bytes_to_write = min(count, 714 if (bytes_to_write < count) 717 count - bytes_to_write); 721 count, bytes_to_write); 723 if (copy_from_user(dev->interrupt_out_buffer, buffer, bytes_to_write)) { 739 dev->interrupt_out_buffer, bytes_to_write, 752 retval = bytes_to_write;
|
/drivers/media/video/saa7164/ |
D | saa7164-bus.c | 138 u32 bytes_to_write, free_write_space, timeout, curr_srp, curr_swp; in saa7164_bus_set() local 169 bytes_to_write = sizeof(*msg) + msg->size; in saa7164_bus_set() 184 bytes_to_write); in saa7164_bus_set() 193 while (bytes_to_write >= free_write_space) { in saa7164_bus_set() 220 new_swp = curr_swp + bytes_to_write; in saa7164_bus_set() 269 bytes_to_write - space_rem); in saa7164_bus_set()
|
/drivers/char/pcmcia/ |
D | cm4040_cs.c | 324 unsigned int bytes_to_write; in cm4040_write() local 347 bytes_to_write = count; in cm4040_write() 348 if (copy_from_user(dev->s_buf, buf, bytes_to_write)) in cm4040_write() 387 for (i = 0; i < bytes_to_write; i++) { in cm4040_write()
|
/drivers/scsi/aic94xx/ |
D | aic94xx_sds.h | 115 const void *src, u32 dest_offset, u32 bytes_to_write);
|
D | aic94xx_sds.c | 1128 const void *src, u32 dest_offset, u32 bytes_to_write) in asd_write_flash_seg() argument 1144 err = asd_erase_nv_sector(asd_ha, nv_offset, bytes_to_write); in asd_write_flash_seg() 1158 for (i = 0; i < bytes_to_write; i++) { in asd_write_flash_seg()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_bios.c | 6255 uint8_t bytes_to_write; in load_nv17_hwsq_ucode_entry() local 6265 bytes_to_write = bios->data[hwsq_offset + 1]; in load_nv17_hwsq_ucode_entry() 6267 if (bytes_to_write != 36) { in load_nv17_hwsq_ucode_entry() 6274 hwsq_entry_offset = hwsq_offset + 2 + entry * bytes_to_write; in load_nv17_hwsq_ucode_entry() 6278 bytes_to_write -= 4; in load_nv17_hwsq_ucode_entry() 6281 for (i = 0; i < bytes_to_write; i += 4) in load_nv17_hwsq_ucode_entry()
|