Searched refs:buffer_status (Results 1 - 11 of 11) sorted by relevance

/linux-4.4.14/drivers/staging/goldfish/
H A Dgoldfish_audio.c39 /* lock protects access to buffer_status and to device registers */
49 int buffer_status; member in struct:goldfish_audio
128 wait_event_interruptible(data->wait, data->buffer_status & goldfish_audio_read()
157 wait_event_interruptible(data->wait, data->buffer_status & goldfish_audio_write()
161 if ((data->buffer_status & AUDIO_INT_WRITE_BUFFER_1_EMPTY) != 0) goldfish_audio_write()
178 data->buffer_status &= ~AUDIO_INT_WRITE_BUFFER_1_EMPTY; goldfish_audio_write()
181 data->buffer_status &= ~AUDIO_INT_WRITE_BUFFER_2_EMPTY; goldfish_audio_write()
200 audio_data->buffer_status = (AUDIO_INT_WRITE_BUFFER_1_EMPTY | goldfish_audio_open()
244 data->buffer_status = status; goldfish_audio_interrupt()
/linux-4.4.14/drivers/char/pcmcia/
H A Dcm4040_cs.c76 unsigned long buffer_status; member in struct:reader_dev
114 set_bit(BS_READABLE, &dev->buffer_status); cm4040_do_poll()
118 clear_bit(BS_READABLE, &dev->buffer_status); cm4040_do_poll()
121 set_bit(BS_WRITABLE, &dev->buffer_status); cm4040_do_poll()
125 clear_bit(BS_WRITABLE, &dev->buffer_status); cm4040_do_poll()
127 if (dev->buffer_status) cm4040_do_poll()
155 &dev->buffer_status), wait_for_bulk_out_ready()
203 &dev->buffer_status), wait_for_bulk_in_ready()
425 if (test_and_clear_bit(BS_READABLE, &dev->buffer_status))
427 if (test_and_clear_bit(BS_WRITABLE, &dev->buffer_status))
577 dev->buffer_status = 0;
/linux-4.4.14/drivers/net/wireless/
H A Drayctl.h257 /* Values for buffer_status */
282 /* values for buffer_status field */
517 UCHAR buffer_status; /* 0 = buffer free, 1 = buffer busy */ member in struct:ccs
601 UCHAR buffer_status; member in struct:rcs
H A Dray_cs.c510 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); ray_init()
565 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); dl_startup_params()
668 status = readb(&pccs->buffer_status); verify_dl_startup()
703 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); start_net()
733 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); join_net()
944 writeb(CCS_BUFFER_FREE, &pccs->buffer_status); ray_hw_xmit()
1596 if (readb(&(pccs + i)->buffer_status) == CCS_BUFFER_FREE) { get_free_tx_ccs()
1597 writeb(CCS_BUFFER_BUSY, &(pccs + i)->buffer_status); get_free_tx_ccs()
1627 if (readb(&(pccs + i)->buffer_status) == CCS_BUFFER_FREE) { get_free_ccs()
1628 writeb(CCS_BUFFER_BUSY, &(pccs + i)->buffer_status); get_free_ccs()
1745 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); ray_update_parm()
1795 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status);
1872 status = readb(&pccs->buffer_status); ray_interrupt()
2002 writeb(CCS_BUFFER_FREE, &pccs->buffer_status); ray_interrupt()
2043 writeb(CCS_BUFFER_FREE, &prcs->buffer_status); ray_interrupt()
2397 writeb(CCS_BUFFER_FREE, &prcslink->buffer_status); release_frag_chain()
2406 writeb(CCS_BUFFER_FREE, &prcslink->buffer_status); release_frag_chain()
2503 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); associate()
2727 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); build_auth_frame()
/linux-4.4.14/sound/oss/
H A Dmidibuf.c88 if (midi_devs[dev]->buffer_status != NULL) drain_midi_queue()
90 !midi_devs[dev]->buffer_status(dev), HZ/10); drain_midi_queue()
H A Dpas2_midi.c207 .buffer_status = pas_buffer_status,
H A Duart6850.c245 .buffer_status = uart6850_buffer_status
H A Ddev_table.h326 int (*buffer_status) (int dev); member in struct:midi_operations
H A Duart401.c221 .buffer_status = uart401_buffer_status,
H A Dsequencer.c1107 if (midi_devs[i]->buffer_status != NULL) seq_drain_midi_queues()
1108 if (midi_devs[i]->buffer_status(i)) seq_drain_midi_queues()
H A Dmpu401.c920 .buffer_status = mpu401_buffer_status,

Completed in 203 milliseconds