Home
last modified time | relevance | path

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

/linux-4.1.27/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()
/linux-4.1.27/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 …]
/linux-4.1.27/Documentation/trace/
Dring-buffer-design.txt25 consumer - the task that reads from the buffer (same as reader)
27 reader - same as consumer.
30 by the reader.
32 head_page - a pointer to the page that the reader will use next
81 same time, nor can a reader preempt/interrupt another reader. A reader
83 buffer at the same time as a writer is writing, but the reader must be
84 on another processor to do so. A reader may read on its own processor
87 A writer can preempt a reader, but a reader cannot preempt a writer.
88 But a reader can read the buffer at the same time (on another processor)
93 At initialization a reader page is allocated for the reader that is not
[all …]
Dmmiotrace.txt139 info for reader LSPCI one line from lspci -v
Dftrace-design.txt248 scroll your reader back up if you got over eager.
Dftrace.txt443 Like trace_pipe, this is a consuming reader, where multiple
/linux-4.1.27/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.
330 MOXA provides one multi-functional card reader which can
375 SD/MMC card reader, say Y or M here.
436 the Texas Instruments(R) Flash Media card reader, found in many
439 probably also need appropriate card reader host adapter, such as
565 memory card reader found in some laptops (ie. some versions of
576 VIA provides one multi-functional card reader which integrated into
577 some motherboards manufactured by VIA. This card reader supports
758 of Realtek PCI-E card reader
765 of Realtek RTS5129/39 series card reader
/linux-4.1.27/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
/linux-4.1.27/drivers/misc/carma/
Dcarma-fpga.c1118 struct fpga_reader *reader; in data_open() local
1122 reader = kzalloc(sizeof(*reader), GFP_KERNEL); in data_open()
1123 if (!reader) in data_open()
1126 reader->priv = priv; in data_open()
1127 reader->buf = NULL; in data_open()
1129 filp->private_data = reader; in data_open()
1133 kfree(reader); in data_open()
1147 struct fpga_reader *reader = filp->private_data; in data_release() local
1148 struct fpga_device *priv = reader->priv; in data_release()
1151 data_free_buffer(reader->buf); in data_release()
[all …]
/linux-4.1.27/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 …]
/linux-4.1.27/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.
/linux-4.1.27/kernel/trace/
Dring_buffer.c3047 struct buffer_page *reader = cpu_buffer->reader_page; in rb_per_cpu_empty() local
3055 return reader->read == rb_page_commit(reader) && in rb_per_cpu_empty()
3056 (commit == reader || in rb_per_cpu_empty()
3522 struct buffer_page *reader = NULL; in rb_get_reader_page() local
3539 reader = NULL; in rb_get_reader_page()
3543 reader = cpu_buffer->reader_page; in rb_get_reader_page()
3546 if (cpu_buffer->reader_page->read < rb_page_size(reader)) in rb_get_reader_page()
3551 cpu_buffer->reader_page->read > rb_page_size(reader))) in rb_get_reader_page()
3555 reader = NULL; in rb_get_reader_page()
3575 reader = rb_set_head_page(cpu_buffer); in rb_get_reader_page()
[all …]
/linux-4.1.27/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).
/linux-4.1.27/Documentation/usb/
Diuu_phoenix.txt22 How to tune the reader speed ?
48 - boost provide a way to overclock the reader ( my favorite :-) )
53 This will put the reader in a base of 3Mhz579 but boosted a 195 % !
Dpersist.txt149 USB card reader while the system is asleep, the kernel will have no
Dusb-serial.txt382 REINER SCT cyberJack pinpad/e-com USB chipcard reader
387 This is the kernel part of the driver for this USB card reader.
Dmass-storage.txt77 reader). It does *not* mean that the entire gadget can be
/linux-4.1.27/Documentation/RCU/
Drcuref.txt13 reader/writer spinlocks or semaphores are straightforward:
114 any reader finds the element, that reader may safely acquire a reference
Drculist_nulls.txt73 We need to make sure a reader cannot read the new 'obj->obj_next' value
76 before the move, 'next' pointer is NULL, and lockless reader can
122 then the reader doesn't care : It might eventually
DlistRCU.txt13 The best applications are cases where, if reader-writer locking were
26 system-call auditing support. For example, a reader-writer locked
75 The changes to the update side are also straightforward. A reader-writer
161 However, if it did, reader-writer-locked code to do so might look as
217 the reader-writer lock would become a spinlock in this sort of code.
DwhatisRCU.txt68 during the removal phase need be considered, because any reader starting
110 So how the heck can a reclaimer tell when a reader is done, given
137 Used by a reader to inform the reclaimer that the reader is
151 Used by a reader to inform the reclaimer that the reader is
218 in value from the updater to the reader. This function returns
235 The reader uses rcu_dereference() to fetch an RCU-protected
289 reader, updater, and reclaimer.
294 +---------------------->| reader |---------+
602 and release a global reader-writer lock. The synchronize_rcu()
610 It is possible to nest rcu_read_lock(), since reader-writer locks may
[all …]
Drcu_dereference.txt239 void reader(void)
259 a second time between the time reader() loaded into "r1" and the time
263 But suppose that the reader needs a consistent view?
296 void reader(void)
349 int reader(void)
363 on the other. The comparison in reader() therefore tells the compiler
Dtorture.txt282 it becomes one when removed from reader visibility, and is
300 the second to the number that have been removed from reader view,
DRTFP.txt86 reader at a time. The following year, this same group of researchers
464 using the resource at hand. Only one reader at a time.
1599 RCU-based reader-writer lock that allows readers to proceed with
1602 the semantics of reader-writer locking. This is a recursive
/linux-4.1.27/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()
DKconfig75 own secure code and reader for that.
/linux-4.1.27/drivers/char/pcmcia/
DKconfig27 reader.
38 reader.
/linux-4.1.27/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
/linux-4.1.27/drivers/staging/rts5208/
DKconfig6 PCI-E card reader rts5208/rts5288.
/linux-4.1.27/arch/um/drivers/
Dcow.h11 extern int read_cow_header(int (*reader)(__u64, char *, int, void *),
Dcow_user.c277 int read_cow_header(int (*reader)(__u64, char *, int, void *), void *arg, in read_cow_header()
294 n = (*reader)(0, (char *) header, sizeof(*header), arg); in read_cow_header()
/linux-4.1.27/Documentation/locking/
Dspinlocks.txt45 Lesson 2: reader-writer spinlocks.
48 to mostly read from the shared variables, the reader-writer locks
53 NOTE! reader-writer locks require more atomic memory operations than
54 simple spinlocks. Unless the reader critical section is long, you
83 NOTE! We are working hard to remove reader-writer spinlocks in most
Dlglock.txt154 again as the "big reader lock" brlock [2] variant of lglock which has
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-platform-asus-wmi24 Control the card reader. 1 means on, 0 means off.
Dsysfs-platform-eeepc-laptop24 Control the card reader. 1 means on, 0 means off.
Ddev-kmsg48 if needed, without limiting the interface to a single reader.
/linux-4.1.27/net/sunrpc/
Dcache.c730 int reader; /* if 0, then request */ member
774 ->reader) { in cache_read()
785 WARN_ON_ONCE(rq->q.reader); in cache_read()
933 if (!cq->reader) { in cache_poll()
959 if (!cq->reader) { in cache_ioctl()
985 rp->q.reader = 1; in cache_open()
1006 if (!cq->reader) { in cache_release()
1037 if (!cq->reader) { in cache_dequeue()
1177 crq->q.reader = 0; in sunrpc_cache_pipe_upcall()
/linux-4.1.27/Documentation/filesystems/
Dfiles.txt24 a lock-free reader, all the elements of the file descriptor
61 4. To look up the file structure given an fd, a reader
Drelay.txt118 'consumed' by the reader, i.e. they won't be available
127 the reader.
131 and will not be seen by the reader.
Dseq_file.txt20 multiple reads (and seeks) requires careful attention to the reader's
Dxfs-delayed-logging-design.txt141 no time is spent in this document trying to convince the reader that the
/linux-4.1.27/arch/s390/kernel/
Dhead.S91 # subroutine for loading cards from the reader
230 # reset files in VM reader
/linux-4.1.27/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
Dspkguide.txt112 separate screen reader, but is actually built into the operating
350 The Speakup screen reader also creates a speakup subdirectory as a part
/linux-4.1.27/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()
/linux-4.1.27/drivers/sbus/char/
DKconfig47 smartcard reader, if present. Say Y to enable support for these.
/linux-4.1.27/drivers/misc/eeprom/
DKconfig42 tristate "Old I2C EEPROM reader"
/linux-4.1.27/arch/x86/kernel/
Dapm_32.c343 unsigned int reader: 1; member
1184 if ((as == sender) || (!as->reader)) in queue_event()
1625 as->reader = (filp->f_mode & FMODE_READ) == FMODE_READ; in do_open()
/linux-4.1.27/Documentation/tpm/
Dxen-tpmfront.txt6 Xen. The reader is assumed to have familiarity with building and installing Xen,
/linux-4.1.27/drivers/s390/char/
DKconfig200 Character device driver for z/VM reader, puncher and printer.
/linux-4.1.27/Documentation/
Dlocal_ops.txt114 respectively on the writer and the reader CPUs. It would be the case if you use
D00-INDEX149 - how to use firewire like a hardware debugger memory reader.
DSubmittingPatches630 alphabetically by subject line - pretty much any email reader will
687 changelog, so should make sense to a competent reader who has long
Dkernel-docs.txt135 topic, preparing the reader to understand next month's
DCodingStyle386 because it is a simple way to add valuable information for the reader.
Dkernel-parameters.txt2486 reader made by F.H. Papenmeier (Germany).
/linux-4.1.27/drivers/mtd/nand/
DKconfig118 tristate "Ricoh xD card reader"
123 Enable support for Ricoh R5C852 xD card reader
/linux-4.1.27/drivers/usb/serial/
DKconfig409 tristate "USB KOBIL chipcard reader"
598 tristate "USB REINER SCT cyberJack pinpad/e-com chipcard reader"
601 reader. This is an interface to ISO 7816 compatible contact-based
/linux-4.1.27/drivers/mfd/
DKconfig681 tristate "Realtek PCI-E card reader"
685 This supports for Realtek PCI-Express card reader including rts5209,
686 rts5229, rtl8411, etc. Realtek card reader supports access to many
704 tristate "Realtek USB card reader"
710 Realtek card reader supports access to many types of memory cards,
/linux-4.1.27/Documentation/hid/
Dhiddev.txt77 usage changes available to the reader using a struct hiddev_event:
/linux-4.1.27/Documentation/development-process/
D7.AdvancedTopics23 teach the reader how to use git; that would be sufficient material for a
D5.Posting137 enough for a reader who sees it with no other context to figure out the
/linux-4.1.27/Documentation/dvb/
Davermedia.txt14 It is assumed that the reader understands the basic structure
/linux-4.1.27/drivers/staging/i2o/
DREADME.ioctl17 This document assumes the reader is familiar with or has access to the
/linux-4.1.27/Documentation/nfc/
Dnfc-hci.txt254 ANY_GET_PARAMETER to the reader A gate to get information on the target
/linux-4.1.27/Documentation/s390/
DDebugging390.txt1493 A good trick is tracing all the IO's and CCWS and spooling them into the reader
1497 1) Spool stdout to VM reader
1499 2) Fill the reader with the trace
1505 5) close the reader
1507 6) list reader contents
/linux-4.1.27/drivers/misc/
DKconfig160 support', if you have a TI PCI74xx compatible card reader, for
/linux-4.1.27/Documentation/scheduler/
Dsched-deadline.txt118 * The reader can "safely" skip to Section 4 if only interested in seeing
/linux-4.1.27/Documentation/virtual/kvm/
Dmmu.txt223 atomically. The reader uses this while running out of the MMU lock
/linux-4.1.27/init/
DKconfig715 readers blocking that grace period. Note that any RCU reader
/linux-4.1.27/drivers/scsi/
DKconfig167 quality digital reader of audio CDs (<http://www.xiph.org/paranoia/>).
/linux-4.1.27/
DCREDITS552 D: REINER SCT cyberJack pinpad/e-com USB chipcard reader driver