Home
last modified time | relevance | path

Searched +full:s +full:- +full:mode (Results 1 – 25 of 1083) sorted by relevance

12345678910>>...44

/Linux-v6.1/drivers/parport/
Dieee1284.c2 * 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-v6.1/arch/mips/cavium-octeon/executive/
Dcvmx-spi.c7 * 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-v6.1/usr/
Dgen_init_cpio.c1 // SPDX-License-Identifier: GPL-2.0
23 #define xstr(s) #s argument
24 #define str(s) xstr(s) argument
71 static void push_hdr(const char *s) in push_hdr() argument
73 fputs(s, stdout); in push_hdr()
79 char s[256]; in cpio_trailer() local
82 sprintf(s, "%s%08X%08X%08lX%08lX%08X%08lX" in cpio_trailer()
86 0, /* mode */ in cpio_trailer()
98 push_hdr(s); in cpio_trailer()
108 unsigned int mode, uid_t uid, gid_t gid) in cpio_mkslink() argument
[all …]
/Linux-v6.1/net/netfilter/
Dnf_conntrack_standalone.c1 // SPDX-License-Identifier: GPL-2.0
38 print_tuple(struct seq_file *s, const struct nf_conntrack_tuple *tuple, in print_tuple() argument
41 switch (tuple->src.l3num) { in print_tuple()
43 seq_printf(s, "src=%pI4 dst=%pI4 ", in print_tuple()
44 &tuple->src.u3.ip, &tuple->dst.u3.ip); in print_tuple()
47 seq_printf(s, "src=%pI6 dst=%pI6 ", in print_tuple()
48 tuple->src.u3.ip6, tuple->dst.u3.ip6); in print_tuple()
54 switch (l4proto->l4proto) { in print_tuple()
56 seq_printf(s, "type=%u code=%u id=%u ", in print_tuple()
57 tuple->dst.u.icmp.type, in print_tuple()
[all …]
/Linux-v6.1/drivers/input/touchscreen/
Dcyttsp4_core.c1 // SPDX-License-Identifier: GPL-2.0-only
71 max = (CY_MAX_PRBUF_SIZE - 1) - sizeof(CY_PR_TRUNCATED); in cyttsp4_pr_buf()
77 dev_vdbg(dev, "%s: %s[0..%d]=%s%s\n", __func__, data_name, size - 1, in cyttsp4_pr_buf()
86 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_load_status_regs()
87 struct device *dev = cd->dev; in cyttsp4_load_status_regs()
90 rc = cyttsp4_adap_read(cd, CY_REG_BASE, si->si_ofs.mode_size, in cyttsp4_load_status_regs()
91 si->xy_mode); in cyttsp4_load_status_regs()
93 dev_err(dev, "%s: fail read mode regs r=%d\n", in cyttsp4_load_status_regs()
96 cyttsp4_pr_buf(dev, cd->pr_buf, si->xy_mode, in cyttsp4_load_status_regs()
97 si->si_ofs.mode_size, "xy_mode"); in cyttsp4_load_status_regs()
[all …]
/Linux-v6.1/drivers/gpu/drm/
Ddrm_probe_helper.c2 * 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-v6.1/Documentation/fb/
Dsisfb.rst8 - 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-v6.1/include/trace/events/
Ddlm.h1 /* SPDX-License-Identifier: GPL-2.0 */
35 #define show_lock_mode(mode) __print_symbolic(mode, \ argument
53 unsigned int namelen, int mode, __u32 flags),
55 TP_ARGS(ls, lkb, name, namelen, mode, flags),
60 __field(int, mode)
63 lkb->lkb_resource ? lkb->lkb_resource->res_length : namelen)
69 __entry->ls_id = ls->ls_global_id;
70 __entry->lkb_id = lkb->lkb_id;
71 __entry->mode = mode;
72 __entry->flags = flags;
[all …]
/Linux-v6.1/drivers/gpu/drm/sti/
Dsti_mixer.c1 // 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 …]
Dsti_cursor.c1 // 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-v6.1/tools/perf/util/
Dparse-branch-options.c1 // 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
39 int parse_branch_str(const char *str, __u64 *mode) in parse_branch_str() argument
47 char *p, *s; in parse_branch_str() local
52 *mode = PERF_SAMPLE_BRANCH_ANY; in parse_branch_str()
56 /* because str is read-only */ in parse_branch_str()
57 s = os = strdup(str); in parse_branch_str()
[all …]
/Linux-v6.1/tools/spi/
Dspidev_test.c1 // 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-v6.1/drivers/crypto/caam/
Derror.c1 // 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-v6.1/Documentation/virt/kvm/
Dvcpu-requests.rst1 .. 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-v6.1/Documentation/arm64/
Dmemory-tagging-extension.rst8 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-v6.1/drivers/gpu/drm/display/
Ddrm_dp_dual_mode_helper.c17 * 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-v6.1/drivers/clk/zynqmp/
Dpll.c1 // 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-v6.1/drivers/gpu/drm/i915/
Di915_debugfs_params.c1 // SPDX-License-Identifier: MIT
15 (strcmp((_file)->f_path.dentry->d_name.name, (_name)) == 0)
27 int *value = m->private; in i915_param_int_show()
36 return single_open(file, i915_param_int_show, inode->i_private); in i915_param_int_open()
43 if (intel_uc_uses_guc_submission(&to_gt(i915)->uc)) in notify_guc()
44 ret = intel_guc_global_policies_update(&to_gt(i915)->uc.guc); in notify_guc()
53 struct seq_file *m = file->private_data; in i915_param_int_write()
54 int *value = m->private; in i915_param_int_write()
90 unsigned int *value = m->private; in i915_param_uint_show()
99 return single_open(file, i915_param_uint_show, inode->i_private); in i915_param_uint_open()
[all …]
/Linux-v6.1/Documentation/admin-guide/mm/
Dnuma_memory_policy.rst12 supported platforms with Non-Uniform Memory Access architectures since 2.4.?.
18 (``Documentation/admin-guide/cgroup-v1/cpusets.rst``)
21 programming interface that a NUMA-aware application can take advantage of. When
30 ------------------------
43 not to overload the initial boot node with boot-time
47 this is an optional, per-task policy. When defined for a
63 In a multi-threaded task, task policies apply only to the thread
77 A "VMA" or "Virtual Memory Area" refers to a range of a task's
85 this region of the address space. Any regions of the task's
100 mapping-- i.e., at Copy-On-Write.
[all …]
/Linux-v6.1/drivers/comedi/drivers/
Dni_labpc_common.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001-2003 Frank Mori Hess <fmhess@users.sourceforge.net>
83 return inb(dev->iobase + reg); in labpc_inb()
89 outb(byte, dev->iobase + reg); in labpc_outb()
94 return readb(dev->mmio + reg); in labpc_readb()
100 writeb(byte, dev->mmio + reg); in labpc_writeb()
103 static int labpc_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in labpc_cancel() argument
105 struct labpc_private *devpriv = dev->private; in labpc_cancel()
108 spin_lock_irqsave(&dev->spinlock, flags); in labpc_cancel()
109 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_cancel()
[all …]
/Linux-v6.1/lib/xz/
Dxz_private.h56 /* If no specific decoding mode is requested, enable support for all modes. */
65 * The DEC_IS_foo(mode) macros are used in "if" statements. If only some
70 # define DEC_IS_SINGLE(mode) ((mode) == XZ_SINGLE) argument
72 # define DEC_IS_SINGLE(mode) (false) argument
76 # define DEC_IS_PREALLOC(mode) ((mode) == XZ_PREALLOC) argument
78 # define DEC_IS_PREALLOC(mode) (false) argument
82 # define DEC_IS_DYNALLOC(mode) ((mode) == XZ_DYNALLOC) argument
84 # define DEC_IS_DYNALLOC(mode) (false) argument
88 # define DEC_IS_MULTI(mode) (true) argument
90 # define DEC_IS_MULTI(mode) ((mode) != XZ_SINGLE) argument
[all …]
/Linux-v6.1/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c1 // SPDX-License-Identifier: GPL-2.0-only
65 void rdt_last_cmd_puts(const char *s) in rdt_last_cmd_puts() argument
68 seq_buf_puts(&last_cmd_status, s); in rdt_last_cmd_puts()
87 * + We can simply set "current->closid" to assign a task to a resource
91 * - We give up some options in configuring resource groups across multi-socket
93 * - Our choices on how to configure each resource become progressively more
106 struct resctrl_schema *s; in closid_init() local
110 list_for_each_entry(s, &resctrl_schema_all, list) in closid_init()
111 rdt_min_closid = min(rdt_min_closid, s->num_closid); in closid_init()
113 closid_free_map = BIT_MASK(rdt_min_closid) - 1; in closid_init()
[all …]
/Linux-v6.1/drivers/spi/
Dspi-cavium.c14 #include "spi-cavium.h"
24 mpi_sts.u64 = readq(p->register_base + OCTEON_SPI_STS(p)); in octeon_spi_wait_ready()
25 } while (mpi_sts.s.busy); in octeon_spi_wait_ready()
33 struct spi_device *spi = msg->spi; in octeon_spi_do_transfer()
37 int mode; in octeon_spi_do_transfer() local
44 mode = spi->mode; in octeon_spi_do_transfer()
45 cpha = mode & SPI_CPHA; in octeon_spi_do_transfer()
46 cpol = mode & SPI_CPOL; in octeon_spi_do_transfer()
48 clkdiv = p->sys_freq / (2 * xfer->speed_hz); in octeon_spi_do_transfer()
52 mpi_cfg.s.clkdiv = clkdiv; in octeon_spi_do_transfer()
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_crtc_state_dump.c1 // SPDX-License-Identifier: MIT
13 const struct drm_display_mode *mode) in intel_dump_crtc_timings() argument
15 drm_dbg_kms(&i915->drm, "crtc timings: %d %d %d %d %d %d %d %d %d, " in intel_dump_crtc_timings()
17 mode->crtc_clock, in intel_dump_crtc_timings()
18 mode->crtc_hdisplay, mode->crtc_hsync_start, in intel_dump_crtc_timings()
19 mode->crtc_hsync_end, mode->crtc_htotal, in intel_dump_crtc_timings()
20 mode->crtc_vdisplay, mode->crtc_vsync_start, in intel_dump_crtc_timings()
21 mode->crtc_vsync_end, mode->crtc_vtotal, in intel_dump_crtc_timings()
22 mode->type, mode->flags); in intel_dump_crtc_timings()
30 struct drm_i915_private *i915 = to_i915(pipe_config->uapi.crtc->dev); in intel_dump_m_n_config()
[all …]
/Linux-v6.1/include/linux/
Dxz.h5 * Igor Pavlov <https://7-zip.org/>
28 * enum xz_mode - Operation mode
30 * @XZ_SINGLE: Single-call mode. This uses less RAM than
31 * multi-call modes, because the LZMA2
36 * @XZ_PREALLOC: Multi-call mode with preallocated LZMA2
40 * @XZ_DYNALLOC: Multi-call mode. The LZMA2 dictionary is
59 * enum xz_ret - Return codes
62 * return code is possible only in multi-call mode
66 * is still possible in multi-call mode by simply
81 * only in multi-call mode (XZ_PREALLOC or
[all …]

12345678910>>...44