Home
last modified time | relevance | path

Searched refs:reader (Results 1 – 25 of 29) sorted by relevance

12

/drivers/misc/ibmasm/
Devent.c42 struct event_reader *reader; in wake_up_event_readers() local
44 list_for_each_entry(reader, &sp->event_buffer->readers, node) in wake_up_event_readers()
45 wake_up_interruptible(&reader->wait); in wake_up_event_readers()
91 int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader) in ibmasm_get_next_event() argument
98 reader->cancelled = 0; in ibmasm_get_next_event()
100 if (wait_event_interruptible(reader->wait, in ibmasm_get_next_event()
101 event_available(buffer, reader) || reader->cancelled)) in ibmasm_get_next_event()
104 if (!event_available(buffer, reader)) in ibmasm_get_next_event()
111 while (event->serial_number < reader->next_serial_number) { in ibmasm_get_next_event()
115 memcpy(reader->data, event->data, event->data_size); in ibmasm_get_next_event()
[all …]
Dremote.h106 #define set_queue_reader(sp, reader) writel(reader, mouse_addr(sp) + CONDOR_MOUSE_Q_READER) argument
113 static inline int advance_queue_reader(struct service_processor *sp, unsigned long reader) in advance_queue_reader() argument
115 reader++; in advance_queue_reader()
116 if (reader == REMOTE_QUEUE_SIZE) in advance_queue_reader()
117 reader = 0; in advance_queue_reader()
119 set_queue_reader(sp, reader); in advance_queue_reader()
120 return reader; in advance_queue_reader()
Dibmasmfs.c225 struct event_reader reader; member
356 ibmasm_event_reader_register(sp, &event_data->reader); in event_file_open()
368 ibmasm_event_reader_unregister(event_data->sp, &event_data->reader); in event_file_close()
376 struct event_reader *reader = &event_data->reader; in event_file_read() local
396 ret = ibmasm_get_next_event(sp, reader); in event_file_read()
400 if (count < reader->data_size) { in event_file_read()
405 if (copy_to_user(buf, reader->data, reader->data_size)) { in event_file_read()
409 ret = reader->data_size; in event_file_read()
427 ibmasm_cancel_next_event(&event_data->reader); in event_file_write()
Dibmasm.h177 void ibmasm_event_reader_register(struct service_processor *sp, struct event_reader *reader);
178 void ibmasm_event_reader_unregister(struct service_processor *sp, struct event_reader *reader);
179 int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader);
180 void ibmasm_cancel_next_event(struct event_reader *reader);
Dremote.c186 unsigned long reader; in ibmasm_handle_mouse_interrupt() local
190 reader = get_queue_reader(sp); in ibmasm_handle_mouse_interrupt()
193 while (reader != writer) { in ibmasm_handle_mouse_interrupt()
194 memcpy_fromio(&input, get_queue_entry(sp, reader), in ibmasm_handle_mouse_interrupt()
205 reader = advance_queue_reader(sp, reader); in ibmasm_handle_mouse_interrupt()
/drivers/hid/
Dhid-roccat.c79 struct roccat_reader *reader = file->private_data; in roccat_read() local
80 struct roccat_device *device = reader->device; in roccat_read()
88 if (reader->cbuf_start == device->cbuf_end) { in roccat_read()
93 while (reader->cbuf_start == device->cbuf_end) { in roccat_read()
121 report = &device->cbuf[reader->cbuf_start]; in roccat_read()
133 reader->cbuf_start = (reader->cbuf_start + 1) % ROCCAT_CBUF_SIZE; in roccat_read()
142 struct roccat_reader *reader = file->private_data; in roccat_poll() local
143 poll_wait(file, &reader->device->wait, wait); in roccat_poll()
144 if (reader->cbuf_start != reader->device->cbuf_end) in roccat_poll()
146 if (!reader->device->exist) in roccat_poll()
[all …]
/drivers/mmc/host/
Dcb710-mmc.c87 struct cb710_mmc_reader *reader = mmc_priv(cb710_slot_to_mmc(slot)); in cb710_mmc_enable_irq() local
90 spin_lock_irqsave(&reader->irq_lock, flags); in cb710_mmc_enable_irq()
93 spin_unlock_irqrestore(&reader->irq_lock, flags); in cb710_mmc_enable_irq()
345 static u16 cb710_encode_cmd_flags(struct cb710_mmc_reader *reader, in cb710_encode_cmd_flags() argument
447 struct cb710_mmc_reader *reader = mmc_priv(mmc); in cb710_mmc_command() local
450 u16 cb_cmd = cb710_encode_cmd_flags(reader, cmd); in cb710_mmc_command()
487 struct cb710_mmc_reader *reader = mmc_priv(mmc); in cb710_mmc_request() local
489 WARN_ON(reader->mrq != NULL); in cb710_mmc_request()
491 reader->mrq = mrq; in cb710_mmc_request()
497 tasklet_schedule(&reader->finish_req_tasklet); in cb710_mmc_request()
[all …]
DKconfig93 have a Ricoh based card reader.
340 MOXA provides one multi-functional card reader which can
385 SD/MMC card reader, say Y or M here.
446 the Texas Instruments(R) Flash Media card reader, found in many
449 probably also need appropriate card reader host adapter, such as
576 memory card reader found in some laptops (ie. some versions of
587 VIA provides one multi-functional card reader which integrated into
588 some motherboards manufactured by VIA. This card reader supports
760 of Realtek PCI-E card reader
767 of Realtek RTS5129/39 series card reader
[all …]
/drivers/memstick/host/
DKconfig13 the Texas Instruments(R) Flash Media card reader, found in many
16 probably also need appropriate card reader host adapter, such as
29 the JMicron(R) JMB38X MemoryStick card reader.
40 the Ricoh R5C592 MemoryStick card reader (which is part of 5 in one
41 multifunction reader)
51 of Realtek PCI-E card reader
61 of Realtek RTS5129/39 series USB card reader
/drivers/gpu/drm/via/
Dvia_dma.c406 uint32_t reader, ptr; in via_hook_segment() local
417 reader = *(dev_priv->hw_addr_ptr); in via_hook_segment()
430 diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff; in via_hook_segment()
436 reader = *(dev_priv->hw_addr_ptr); in via_hook_segment()
437 diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff; in via_hook_segment()
443 reader = *(dev_priv->hw_addr_ptr); in via_hook_segment()
444 diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff; in via_hook_segment()
449 ptr, reader, dev_priv->dma_diff); in via_hook_segment()
518 uint32_t reader; in via_cmdbuf_start() local
555 reader = *(dev_priv->hw_addr_ptr); in via_cmdbuf_start()
[all …]
/drivers/usb/storage/
DKconfig91 - CompactFlash reader included with Kodak DC3800 camera
92 - Dane-Elec Zmate CompactFlash reader
98 - Maxell UA4 CompactFlash reader
111 SmartMedia reader in the USB Mass Storage driver.
112 Also works for the Microtech Zio! CompactFlash/SmartMedia reader.
121 SmartMedia reader in the USB Mass Storage driver.
130 USB CompactFlash reader.
139 and Fujifilm DPC-R1 USB Card reader/writer devices.
189 tristate "USB ENE card reader support"
193 Say Y here if you wish to control a ENE SD/MS Card reader.
/drivers/misc/cb710/
DKconfig2 tristate "ENE CB710/720 Flash memory card reader support"
6 reader found in some laptops (ie. some versions of HP Compaq nx9500).
/drivers/char/
Dapm-emulation.c114 unsigned int reader: 1; member
202 if (as->reader) in queue_event()
374 as->reader = (filp->f_mode & FMODE_READ) == FMODE_READ; in apm_open()
553 if (as->suspend_state != SUSPEND_WAIT && as->reader && in apm_suspend_notifier()
/drivers/char/pcmcia/
DKconfig27 reader.
38 reader.
/drivers/lguest/
DREADME1 Welcome, friend reader, to lguest.
3 Lguest is an adventure, with you, the reader, as Hero. I can't think of many
/drivers/staging/rts5208/
DKconfig6 PCI-E card reader rts5208/rts5288.
/drivers/net/ethernet/sfc/
Dmcdi_mon.c283 ssize_t (*reader)(struct device *, in efx_mcdi_mon_add_attr()
302 attr->dev_attr.show = reader; in efx_mcdi_mon_add_attr()
/drivers/staging/speakup/
DTODO30 "speech" class, and the speakup screen reader itself into
DKconfig7 This is the Speakup screen reader. Think of it as a
/drivers/sbus/char/
DKconfig47 smartcard reader, if present. Say Y to enable support for these.
/drivers/misc/eeprom/
DKconfig42 tristate "Old I2C EEPROM reader"
/drivers/s390/char/
DKconfig200 Character device driver for z/VM reader, puncher and printer.
/drivers/usb/serial/
DKconfig411 tristate "USB KOBIL chipcard reader"
600 tristate "USB REINER SCT cyberJack pinpad/e-com chipcard reader"
603 reader. This is an interface to ISO 7816 compatible contact-based
/drivers/mfd/
DKconfig734 tristate "Realtek PCI-E card reader"
738 This supports for Realtek PCI-Express card reader including rts5209,
740 Realtek card reader supports access to many types of memory cards,
758 tristate "Realtek USB card reader"
764 Realtek card reader supports access to many types of memory cards,
/drivers/mtd/nand/
DKconfig119 tristate "Ricoh xD card reader"
124 Enable support for Ricoh R5C852 xD card reader

12