Searched refs:bytes_available (Results 1 – 4 of 4) sorted by relevance
304 u32 bytes_available, ncopied, to_copy; in read_segment_platform_config() local390 bytes_available = SEG_SIZE - seg_offset; in read_segment_platform_config()397 if (bytes_available <= directory_size) { in read_segment_platform_config()404 bytes_available -= directory_size; in read_segment_platform_config()411 if (to_copy > bytes_available) in read_segment_platform_config()412 to_copy = bytes_available; in read_segment_platform_config()
129 int bytes_available, bytes_steal; in ivtv_queue_move() local137 bytes_available = from_free ? from->length : from->bytesused; in ivtv_queue_move()140 if (bytes_available + bytes_steal < needed_bytes) { in ivtv_queue_move()144 while (steal && bytes_available < needed_bytes) { in ivtv_queue_move()161 bytes_available += s->buf_size; in ivtv_queue_move()
347 size_t bytes_available; in axis_fifo_read() local389 bytes_available = ioread32(fifo->base_addr + XLLF_RLR_OFFSET); in axis_fifo_read()390 if (!bytes_available) { in axis_fifo_read()396 if (bytes_available > len) { in axis_fifo_read()398 bytes_available, len); in axis_fifo_read()403 if (bytes_available % sizeof(u32)) { in axis_fifo_read()412 words_available = bytes_available / sizeof(u32); in axis_fifo_read()436 return bytes_available; in axis_fifo_read()
1305 static int dgnc_maxcps_room(struct channel_t *ch, int bytes_available) in dgnc_maxcps_room() argument1307 int rc = bytes_available; in dgnc_maxcps_room()1329 rc = min(cps_limit, bytes_available); in dgnc_maxcps_room()