Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/goldfish/
Dgoldfish_audio.c52 int buffer_status; member
146 wait_event_interruptible(data->wait, data->buffer_status & in goldfish_audio_read()
150 data->buffer_status &= ~AUDIO_INT_READ_BUFFER_FULL; in goldfish_audio_read()
179 wait_event_interruptible(data->wait, data->buffer_status & in goldfish_audio_write()
183 if ((data->buffer_status & AUDIO_INT_WRITE_BUFFER_1_EMPTY) != 0) in goldfish_audio_write()
200 data->buffer_status &= ~AUDIO_INT_WRITE_BUFFER_1_EMPTY; in goldfish_audio_write()
203 data->buffer_status &= ~AUDIO_INT_WRITE_BUFFER_2_EMPTY; in goldfish_audio_write()
222 audio_data->buffer_status = (AUDIO_INT_WRITE_BUFFER_1_EMPTY | in goldfish_audio_open()
266 data->buffer_status = status; in goldfish_audio_interrupt()
/Linux-v4.19/drivers/char/pcmcia/
Dcm4040_cs.c76 unsigned long buffer_status; member
114 set_bit(BS_READABLE, &dev->buffer_status); in cm4040_do_poll()
118 clear_bit(BS_READABLE, &dev->buffer_status); in cm4040_do_poll()
121 set_bit(BS_WRITABLE, &dev->buffer_status); in cm4040_do_poll()
125 clear_bit(BS_WRITABLE, &dev->buffer_status); in cm4040_do_poll()
127 if (dev->buffer_status) in cm4040_do_poll()
155 &dev->buffer_status), in wait_for_bulk_out_ready()
203 &dev->buffer_status), in wait_for_bulk_in_ready()
425 if (test_and_clear_bit(BS_READABLE, &dev->buffer_status)) in cm4040_poll()
427 if (test_and_clear_bit(BS_WRITABLE, &dev->buffer_status)) in cm4040_poll()
[all …]
/Linux-v4.19/drivers/net/wireless/
Dray_cs.c510 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in ray_init()
562 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in dl_startup_params()
664 status = readb(&pccs->buffer_status); in verify_dl_startup()
699 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in start_net()
729 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in join_net()
940 writeb(CCS_BUFFER_FREE, &pccs->buffer_status); in ray_hw_xmit()
1592 if (readb(&(pccs + i)->buffer_status) == CCS_BUFFER_FREE) { in get_free_tx_ccs()
1593 writeb(CCS_BUFFER_BUSY, &(pccs + i)->buffer_status); in get_free_tx_ccs()
1623 if (readb(&(pccs + i)->buffer_status) == CCS_BUFFER_FREE) { in get_free_ccs()
1624 writeb(CCS_BUFFER_BUSY, &(pccs + i)->buffer_status); in get_free_ccs()
[all …]
Drayctl.h518 UCHAR buffer_status; /* 0 = buffer free, 1 = buffer busy */ member
602 UCHAR buffer_status; member