Lines Matching refs:bytes_written
331 ssize_t *bytes_written, unsigned int tflags, int async) in sisusb_send_bulk_msg() argument
340 (*bytes_written) = 0; in sisusb_send_bulk_msg()
418 (*bytes_written) += passsize; in sisusb_send_bulk_msg()
429 (*bytes_written) = len; in sisusb_send_bulk_msg()
433 (*bytes_written) = transferred_len; in sisusb_send_bulk_msg()
438 return ((*bytes_written) == len) ? 0 : -EIO; in sisusb_send_bulk_msg()
756 int index, ssize_t *bytes_written) in sisusb_write_mem_bulk() argument
772 (*bytes_written = 0); in sisusb_write_mem_bulk()
789 (*bytes_written)++; in sisusb_write_mem_bulk()
804 (*bytes_written) += 2; in sisusb_write_mem_bulk()
836 (*bytes_written) += 3; in sisusb_write_mem_bulk()
850 (*bytes_written) += 4; in sisusb_write_mem_bulk()
877 bytes_written, 0, 1); in sisusb_write_mem_bulk()
878 userbuffer += (*bytes_written); in sisusb_write_mem_bulk()
884 bytes_written, 0, 1); in sisusb_write_mem_bulk()
885 kernbuffer += (*bytes_written); in sisusb_write_mem_bulk()
891 bytes_written, 0, 1); in sisusb_write_mem_bulk()
892 kernbuffer += ((*bytes_written) & in sisusb_write_mem_bulk()
921 bytes_written, 0, 1); in sisusb_write_mem_bulk()
922 userbuffer += (*bytes_written); in sisusb_write_mem_bulk()
928 bytes_written, 0, 1); in sisusb_write_mem_bulk()
929 kernbuffer += (*bytes_written); in sisusb_write_mem_bulk()
935 bytes_written, 0, 1); in sisusb_write_mem_bulk()
936 kernbuffer += ((*bytes_written) & in sisusb_write_mem_bulk()
945 *bytes_written, length, in sisusb_write_mem_bulk()
951 addr += (*bytes_written); in sisusb_write_mem_bulk()
952 length -= (*bytes_written); in sisusb_write_mem_bulk()
2623 ssize_t bytes_written = 0; in sisusb_write() local
2659 bytes_written = 1; in sisusb_write()
2670 bytes_written = 2; in sisusb_write()
2681 bytes_written = 4; in sisusb_write()
2703 count, buffer, 0, &bytes_written); in sisusb_write()
2705 if (bytes_written) in sisusb_write()
2706 errno = bytes_written; in sisusb_write()
2721 count, buffer, 0, &bytes_written); in sisusb_write()
2723 if (bytes_written) in sisusb_write()
2724 errno = bytes_written; in sisusb_write()
2745 bytes_written = 4; in sisusb_write()
2755 (*ppos) += bytes_written; in sisusb_write()
2759 return errno ? errno : bytes_written; in sisusb_write()