Home
last modified time | relevance | path

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

123456

/Linux-v6.6/sound/soc/sti/
Duniperif_reader.c46 struct uniperif *reader = dev_id; in uni_reader_irq_handler() local
49 spin_lock(&reader->irq_lock); in uni_reader_irq_handler()
50 if (!reader->substream) in uni_reader_irq_handler()
53 snd_pcm_stream_lock(reader->substream); in uni_reader_irq_handler()
54 if (reader->state == UNIPERIF_STATE_STOPPED) { in uni_reader_irq_handler()
56 dev_warn(reader->dev, "unexpected IRQ\n"); in uni_reader_irq_handler()
61 status = GET_UNIPERIF_ITS(reader); in uni_reader_irq_handler()
62 SET_UNIPERIF_ITS_BCLR(reader, status); in uni_reader_irq_handler()
65 if (unlikely(status & UNIPERIF_ITS_FIFO_ERROR_MASK(reader))) { in uni_reader_irq_handler()
66 dev_err(reader->dev, "FIFO error detected\n"); in uni_reader_irq_handler()
[all …]
/Linux-v6.6/drivers/misc/ibmasm/
Devent.c28 struct event_reader *reader; in wake_up_event_readers() local
30 list_for_each_entry(reader, &sp->event_buffer->readers, node) in wake_up_event_readers()
31 wake_up_interruptible(&reader->wait); in wake_up_event_readers()
77 int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader) in ibmasm_get_next_event() argument
84 reader->cancelled = 0; in ibmasm_get_next_event()
86 if (wait_event_interruptible(reader->wait, in ibmasm_get_next_event()
87 event_available(buffer, reader) || reader->cancelled)) in ibmasm_get_next_event()
90 if (!event_available(buffer, reader)) in ibmasm_get_next_event()
97 while (event->serial_number < reader->next_serial_number) { in ibmasm_get_next_event()
101 memcpy(reader->data, event->data, event->data_size); in ibmasm_get_next_event()
[all …]
Dremote.h93 #define set_queue_reader(sp, reader) writel(reader, mouse_addr(sp) + CONDOR_MOUSE_Q_READER) argument
100 static inline int advance_queue_reader(struct service_processor *sp, unsigned long reader) in advance_queue_reader() argument
102 reader++; in advance_queue_reader()
103 if (reader == REMOTE_QUEUE_SIZE) in advance_queue_reader()
104 reader = 0; in advance_queue_reader()
106 set_queue_reader(sp, reader); in advance_queue_reader()
107 return reader; in advance_queue_reader()
Dibmasmfs.c220 struct event_reader reader; member
351 ibmasm_event_reader_register(sp, &event_data->reader); in event_file_open()
363 ibmasm_event_reader_unregister(event_data->sp, &event_data->reader); in event_file_close()
371 struct event_reader *reader = &event_data->reader; in event_file_read() local
391 ret = ibmasm_get_next_event(sp, reader); in event_file_read()
395 if (count < reader->data_size) { in event_file_read()
400 if (copy_to_user(buf, reader->data, reader->data_size)) { in event_file_read()
404 ret = reader->data_size; in event_file_read()
422 ibmasm_cancel_next_event(&event_data->reader); in event_file_write()
Dibmasm.h166 void ibmasm_event_reader_register(struct service_processor *sp, struct event_reader *reader);
167 void ibmasm_event_reader_unregister(struct service_processor *sp, struct event_reader *reader);
168 int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader);
169 void ibmasm_cancel_next_event(struct event_reader *reader);
Dremote.c172 unsigned long reader; in ibmasm_handle_mouse_interrupt() local
176 reader = get_queue_reader(sp); in ibmasm_handle_mouse_interrupt()
179 while (reader != writer) { in ibmasm_handle_mouse_interrupt()
180 memcpy_fromio(&input, get_queue_entry(sp, reader), in ibmasm_handle_mouse_interrupt()
191 reader = advance_queue_reader(sp, reader); in ibmasm_handle_mouse_interrupt()
/Linux-v6.6/drivers/hid/
Dhid-roccat.c76 struct roccat_reader *reader = file->private_data; in roccat_read() local
77 struct roccat_device *device = reader->device; in roccat_read()
85 if (reader->cbuf_start == device->cbuf_end) { in roccat_read()
90 while (reader->cbuf_start == device->cbuf_end) { in roccat_read()
118 report = &device->cbuf[reader->cbuf_start]; in roccat_read()
130 reader->cbuf_start = (reader->cbuf_start + 1) % ROCCAT_CBUF_SIZE; in roccat_read()
139 struct roccat_reader *reader = file->private_data; in roccat_poll() local
140 poll_wait(file, &reader->device->wait, wait); in roccat_poll()
141 if (reader->cbuf_start != reader->device->cbuf_end) in roccat_poll()
143 if (!reader->device->exist) in roccat_poll()
[all …]
/Linux-v6.6/Documentation/trace/
Dring-buffer-design.rst34 - the task that reads from the buffer (same as reader)
36 reader
41 by the reader.
44 - a pointer to the page that the reader will use next
98 same time, nor can a reader preempt/interrupt another reader. A reader
100 buffer at the same time as a writer is writing, but the reader must be
101 on another processor to do so. A reader may read on its own processor
104 A writer can preempt a reader, but a reader cannot preempt a writer.
105 But a reader can read the buffer at the same time (on another processor)
110 At initialization a reader page is allocated for the reader that is not
[all …]
/Linux-v6.6/drivers/mmc/host/
Dcb710-mmc.c86 struct cb710_mmc_reader *reader = mmc_priv(cb710_slot_to_mmc(slot)); in cb710_mmc_enable_irq() local
89 spin_lock_irqsave(&reader->irq_lock, flags); in cb710_mmc_enable_irq()
92 spin_unlock_irqrestore(&reader->irq_lock, flags); in cb710_mmc_enable_irq()
344 static u16 cb710_encode_cmd_flags(struct cb710_mmc_reader *reader, in cb710_encode_cmd_flags() argument
446 struct cb710_mmc_reader *reader = mmc_priv(mmc); in cb710_mmc_command() local
449 u16 cb_cmd = cb710_encode_cmd_flags(reader, cmd); in cb710_mmc_command()
486 struct cb710_mmc_reader *reader = mmc_priv(mmc); in cb710_mmc_request() local
488 WARN_ON(reader->mrq != NULL); in cb710_mmc_request()
490 reader->mrq = mrq; in cb710_mmc_request()
496 tasklet_schedule(&reader->finish_req_tasklet); in cb710_mmc_request()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_bpftool_synctypes.py28 def __init__(self, reader): argument
29 self.reader = reader
36 offset = self.reader.tell()
37 array_start = re.search(start_marker, self.reader.read())
40 self.reader.seek(offset + array_start.start())
51 line = self.reader.readline()
67 def __init__(self, reader, array_name): argument
70 super().__init__(reader)
86 line = self.reader.readline()
107 line = self.reader.readline()
[all …]
/Linux-v6.6/drivers/gpu/drm/lima/
Dlima_drv.c291 static bool lima_read_block(struct lima_block_reader *reader, in lima_read_block() argument
294 size_t max_off = reader->base + src_size; in lima_read_block()
296 if (reader->off < max_off) { in lima_read_block()
297 size_t size = min_t(size_t, max_off - reader->off, in lima_read_block()
298 reader->count); in lima_read_block()
300 memcpy(reader->dst, src + (reader->off - reader->base), size); in lima_read_block()
302 reader->dst += size; in lima_read_block()
303 reader->off += size; in lima_read_block()
304 reader->read += size; in lima_read_block()
305 reader->count -= size; in lima_read_block()
[all …]
/Linux-v6.6/kernel/locking/
Dpercpu-rwsem.c92 static bool __percpu_rwsem_trylock(struct percpu_rw_semaphore *sem, bool reader) in __percpu_rwsem_trylock() argument
94 if (reader) { in __percpu_rwsem_trylock()
123 bool reader = wq_entry->flags & WQ_FLAG_CUSTOM; in percpu_rwsem_wake_function() local
128 if (!__percpu_rwsem_trylock(sem, reader)) in percpu_rwsem_wake_function()
138 return !reader; /* wake (readers until) 1 writer */ in percpu_rwsem_wake_function()
141 static void percpu_rwsem_wait(struct percpu_rw_semaphore *sem, bool reader) in percpu_rwsem_wait() argument
151 wait = !__percpu_rwsem_trylock(sem, reader); in percpu_rwsem_wait()
153 wq_entry.flags |= WQ_FLAG_EXCLUSIVE | reader * WQ_FLAG_CUSTOM; in percpu_rwsem_wait()
/Linux-v6.6/drivers/misc/cardreader/
DKconfig3 tristate "Alcor Micro/Alcor Link PCI-E card reader"
7 This supports for Alcor Micro PCI-Express card reader including au6601,
14 tristate "Realtek PCI-E card reader"
18 This supports for Realtek PCI-Express card reader including rts5209,
25 tristate "Realtek USB card reader"
31 Realtek card reader supports access to many types of memory cards,
/Linux-v6.6/scripts/
Djobserver-exec35 reader = os.open(path, os.O_RDONLY | os.O_NONBLOCK) variable
38 reader, writer = [int(x) for x in fds.split(",", 1)]
41 reader = os.open("/proc/self/fd/%d" % (reader), variable
47 slot = os.read(reader, 8)
Dbpf_doc.py24 def __init__(self, line='<line not provided>', reader=None): argument
25 if reader:
28 (reader.tell(), line))
93 self.reader = open(filename, 'r')
125 self.line = self.reader.readline()
140 self.line = self.reader.readline()
153 self.line = self.reader.readline()
179 self.line = self.reader.readline()
196 self.reader.seek(0)
197 offset = self.reader.read().find(target)
[all …]
/Linux-v6.6/drivers/memstick/host/
DKconfig14 the Texas Instruments(R) Flash Media card reader, found in many
17 probably also need appropriate card reader host adapter, such as
30 the JMicron(R) JMB38X MemoryStick card reader.
41 the Ricoh R5C592 MemoryStick card reader (which is part of 5 in one
42 multifunction reader)
52 of Realtek PCI-E card reader
62 of Realtek RTS5129/39 series USB card reader
/Linux-v6.6/drivers/net/ethernet/sfc/
Def100_nic.c861 const struct ef100_tlv_state *reader) in ef100_process_design_param() argument
865 switch (reader->type) { in ef100_process_design_param()
885 nic_data->tso_max_hdr_len = min_t(u64, reader->value, 0xffff); in ef100_process_design_param()
889 if (!reader->value) { in ef100_process_design_param()
902 if (!reader->value || reader->value > EFX_MIN_DMAQ_SIZE || in ef100_process_design_param()
903 EFX_MIN_DMAQ_SIZE % (u32)reader->value) { in ef100_process_design_param()
906 reader->type == ESE_EF100_DP_GZ_RXQ_SIZE_GRANULARITY ? "RXQ" : "TXQ", in ef100_process_design_param()
907 reader->value); in ef100_process_design_param()
912 nic_data->tso_max_payload_len = min_t(u64, reader->value, in ef100_process_design_param()
918 nic_data->tso_max_payload_num_segs = min_t(u64, reader->value, 0xffff); in ef100_process_design_param()
[all …]
/Linux-v6.6/Documentation/locking/
Dseqlock.rst8 Sequence counters are a reader-writer consistency mechanism with
11 reader wants a consistent set of information and is willing to retry if
19 the reader must retry.
28 or interrupted by read side sections. Otherwise the reader will spin for
30 interrupted writer. If that reader belongs to a real-time scheduling
34 as the writer can invalidate a pointer that the reader is following.
197 number. Writers do not wait for a sequence reader::
206 2. Locking readers which will wait if a writer or another locking reader
207 is in progress. A locking reader in progress will also block a writer
209 exclusive. Unlike rwlock_t, only one locking reader can acquire it::
[all …]
/Linux-v6.6/tools/testing/radix-tree/
Dregression4.c60 pthread_t reader, writer; in regression4_test() local
67 if (pthread_create(&reader, NULL, reader_fn, NULL) || in regression4_test()
73 if (pthread_join(reader, NULL) || pthread_join(writer, NULL)) { in regression4_test()
/Linux-v6.6/drivers/usb/storage/
DKconfig88 - CompactFlash reader included with Kodak DC3800 camera
89 - Dane-Elec Zmate CompactFlash reader
95 - Maxell UA4 CompactFlash reader
107 SmartMedia reader in the USB Mass Storage driver.
108 Also works for the Microtech Zio! CompactFlash/SmartMedia reader.
116 SmartMedia reader in the USB Mass Storage driver.
124 USB CompactFlash reader.
132 and Fujifilm DPC-R1 USB Card reader/writer devices.
179 tristate "USB ENE card reader support"
181 Say Y here if you wish to control a ENE SD/MS Card reader.
/Linux-v6.6/kernel/trace/
Dring_buffer.c3998 struct buffer_page *reader = cpu_buffer->reader_page; in rb_per_cpu_empty() local
4007 if (reader->read != rb_page_commit(reader)) in rb_per_cpu_empty()
4014 if (commit == reader) in rb_per_cpu_empty()
4441 struct buffer_page *reader; in ring_buffer_iter_empty() local
4450 reader = cpu_buffer->reader_page; in ring_buffer_iter_empty()
4476 (iter->head_page == reader && commit_page == head_page && in ring_buffer_iter_empty()
4545 struct buffer_page *reader = NULL; in rb_get_reader_page() local
4562 reader = NULL; in rb_get_reader_page()
4566 reader = cpu_buffer->reader_page; in rb_get_reader_page()
4569 if (cpu_buffer->reader_page->read < rb_page_size(reader)) in rb_get_reader_page()
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/sound/
Dst,sti-asoc-card.txt16 "st,stih407-uni-reader-pcm_in", "st,stih407-uni-reader-hdmi",
36 "rx" for "st,sti-uni-reader" compatibility
88 sti_uni_reader1: sti-uni-reader@8d84000 {
89 compatible = "st,stih407-uni-reader-hdmi";
/Linux-v6.6/drivers/misc/cb710/
DKconfig3 tristate "ENE CB710/720 Flash memory card reader support"
7 reader found in some laptops (ie. some versions of HP Compaq nx9500).
/Linux-v6.6/Documentation/usb/
Diuu_phoenix.rst23 How to tune the reader speed?
57 - boost provide a way to overclock the reader ( my favorite :-) )
62 This will put the reader in a base of 3Mhz579 but boosted a 195 % !
/Linux-v6.6/drivers/char/
Dapm-emulation.c108 unsigned int reader: 1; member
196 if (as->reader) in queue_event()
368 as->reader = (filp->f_mode & FMODE_READ) == FMODE_READ; in apm_open()
534 if (as->suspend_state != SUSPEND_WAIT && as->reader && in apm_suspend_notifier()

123456