/kernel/linux/linux-5.10/sound/soc/sti/ |
D | uniperif_reader.c | 46 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 …]
|
/kernel/linux/linux-5.10/drivers/misc/ibmasm/ |
D | event.c | 28 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 …]
|
D | remote.h | 93 #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()
|
D | ibmasmfs.c | 220 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()
|
D | ibmasm.h | 166 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);
|
D | remote.c | 172 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()
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-roccat.c | 76 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 …]
|
/kernel/linux/linux-5.10/Documentation/trace/ |
D | ring-buffer-design.rst | 34 - 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 …]
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | cb710-mmc.c | 86 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 …]
|
/kernel/linux/linux-5.10/scripts/ |
D | bpf_helpers_doc.py | 17 def __init__(self, line='<line not provided>', reader=None): argument 18 if reader: 21 (reader.tell(), line)) 72 self.reader = open(filename, 'r') 94 self.line = self.reader.readline() 108 self.line = self.reader.readline() 131 self.line = self.reader.readline() 145 offset = self.reader.read().find('* Start of BPF helper function descriptions:') 148 self.reader.seek(offset) 149 self.reader.readline() [all …]
|
D | jobserver-exec | 27 reader, writer = [int(x) for x in fds.split(",", 1)] variable 30 reader = os.open("/proc/self/fd/%d" % (reader), variable 36 slot = os.read(reader, 8)
|
/kernel/linux/linux-5.10/kernel/locking/ |
D | percpu-rwsem.c | 90 static bool __percpu_rwsem_trylock(struct percpu_rw_semaphore *sem, bool reader) in __percpu_rwsem_trylock() argument 92 if (reader) { in __percpu_rwsem_trylock() 121 bool reader = wq_entry->flags & WQ_FLAG_CUSTOM; in percpu_rwsem_wake_function() local 126 if (!__percpu_rwsem_trylock(sem, reader)) in percpu_rwsem_wake_function() 136 return !reader; /* wake (readers until) 1 writer */ in percpu_rwsem_wake_function() 139 static void percpu_rwsem_wait(struct percpu_rw_semaphore *sem, bool reader) in percpu_rwsem_wait() argument 149 wait = !__percpu_rwsem_trylock(sem, reader); in percpu_rwsem_wait() 151 wq_entry.flags |= WQ_FLAG_EXCLUSIVE | reader * WQ_FLAG_CUSTOM; in percpu_rwsem_wait()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
D | lima_drv.c | 293 static bool lima_read_block(struct lima_block_reader *reader, in lima_read_block() argument 296 size_t max_off = reader->base + src_size; in lima_read_block() 298 if (reader->off < max_off) { in lima_read_block() 299 size_t size = min_t(size_t, max_off - reader->off, in lima_read_block() 300 reader->count); in lima_read_block() 302 memcpy(reader->dst, src + (reader->off - reader->base), size); in lima_read_block() 304 reader->dst += size; in lima_read_block() 305 reader->off += size; in lima_read_block() 306 reader->read += size; in lima_read_block() 307 reader->count -= size; in lima_read_block() [all …]
|
/kernel/linux/linux-5.10/drivers/misc/cardreader/ |
D | Kconfig | 3 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,
|
/kernel/linux/linux-5.10/drivers/memstick/host/ |
D | Kconfig | 14 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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | ef100_nic.c | 935 const struct ef100_tlv_state *reader) in ef100_process_design_param() argument 939 switch (reader->type) { in ef100_process_design_param() 959 nic_data->tso_max_hdr_len = min_t(u64, reader->value, 0xffff); in ef100_process_design_param() 963 if (!reader->value) { in ef100_process_design_param() 976 if (!reader->value || reader->value > EFX_MIN_DMAQ_SIZE || in ef100_process_design_param() 977 EFX_MIN_DMAQ_SIZE % (u32)reader->value) { in ef100_process_design_param() 980 reader->type == ESE_EF100_DP_GZ_RXQ_SIZE_GRANULARITY ? "RXQ" : "TXQ", in ef100_process_design_param() 981 reader->value); in ef100_process_design_param() 986 nic_data->tso_max_payload_len = min_t(u64, reader->value, GSO_MAX_SIZE); in ef100_process_design_param() 990 nic_data->tso_max_payload_num_segs = min_t(u64, reader->value, 0xffff); in ef100_process_design_param() [all …]
|
/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
D | regression4.c | 60 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()
|
/kernel/linux/linux-5.10/Documentation/locking/ |
D | seqlock.rst | 8 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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/via/ |
D | via_dma.c | 413 uint32_t reader, ptr; in via_hook_segment() local 424 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() 450 reader = *(dev_priv->hw_addr_ptr); in via_hook_segment() 451 diff = (uint32_t) (ptr - reader) - dev_priv->dma_diff; in via_hook_segment() 456 ptr, reader, dev_priv->dma_diff); in via_hook_segment() 525 uint32_t reader; in via_cmdbuf_start() local 562 reader = *(dev_priv->hw_addr_ptr); in via_cmdbuf_start() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/storage/ |
D | Kconfig | 88 - 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.
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | ring_buffer.c | 3718 struct buffer_page *reader = cpu_buffer->reader_page; in rb_per_cpu_empty() local 3727 if (reader->read != rb_page_commit(reader)) in rb_per_cpu_empty() 3734 if (commit == reader) in rb_per_cpu_empty() 4160 struct buffer_page *reader; in ring_buffer_iter_empty() local 4169 reader = cpu_buffer->reader_page; in ring_buffer_iter_empty() 4195 (iter->head_page == reader && commit_page == head_page && in ring_buffer_iter_empty() 4264 struct buffer_page *reader = NULL; in rb_get_reader_page() local 4281 reader = NULL; in rb_get_reader_page() 4285 reader = cpu_buffer->reader_page; in rb_get_reader_page() 4288 if (cpu_buffer->reader_page->read < rb_page_size(reader)) in rb_get_reader_page() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
D | st,sti-asoc-card.txt | 16 "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";
|
/kernel/linux/linux-5.10/drivers/misc/cb710/ |
D | Kconfig | 3 tristate "ENE CB710/720 Flash memory card reader support" 7 reader found in some laptops (ie. some versions of HP Compaq nx9500).
|
/kernel/linux/linux-5.10/Documentation/usb/ |
D | iuu_phoenix.rst | 23 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 % !
|
/kernel/linux/linux-5.10/drivers/char/ |
D | apm-emulation.c | 108 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()
|