Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Deprom.c304 u32 bytes_available, ncopied, to_copy; in read_segment_platform_config() local
390 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()
/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-queue.c129 int bytes_available, bytes_steal; in ivtv_queue_move() local
137 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()
/Linux-v4.19/drivers/staging/axis-fifo/
Daxis-fifo.c347 size_t bytes_available; in axis_fifo_read() local
389 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()
/Linux-v4.19/drivers/staging/dgnc/
Ddgnc_tty.c1305 static int dgnc_maxcps_room(struct channel_t *ch, int bytes_available) in dgnc_maxcps_room() argument
1307 int rc = bytes_available; in dgnc_maxcps_room()
1329 rc = min(cps_limit, bytes_available); in dgnc_maxcps_room()