Lines Matching defs:size
70 /* Structure describing bulk transfer size */
73 uint16_t size;
107 * pages, but function caller uses its own buffer, whose size is certainly
218 * size - size of data
234 int size, int core_flags)
258 ctrl.wLength = htole16 (size);
277 len = size;
328 ctrl.wLength = htole16 (size);
347 len = size;
515 * size - size of data
530 unsigned int cmd, unsigned char *data, unsigned int size,
540 0x04, cmd, 0x00, data, size, core_flags);
640 * size - size of data to read
646 unsigned char *bytes, unsigned int size,
670 memset (bytes, 0, size);
673 if (size > bulk_read_state->buffer_size)
676 "(requested: %u, buffer size: %u\n", size,
681 /* Read data until requested size of data will be received */
682 while (bulk_read_state->bytes_available < size)
686 __func__, bulk_read_state->bytes_available, size);
798 "(in_ptr: %p, end_ptr: %p, ptr: %p, buffer size: %u\n",
821 __func__, size, bulk_read_state->bytes_available);
826 if (bytes_until_buffer_end <= size)
833 if (bytes_until_buffer_end < size)
838 size - bytes_until_buffer_end);
839 bulk_read_state->buffer_out_ptr += size - bytes_until_buffer_end;
845 memcpy (bytes, bulk_read_state->buffer_out_ptr, size);
846 bulk_read_state->buffer_out_ptr += size;
856 bulk_read_state->bytes_available -= size;
868 * size - size of data
878 unsigned int size)
888 DBG (3, "%s: USB-in-USB: command: %04x, size %u\n", __func__, cmd,
889 size);
895 /* Counted in page size */
896 bulk_size.size = size / BULK_WRITE_PAGE_SIZE;
900 __func__, bulk_size.size, BULK_WRITE_PAGE_SIZE);
910 len = size;