Home
last modified time | relevance | path

Searched refs:data_avail (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/char/hw_random/
Dtx4939-rng.c31 unsigned int data_avail; member
69 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()
Dcore.c55 static int data_avail; variable
122 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()
Dvirtio-rng.c29 static unsigned int data_avail; variable
36 if (!virtqueue_get_buf(vq, &data_avail)) in random_recv_done()
72 return data_avail; in virtio_read()
/linux-3.4.99/arch/cris/boot/rescue/
Dkimagerescue.S128 btstq 0, $r0 ; data_avail
Dhead_v10.S292 btstq 0, $r0 ; data_avail
/linux-3.4.99/arch/cris/arch-v10/kernel/
Ddebugport.c350 } while (!(readval & IO_MASK(R_SERIAL0_READ, data_avail))); in getDebugChar()
/linux-3.4.99/drivers/tty/serial/
Dcrisv10.c190 #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()
/linux-3.4.99/arch/x86/kvm/
Dx86.c3998 goto data_avail; in emulator_pio_in_emulated()
4002 data_avail: in emulator_pio_in_emulated()