Home
last modified time | relevance | path

Searched refs:reader (Results 1 – 25 of 33) 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.c227 struct event_reader reader; member
358 ibmasm_event_reader_register(sp, &event_data->reader); in event_file_open()
370 ibmasm_event_reader_unregister(event_data->sp, &event_data->reader); in event_file_close()
378 struct event_reader *reader = &event_data->reader; in event_file_read() local
398 ret = ibmasm_get_next_event(sp, reader); in event_file_read()
402 if (count < reader->data_size) { in event_file_read()
407 if (copy_to_user(buf, reader->data, reader->data_size)) { in event_file_read()
411 ret = reader->data_size; in event_file_read()
429 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 …]
DKconfig80 have a Ricoh based card reader.
291 SD/MMC card reader, say Y or M here.
347 the Texas Instruments(R) Flash Media card reader, found in many
350 probably also need appropriate card reader host adapter, such as
483 memory card reader found in some laptops (ie. some versions of
494 VIA provides one multi-functional card reader which integrated into
495 some motherboards manufactured by VIA. This card reader supports
648 of Realtek PCI-E card reader
/drivers/misc/carma/
Dcarma-fpga.c1057 struct fpga_reader *reader; in data_open() local
1061 reader = kzalloc(sizeof(*reader), GFP_KERNEL); in data_open()
1062 if (!reader) in data_open()
1065 reader->priv = priv; in data_open()
1066 reader->buf = NULL; in data_open()
1068 filp->private_data = reader; in data_open()
1072 kfree(reader); in data_open()
1086 struct fpga_reader *reader = filp->private_data; in data_release() local
1087 struct fpga_device *priv = reader->priv; in data_release()
1090 data_free_buffer(reader->buf); in data_release()
[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
/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/staging/keucr/
DKconfig2 tristate "USB ENE SM card reader support"
5 Say Y here if you wish to control a ENE SM 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()
549 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/rts5139/
DKconfig2 tristate "Realtek RTS5139 USB card reader support"
DTODO2 - support more USB card reader of Realtek family
/drivers/net/ethernet/sfc/
Dmcdi_mon.c212 ssize_t (*reader)(struct device *, in efx_mcdi_mon_add_attr()
228 attr->dev_attr.show = reader; in efx_mcdi_mon_add_attr()
/drivers/staging/speakup/
DTODO30 "speech" class, and the speakup screen reader itself into
/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/
DKconfig177 Character device driver for z/VM reader, puncher and printer.
/drivers/usb/serial/
DKconfig396 tristate "USB KOBIL chipcard reader"
581 tristate "USB REINER SCT cyberJack pinpad/e-com chipcard reader"
584 reader. This is an interface to ISO 7816 compatible contact-based

12