/linux-6.12.1/drivers/parport/ |
D | ieee1284.c | 2 * IEEE-1284 implementation for parport. 5 * Carsten Gross <carsten@sol.wohnheim.uni-ulm.de> 10 * read/write requests to low-level drivers. 38 up (&port->physport->ieee1284.irq); in parport_ieee1284_wakeup() 49 * parport_wait_event - wait for an event on a parallel port 61 * what it's doing as soon as it can. 68 if (!port->physport->cad->timeout) in parport_wait_event() 73 timer_setup(&port->timer, timeout_waiting_on_port, 0); in parport_wait_event() 74 mod_timer(&port->timer, jiffies + timeout); in parport_wait_event() 75 ret = down_interruptible (&port->physport->ieee1284.irq); in parport_wait_event() [all …]
|
/linux-6.12.1/arch/mips/cavium-octeon/executive/ |
D | cvmx-spi.c | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 34 #include <asm/octeon/cvmx-config.h> 36 #include <asm/octeon/cvmx-pko.h> 37 #include <asm/octeon/cvmx-spi.h> 39 #include <asm/octeon/cvmx-spxx-defs.h> 40 #include <asm/octeon/cvmx-stxx-defs.h> 41 #include <asm/octeon/cvmx-srxx-defs.h> 96 * @mode: The operating mode for the SPI interface. The interface [all …]
|
/linux-6.12.1/usr/ |
D | gen_init_cpio.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #define xstr(s) #s argument 24 #define str(s) xstr(s) argument 72 static void push_hdr(const char *s) in push_hdr() argument 74 fputs(s, stdout); in push_hdr() 80 char s[256]; in cpio_trailer() local 83 sprintf(s, "%s%08X%08X%08lX%08lX%08X%08lX" in cpio_trailer() 87 0, /* mode */ in cpio_trailer() 99 push_hdr(s); in cpio_trailer() 109 unsigned int mode, uid_t uid, gid_t gid) in cpio_mkslink() argument [all …]
|
/linux-6.12.1/net/netfilter/ |
D | nf_conntrack_standalone.c | 1 // SPDX-License-Identifier: GPL-2.0 35 print_tuple(struct seq_file *s, const struct nf_conntrack_tuple *tuple, in print_tuple() argument 38 switch (tuple->src.l3num) { in print_tuple() 40 seq_printf(s, "src=%pI4 dst=%pI4 ", in print_tuple() 41 &tuple->src.u3.ip, &tuple->dst.u3.ip); in print_tuple() 44 seq_printf(s, "src=%pI6 dst=%pI6 ", in print_tuple() 45 tuple->src.u3.ip6, tuple->dst.u3.ip6); in print_tuple() 51 switch (l4proto->l4proto) { in print_tuple() 53 seq_printf(s, "type=%u code=%u id=%u ", in print_tuple() 54 tuple->dst.u.icmp.type, in print_tuple() [all …]
|
/linux-6.12.1/Documentation/fb/ |
D | sisfb.rst | 8 - SiS 300 series: SiS 300/305, 540, 630(S), 730(S) 9 - SiS 315 series: SiS 315/H/PRO, 55x, (M)65x, 740, (M)661(F/M)X, (M)741(GX) 10 - SiS 330 series: SiS 330 ("Xabre"), (M)760 16 sisfb is eg. useful if you want a high-resolution text console. Besides that, 38 Well, it depends: If compiled statically into the kernel, use lilo's append 39 statement to add the parameters to the kernel command line. Please see lilo's 40 (or GRUB's) documentation for more information. If sisfb is a kernel module, 46 append="video=sisfb:mode:1024x768x16,mem:12288,rate:75" 50 modprobe sisfb mode=1024x768x16 rate=75 mem=12288 54 the parameter format is video=sisfb:mode:none or video=sisfb:mode:1024x768x16 [all …]
|
/linux-6.12.1/drivers/gpu/drm/sti/ |
D | sti_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0 56 switch (mixer->id) { in sti_mixer_to_str() 68 return readl(mixer->regs + reg_id); in sti_mixer_reg_read() 74 writel(val, mixer->regs + reg_id); in sti_mixer_reg_write() 77 #define DBGFS_DUMP(reg) seq_printf(s, "\n %-25s 0x%08X", #reg, \ 80 static void mixer_dbg_ctl(struct seq_file *s, int val) in mixer_dbg_ctl() argument 87 seq_puts(s, "\tEnabled: "); in mixer_dbg_ctl() 90 seq_printf(s, "%s ", disp_layer[i]); in mixer_dbg_ctl() 98 seq_puts(s, "CURS "); in mixer_dbg_ctl() 102 seq_puts(s, "Nothing"); in mixer_dbg_ctl() [all …]
|
D | sti_cursor.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 61 * @pixmap: pixmap dma buffer (clut8-format cursor) 80 #define DBGFS_DUMP(reg) seq_printf(s, "\n %-25s 0x%08X", #reg, \ 81 readl(cursor->regs + reg)) 83 static void cursor_dbg_vpo(struct seq_file *s, u32 val) in cursor_dbg_vpo() argument 85 seq_printf(s, "\txdo:%4d\tydo:%4d", val & 0x0FFF, (val >> 16) & 0x0FFF); in cursor_dbg_vpo() 88 static void cursor_dbg_size(struct seq_file *s, u32 val) in cursor_dbg_size() argument 90 seq_printf(s, "\t%d x %d", val & 0x07FF, (val >> 16) & 0x07FF); in cursor_dbg_size() 93 static void cursor_dbg_pml(struct seq_file *s, in cursor_dbg_pml() argument [all …]
|
/linux-6.12.1/tools/spi/ |
D | spidev_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include 28 static void pabort(const char *s) in pabort() argument 31 perror(s); in pabort() 33 printf("%s\n", s); in pabort() 39 static uint32_t mode; variable 70 printf("%s | ", prefix); in hex_dump() 71 while (length-- > 0) { in hex_dump() 85 printf("%s | ", prefix); in hex_dump() 91 * Unescape - process hexadecimal escape character [all …]
|
/linux-6.12.1/tools/perf/util/ |
D | parse-branch-options.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <subcmd/parse-options.h> 5 #include "util/parse-branch-options.h" 10 { .name = n, .mode = (m) } 16 int mode; member 43 int parse_branch_str(const char *str, __u64 *mode) in parse_branch_str() argument 51 char *p, *s; in parse_branch_str() local 56 *mode = PERF_SAMPLE_BRANCH_ANY; in parse_branch_str() 60 /* because str is read-only */ in parse_branch_str() 61 s = os = strdup(str); in parse_branch_str() [all …]
|
/linux-6.12.1/drivers/crypto/caam/ |
D | error.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2009-2011 Freescale Semiconductor, Inc. 27 * make sure the scatterlist's page in caam_dump_sg() 36 buf = it_page + it->offset; in caam_dump_sg() 37 len = min_t(size_t, tlen, it->length); in caam_dump_sg() 40 tlen -= len; in caam_dump_sg() 82 …he input or output sequence length below 0. This error may result if a built-in PROTOCOL Command h… 91 { 0x1B, "Job failed due to Fail Mode" }, 93 …{ 0x1D, "DECO tried to copy a key from another DECO but the other DECO's Key Registers were locked… 95 …rom itself or from another DECO but the two Non-SEQ LIODN values didn't match or the 'shared from'… [all …]
|
/linux-6.12.1/Documentation/virt/kvm/ |
D | vcpu-requests.rst | 1 .. SPDX-License-Identifier: GPL-2.0 46 ---------- 48 The goal of a VCPU kick is to bring a VCPU thread out of guest mode in 50 a guest mode exit. However, a VCPU thread may not be in guest mode at the 51 time of the kick. Therefore, depending on the mode and state of the VCPU 55 1) Send an IPI. This forces a guest mode exit. 57 mode that wait on waitqueues. Waking them removes the threads from 60 3) Nothing. When the VCPU is not in guest mode and the VCPU thread is not 63 VCPU Mode 64 --------- [all …]
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_probe_helper.c | 2 * Copyright (c) 2006-2008 Intel Corporation 57 * track of a per-connector hpd interrupt. 71 drm_mode_validate_flag(const struct drm_display_mode *mode, in drm_mode_validate_flag() argument 74 if ((mode->flags & DRM_MODE_FLAG_INTERLACE) && in drm_mode_validate_flag() 78 if ((mode->flags & DRM_MODE_FLAG_DBLSCAN) && in drm_mode_validate_flag() 82 if ((mode->flags & DRM_MODE_FLAG_3D_MASK) && in drm_mode_validate_flag() 90 drm_mode_validate_pipeline(struct drm_display_mode *mode, in drm_mode_validate_pipeline() argument 95 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline() 100 ret = drm_connector_mode_valid(connector, mode, ctx, status); in drm_mode_validate_pipeline() 109 *status = drm_encoder_mode_valid(encoder, mode); in drm_mode_validate_pipeline() [all …]
|
/linux-6.12.1/Documentation/arch/arm64/ |
D | memory-tagging-extension.rst | 8 Date: 2020-02-25 18 (Top Byte Ignore) feature and allows software to access a 4-bit 19 allocation tag for each 16-byte granule in the physical address space. 20 Such memory range must be mapped with the Normal-Tagged memory 21 attribute. A logical tag is derived from bits 59-56 of the virtual 34 -------- 40 ``PROT_MTE`` - Pages allow access to the MTE allocation tags. 43 user address space and preserved on copy-on-write. ``MAP_SHARED`` is 47 RAM-based file mappings (``tmpfs``, ``memfd``). Passing it to other 48 types of mapping will result in ``-EINVAL`` returned by these system [all …]
|
/linux-6.12.1/drivers/usb/chipidea/ |
D | debug.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/usb/otg-fsm.h> 24 static int ci_device_show(struct seq_file *s, void *data) in ci_device_show() argument 26 struct ci_hdrc *ci = s->private; in ci_device_show() 27 struct usb_gadget *gadget = &ci->gadget; in ci_device_show() 29 seq_printf(s, "speed = %d\n", gadget->speed); in ci_device_show() 30 seq_printf(s, "max_speed = %d\n", gadget->max_speed); in ci_device_show() 31 seq_printf(s, "is_otg = %d\n", gadget->is_otg); in ci_device_show() 32 seq_printf(s, "is_a_peripheral = %d\n", gadget->is_a_peripheral); in ci_device_show() 33 seq_printf(s, "b_hnp_enable = %d\n", gadget->b_hnp_enable); in ci_device_show() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/input/touchscreen/ |
D | azoteq,iqs7211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_crtc_state_dump.c | 1 // SPDX-License-Identifier: MIT 17 const struct drm_display_mode *mode) in intel_dump_crtc_timings() argument 20 "hd=%d hb=%d-%d hs=%d-%d ht=%d, " in intel_dump_crtc_timings() 21 "vd=%d vb=%d-%d vs=%d-%d vt=%d, " in intel_dump_crtc_timings() 23 mode->crtc_clock, in intel_dump_crtc_timings() 24 mode->crtc_hdisplay, mode->crtc_hblank_start, mode->crtc_hblank_end, in intel_dump_crtc_timings() 25 mode->crtc_hsync_start, mode->crtc_hsync_end, mode->crtc_htotal, in intel_dump_crtc_timings() 26 mode->crtc_vdisplay, mode->crtc_vblank_start, mode->crtc_vblank_end, in intel_dump_crtc_timings() 27 mode->crtc_vsync_start, mode->crtc_vsync_end, mode->crtc_vtotal, in intel_dump_crtc_timings() 28 mode->flags); in intel_dump_crtc_timings() [all …]
|
D | intel_tc.c | 1 // SPDX-License-Identifier: MIT 52 struct mutex lock; /* protects the TypeC port mode */ 62 enum tc_port_mode mode; member 75 static const char *tc_port_mode_name(enum tc_port_mode mode) in tc_port_mode_name() argument 79 [TC_PORT_TBT_ALT] = "tbt-alt", in tc_port_mode_name() 80 [TC_PORT_DP_ALT] = "dp-alt", in tc_port_mode_name() 84 if (WARN_ON(mode >= ARRAY_SIZE(names))) in tc_port_mode_name() 85 mode = TC_PORT_DISCONNECTED; in tc_port_mode_name() 87 return names[mode]; in tc_port_mode_name() 92 return dig_port->tc; in to_tc_port() [all …]
|
/linux-6.12.1/include/linux/ |
D | xz.h | 1 /* SPDX-License-Identifier: 0BSD */ 7 * Igor Pavlov <https://7-zip.org/> 22 * enum xz_mode - Operation mode 24 * @XZ_SINGLE: Single-call mode. This uses less RAM than 25 * multi-call modes, because the LZMA2 30 * @XZ_PREALLOC: Multi-call mode with preallocated LZMA2 34 * @XZ_DYNALLOC: Multi-call mode. The LZMA2 dictionary is 53 * enum xz_ret - Return codes 56 * return code is possible only in multi-call mode 60 * is still possible in multi-call mode by simply [all …]
|
/linux-6.12.1/lib/xz/ |
D | xz_private.h | 1 /* SPDX-License-Identifier: 0BSD */ 61 /* If no specific decoding mode is requested, enable support for all modes. */ 70 * The DEC_IS_foo(mode) macros are used in "if" statements. If only some 75 # define DEC_IS_SINGLE(mode) ((mode) == XZ_SINGLE) argument 77 # define DEC_IS_SINGLE(mode) (false) argument 81 # define DEC_IS_PREALLOC(mode) ((mode) == XZ_PREALLOC) argument 83 # define DEC_IS_PREALLOC(mode) (false) argument 87 # define DEC_IS_DYNALLOC(mode) ((mode) == XZ_DYNALLOC) argument 89 # define DEC_IS_DYNALLOC(mode) (false) argument 93 # define DEC_IS_MULTI(mode) (true) argument [all …]
|
/linux-6.12.1/drivers/gpu/drm/display/ |
D | drm_dp_dual_mode_helper.c | 17 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 35 * DOC: dp dual mode helpers 37 * Helper functions to deal with DP dual mode (aka. DP++) adaptors. 44 * I2C-over-AUX. Source devices may choose to implement either of these 51 * drm_dp_dual_mode_read - Read from the DP dual mode adaptor register(s) 57 * Reads @size bytes from the DP dual mode adaptor registers 69 * As sub-addressing is not supported by all adaptors, in drm_dp_dual_mode_read() 94 return -ENOMEM; in drm_dp_dual_mode_read() 108 return -EPROTO; in drm_dp_dual_mode_read() 115 * drm_dp_dual_mode_write - Write to the DP dual mode adaptor register(s) [all …]
|
/linux-6.12.1/Documentation/admin-guide/mm/ |
D | numa_memory_policy.rst | 10 supported platforms with Non-Uniform Memory Access architectures since 2.4.?. 16 (``Documentation/admin-guide/cgroup-v1/cpusets.rst``) 19 programming interface that a NUMA-aware application can take advantage of. When 28 ------------------------ 41 not to overload the initial boot node with boot-time 45 this is an optional, per-task policy. When defined for a 61 In a multi-threaded task, task policies apply only to the thread 75 A "VMA" or "Virtual Memory Area" refers to a range of a task's 83 this region of the address space. Any regions of the task's 98 mapping-- i.e., at Copy-On-Write. [all …]
|
/linux-6.12.1/tools/testing/selftests/fchmodat2/ |
D | fchmodat2_test.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 int sys_fchmodat2(int dfd, const char *filename, mode_t mode, int flags) in sys_fchmodat2() argument 14 int ret = syscall(__NR_fchmodat2, dfd, filename, mode, flags); in sys_fchmodat2() 16 return ret >= 0 ? ret : -errno; in sys_fchmodat2() 22 char dirname[] = "/tmp/ksft-fchmodat2.XXXXXX"; in setup_testdir() 24 /* Make the top-level directory. */ in setup_testdir() 26 ksft_exit_fail_msg("%s: failed to create tmpdir\n", __func__); in setup_testdir() 30 ksft_exit_fail_msg("%s: failed to open tmpdir\n", __func__); in setup_testdir() 34 ksft_exit_fail_msg("%s: failed to create file in tmpdir\n", in setup_testdir() 40 ksft_exit_fail_msg("%s: failed to create symlink in tmpdir\n", in setup_testdir() [all …]
|
/linux-6.12.1/drivers/clk/zynqmp/ |
D | pll.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2018 Xilinx 9 #include <linux/clk-provider.h> 11 #include "clk-zynqmp.h" 14 * struct zynqmp_pll - PLL clock 15 * @hw: Handle between common and hardware-specific interfaces 44 * zynqmp_pll_get_mode() - Get mode of PLL 45 * @hw: Handle between common and hardware-specific interfaces 47 * Return: Mode of PLL 52 u32 clk_id = clk->clk_id; in zynqmp_pll_get_mode() [all …]
|
/linux-6.12.1/drivers/base/ |
D | devtmpfs.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * devtmpfs - kernel-maintained tmpfs-based /dev 8 * devtmpfs, a tmpfs-based filesystem is created. Every driver-core 12 * owned by root and have a default mode of 0600. Subsystems can 51 umode_t mode; /* 0 => delete */ member 69 struct super_block *s = mnt->mnt_sb; in public_dev_mount() local 72 atomic_inc(&s->s_active); in public_dev_mount() 73 down_write(&s->s_umount); in public_dev_mount() 74 err = reconfigure_single(s, flags, data); in public_dev_mount() 76 deactivate_locked_super(s); in public_dev_mount() [all …]
|
/linux-6.12.1/drivers/comedi/drivers/ |
D | ni_labpc_common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright (C) 2001-2003 Frank Mori Hess <fmhess@users.sourceforge.net> 86 return inb(dev->iobase + reg); in labpc_inb() 92 outb(byte, dev->iobase + reg); in labpc_outb() 99 return readb(dev->mmio + reg); in labpc_readb() 105 writeb(byte, dev->mmio + reg); in labpc_writeb() 108 static int labpc_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in labpc_cancel() argument 110 struct labpc_private *devpriv = dev->private; in labpc_cancel() 113 spin_lock_irqsave(&dev->spinlock, flags); in labpc_cancel() 114 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_cancel() [all …]
|