Searched refs:data_avail (Results 1 - 12 of 12) sorted by relevance

/linux-4.1.27/drivers/char/hw_random/
H A Dtx4939-rng.c32 unsigned int data_avail; member in struct:tx4939_rng
70 if (rngdev->data_avail) tx4939_rng_data_present()
71 return rngdev->data_avail; tx4939_rng_data_present()
82 rngdev->data_avail = tx4939_rng_data_present()
95 return rngdev->data_avail; tx4939_rng_data_present()
102 rngdev->data_avail--; tx4939_rng_data_read()
103 *buffer = *((u32 *)&rngdev->databuf + rngdev->data_avail); tx4939_rng_data_read()
141 rngdev->data_avail = 0; tx4939_rng_probe()
H A Dvirtio-rng.c35 unsigned int data_avail; member in struct:virtrng_info
47 if (!virtqueue_get_buf(vi->vq, &vi->data_avail)) random_recv_done()
89 return vi->data_avail; virtio_read()
147 vi->data_avail = 0; remove_common()
H A Dcore.c59 /* Protects rng read functions, data_avail, rng_buffer and rng_fillbuf */
61 static int data_avail; variable
242 if (!data_avail) { rng_dev_read()
250 data_avail = bytes_read; rng_dev_read()
253 if (!data_avail) { rng_dev_read()
259 len = data_avail; rng_dev_read()
263 data_avail -= len; rng_dev_read()
265 if (copy_to_user(buf + ret, rng_buffer + data_avail, rng_dev_read()
/linux-4.1.27/arch/cris/arch-v32/kernel/
H A Ddebugport.c169 /* Ack the data_avail interrupt. */ getDebugChar()
/linux-4.1.27/arch/cris/boot/rescue/
H A Dkimagerescue.S126 btstq 0, $r0 ; data_avail
H A Dhead_v10.S292 btstq 0, $r0 ; data_avail
/linux-4.1.27/arch/cris/arch-v10/kernel/
H A Ddebugport.c343 } while (!(readval & IO_MASK(R_SERIAL0_READ, data_avail))); getDebugChar()
/linux-4.1.27/drivers/tty/serial/
H A Dcrisv10.c189 #define SER_DATA_AVAIL_MASK IO_MASK(R_SERIAL0_STATUS, data_avail)
1991 /* We check data_avail bit to determine if data has force_eop_if_needed()
2269 } else if (data_read & IO_MASK(R_SERIAL0_READ, data_avail)) { handle_ser_rx_interrupt_no_dma()
2284 DEBUG_LOG(info->line, "ser_rx int but no data_avail %08lX\n", data_read); handle_ser_rx_interrupt_no_dma()
2290 if (data_read & IO_MASK(R_SERIAL0_READ, data_avail)) { handle_ser_rx_interrupt_no_dma()
2513 unsigned long data_mask = (1 << (8+2*0)); /* ser0 data_avail */ ser_interrupt()
H A Detraxfs-uart.c623 /* Ack the data_avail interrupt. */ etraxfs_uart_get_poll_char()
/linux-4.1.27/arch/cris/arch-v10/drivers/
H A Dsync_serial.c48 /* |<- data_avail ->| */
/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Dsync_serial.c51 /* |<- data_avail ->| */
/linux-4.1.27/arch/x86/kvm/
H A Dx86.c4710 goto data_avail; emulator_pio_in_emulated()
4714 data_avail: emulator_pio_in_emulated()

Completed in 281 milliseconds