Searched refs:data_avail (Results 1 – 8 of 8) sorted by relevance
31 unsigned int data_avail; member69 if (rngdev->data_avail) in tx4939_rng_data_present()70 return rngdev->data_avail; in tx4939_rng_data_present()81 rngdev->data_avail = in tx4939_rng_data_present()94 return rngdev->data_avail; in tx4939_rng_data_present()101 rngdev->data_avail--; in tx4939_rng_data_read()102 *buffer = *((u32 *)&rngdev->databuf + rngdev->data_avail); in tx4939_rng_data_read()142 rngdev->data_avail = 0; in tx4939_rng_probe()
55 static int data_avail; variable122 if (!data_avail) { in rng_dev_read()130 data_avail = bytes_read; in rng_dev_read()133 if (!data_avail) { in rng_dev_read()139 len = data_avail; in rng_dev_read()143 data_avail -= len; in rng_dev_read()145 if (copy_to_user(buf + ret, rng_buffer + data_avail, in rng_dev_read()
29 static unsigned int data_avail; variable36 if (!virtqueue_get_buf(vq, &data_avail)) in random_recv_done()72 return data_avail; in virtio_read()
128 btstq 0, $r0 ; data_avail
292 btstq 0, $r0 ; data_avail
350 } while (!(readval & IO_MASK(R_SERIAL0_READ, data_avail))); in getDebugChar()
190 #define SER_DATA_AVAIL_MASK IO_MASK(R_SERIAL0_STATUS, data_avail)2374 } else if (data_read & IO_MASK(R_SERIAL0_READ, data_avail)) { in handle_ser_rx_interrupt_no_dma()2395 if (data_read & IO_MASK(R_SERIAL0_READ, data_avail)) { in handle_ser_rx_interrupt_no_dma()
3998 goto data_avail; in emulator_pio_in_emulated()4002 data_avail: in emulator_pio_in_emulated()