Home
last modified time | relevance | path

Searched refs:bytes_available (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Deprom.c263 u32 bytes_available, ncopied, to_copy; in read_segment_platform_config() local
349 bytes_available = SEG_SIZE - seg_offset; in read_segment_platform_config()
356 if (bytes_available <= directory_size) { in read_segment_platform_config()
363 bytes_available -= directory_size; in read_segment_platform_config()
370 if (to_copy > bytes_available) in read_segment_platform_config()
371 to_copy = bytes_available; in read_segment_platform_config()
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-queue.c117 int bytes_available, bytes_steal; in ivtv_queue_move() local
125 bytes_available = from_free ? from->length : from->bytesused; in ivtv_queue_move()
128 if (bytes_available + bytes_steal < needed_bytes) { in ivtv_queue_move()
132 while (steal && bytes_available < needed_bytes) { in ivtv_queue_move()
149 bytes_available += s->buf_size; in ivtv_queue_move()
/openbmc/linux/drivers/staging/axis-fifo/
H A Daxis-fifo.c357 size_t bytes_available; in axis_fifo_read() local
399 bytes_available = ioread32(fifo->base_addr + XLLF_RLR_OFFSET); in axis_fifo_read()
400 if (!bytes_available) { in axis_fifo_read()
407 if (bytes_available > len) { in axis_fifo_read()
409 bytes_available, len); in axis_fifo_read()
415 if (bytes_available % sizeof(u32)) { in axis_fifo_read()
425 words_available = bytes_available / sizeof(u32); in axis_fifo_read()
450 ret = bytes_available; in axis_fifo_read()
/openbmc/qemu/block/
H A Dqcow2-cluster.c595 uint64_t bytes_available, bytes_needed, nb_clusters; in qcow2_get_host_offset() local
605 bytes_available = in qcow2_get_host_offset()
609 if (bytes_needed > bytes_available) { in qcow2_get_host_offset()
610 bytes_needed = bytes_available; in qcow2_get_host_offset()
723 bytes_available = ((int64_t)sc + sc_index) << s->subcluster_bits; in qcow2_get_host_offset()
726 if (bytes_available > bytes_needed) { in qcow2_get_host_offset()
727 bytes_available = bytes_needed; in qcow2_get_host_offset()
733 assert(bytes_available - offset_in_cluster <= UINT_MAX); in qcow2_get_host_offset()
734 *bytes = bytes_available - offset_in_cluster; in qcow2_get_host_offset()
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Dsh_css_internal.h524 u32 bytes_available; member
H A Dsh_css_sp.c212 pipe->copy.bin.bytes_available = out_frame->data_bytes; in sh_css_sp_start_binary_copy()
/openbmc/linux/drivers/staging/media/ipu3/
H A Dipu3-abi.h1799 u32 bytes_available; member