Searched refs:buffer_status (Results 1 – 4 of 4) sorted by relevance
/drivers/staging/goldfish/ |
D | goldfish_audio.c | 43 int buffer_status; member 137 wait_event_interruptible(data->wait, data->buffer_status & in goldfish_audio_read() 141 data->buffer_status &= ~AUDIO_INT_READ_BUFFER_FULL; in goldfish_audio_read() 170 wait_event_interruptible(data->wait, data->buffer_status & in goldfish_audio_write() 174 if ((data->buffer_status & AUDIO_INT_WRITE_BUFFER_1_EMPTY) != 0) in goldfish_audio_write() 191 data->buffer_status &= ~AUDIO_INT_WRITE_BUFFER_1_EMPTY; in goldfish_audio_write() 194 data->buffer_status &= ~AUDIO_INT_WRITE_BUFFER_2_EMPTY; in goldfish_audio_write() 213 audio_data->buffer_status = (AUDIO_INT_WRITE_BUFFER_1_EMPTY | in goldfish_audio_open() 257 data->buffer_status = status; in goldfish_audio_interrupt()
|
/drivers/char/pcmcia/ |
D | cm4040_cs.c | 76 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 …]
|
/drivers/net/wireless/ |
D | ray_cs.c | 498 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in ray_init() 550 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in dl_startup_params() 652 status = readb(&pccs->buffer_status); in verify_dl_startup() 687 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in start_net() 717 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in join_net() 930 writeb(CCS_BUFFER_FREE, &pccs->buffer_status); in ray_hw_xmit() 1582 if (readb(&(pccs + i)->buffer_status) == CCS_BUFFER_FREE) { in get_free_tx_ccs() 1583 writeb(CCS_BUFFER_BUSY, &(pccs + i)->buffer_status); in get_free_tx_ccs() 1613 if (readb(&(pccs + i)->buffer_status) == CCS_BUFFER_FREE) { in get_free_ccs() 1614 writeb(CCS_BUFFER_BUSY, &(pccs + i)->buffer_status); in get_free_ccs() [all …]
|
D | rayctl.h | 518 UCHAR buffer_status; /* 0 = buffer free, 1 = buffer busy */ member 602 UCHAR buffer_status; member
|