Home
last modified time | relevance | path

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

12345678910>>...45

/linux/drivers/parport/
H A 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/arch/mips/cavium-octeon/executive/
H A 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 …]
H A Dcvmx-helper-sgmii.c7 * Copyright (C) 2003-2018 Cavium, Inc.
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
35 #include <asm/octeon/cvmx-config.h>
37 #include <asm/octeon/cvmx-helper.h>
38 #include <asm/octeon/cvmx-helper-board.h>
40 #include <asm/octeon/cvmx-gmxx-defs.h>
41 #include <asm/octeon/cvmx-pcsx-defs.h>
42 #include <asm/octeon/cvmx-pcsxx-defs.h>
54 const uint64_t clock_mhz = cvmx_sysinfo_get()->cpu_clock_hz / 1000000; in __cvmx_helper_sgmii_hardware_init_one_time()
[all …]
/linux/usr/
H A Dgen_init_cpio.c1 // SPDX-License-Identifier: GPL-2.0
24 #define xstr(s) #s argument
25 #define str(s) xstr(s) argument
29 #define padlen(_off, _align) (((_align) - ((_off) & ((_align) - 1))) % (_align))
31 /* zero-padding the filename field for data alignment is limited by PATH_MAX */
52 return -1; in push_buf()
68 return -1; in push_pad()
80 return -1; in push_rest()
92 len = dprintf(outfd, "%s%08X%08X%08lX%08lX%08X%08lX" in cpio_trailer()
96 0, /* mode */ in cpio_trailer()
[all …]
/linux/net/netfilter/
H A Dnf_conntrack_standalone.c1 // SPDX-License-Identifier: GPL-2.0
36 print_tuple(struct seq_file *s, const struct nf_conntrack_tuple *tuple, in print_tuple() argument
39 switch (tuple->src.l3num) { in print_tuple()
41 seq_printf(s, "src=%pI4 dst=%pI4 ", in print_tuple()
42 &tuple->src.u3.ip, &tuple->dst.u3.ip); in print_tuple()
45 seq_printf(s, "src=%pI6 dst=%pI6 ", in print_tuple()
46 tuple->sr in print_tuple()
171 ct_seq_next(struct seq_file * s,void * v,loff_t * pos) ct_seq_next() argument
180 ct_seq_stop(struct seq_file * s,void * v) ct_seq_stop() argument
187 ct_show_secctx(struct seq_file * s,const struct nf_conn * ct) ct_show_secctx() argument
201 ct_show_secctx(struct seq_file * s,const struct nf_conn * ct) ct_show_secctx() argument
207 ct_show_zone(struct seq_file * s,const struct nf_conn * ct,int dir) ct_show_zone() argument
229 ct_show_zone(struct seq_file * s,const struct nf_conn * ct,int dir) ct_show_zone() argument
236 ct_show_delta_time(struct seq_file * s,const struct nf_conn * ct) ct_show_delta_time() argument
257 ct_show_delta_time(struct seq_file * s,const struct nf_conn * ct) ct_show_delta_time() argument
288 seq_print_acct(struct seq_file * s,const struct nf_conn * ct,int dir) seq_print_acct() argument
304 ct_seq_show(struct seq_file * s,void * v) ct_seq_show() argument
[all...]
/linux/Documentation/fb/
H A Dsisfb.rst2 sisfb - SiS framebuffer device driver
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
[all …]
/linux/drivers/gpu/drm/sti/
H A 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 …]
/linux/drivers/crypto/caam/
H A 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/drivers/hid/intel-thc-hid/intel-quicki2c/
H A Dquicki2c-dev.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <linux/hid-over-i2c.h>
53 * change to low power LTR mode.
72 * struct quicki2c_subip_acpi_parameter - QuickI2C ACPI DSD parameters
75 * @addressing_mode: I2C device slave address mode, 7bit or 10bit
88 * struct quicki2c_subip_acpi_config - QuickI2C ACPI DSD parameters
89 * @SMHX: Standard Mode (100 kbit/s) Serial Clock Line HIGH Period
90 * @SMLX: Standard Mode (100 kbit/s) Serial Clock Line LOW Period
91 * @SMTD: Standard Mode (100 kbit/s) Serial Data Line Transmit Hold Period
92 * @SMRD: Standard Mode (100 kbit/s) Serial Data Receive Hold Period
[all …]
/linux/Documentation/virt/kvm/
H A 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/tools/perf/util/
H A 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
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/tools/perf/tests/shell/
H A Dtrace_summary.sh3 # SPDX-License-Identifier: GPL-2.0
5 # Check that perf trace works with various summary mode
11 [ "$(id -u)" = 0 ] || exit 2
18 search="^\s*(open|read|close).*[0-9]+%$"
20 echo "testing: perf trace ${args} -- ${workload}"
21 perf trace ${args} -- ${workload} >${OUTPUT} 2>&1
22 if [ $? -ne 0 ]; then
25 rm -f ${OUTPUT}
29 count=$(grep -E -c -m 3 "${search}" ${OUTPUT})
33 rm -f ${OUTPUT}
[all …]
/linux/Documentation/arch/arm64/
H A 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/drivers/usb/chipidea/
H A Ddebug.c1 // 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/Documentation/devicetree/bindings/input/touchscreen/
H A Dazoteq,iqs7211.yaml1 # 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/include/linux/
H A Dxz.h1 /* 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/Documentation/admin-guide/mm/
H A Dnuma_memory_policy.rst10 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/drivers/comedi/drivers/
H A Dni_labpc_common.c1 // 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 …]
/linux/lib/xz/
H A Dxz_private.h1 /* 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 …]
H A Dxz_dec_lzma2.c1 // SPDX-License-Identifier: 0BSD
7 * Igor Pavlov <https://7-zip.org/>
34 * In multi-call mode, also these are true:
39 * Most of these variables are size_t to support single-call mode,
63 * End of the dictionary buffer. In multi-call mode, this is
64 * the same as the dictionary size. In single-call mode, this
77 * Maximum allowed dictionary size in multi-call mode.
78 * This is ignored in single-call mode.
89 /* Operation mode */
90 enum xz_mode mode; member
[all …]
/linux/tools/testing/selftests/fchmodat2/
H A Dfchmodat2_test.c1 // 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/drivers/platform/x86/intel/pmc/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
32 #include <asm/intel-family.h>
40 /* Maximum number of modes supported by platfoms that has low power mode capability */
67 return readl(pmc->regbase + reg_offset); in pmc_core_reg_read()
73 writel(val, pmc->regbase + reg_offset); in pmc_core_reg_write()
84 const int lpm_adj_x2 = pmc->map->lpm_res_counter_step_x2; in pmc_core_adjust_slp_s0_step()
86 if (pmc->map == &adl_reg_map) in pmc_core_adjust_slp_s0_step()
89 return (u64)value * pmc->map->slp_s0_res_counter_step; in pmc_core_adjust_slp_s0_step()
94 struct pmc *pmc = pmcdev->pmcs[PMC_IDX_MAIN]; in set_etr3()
95 const struct pmc_reg_map *map = pmc->map; in set_etr3()
[all …]
/linux/drivers/input/misc/
H A Dati_remote2.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ati_remote2 - ATI/Philips USB RF remote driver
5 * Copyright (C) 2005-2008 Ville Syrjala <syrjala@sci.fi>
6 * Copyright (C) 2007-2008 Peter Stokes <linux@dadeos.co.uk>
24 * A remote's "channel" may be altered by pressing and holding the "PC" button for
44 return -EINVAL; in ati_remote2_set_mask()
51 return -EINVAL; in ati_remote2_set_mask()
53 *(unsigned int *)kp->arg = mask; in ati_remote2_set_mask()
61 pr_debug("%s()\n", __func__); in ati_remote2_set_channel_mask()
69 pr_debug("%s()\n", __func__); in ati_remote2_get_channel_mask()
[all …]
/linux/fs/resctrl/
H A Drdtgroup.c1 // SPDX-License-Identifier: GPL-2.0-only
95 void rdt_last_cmd_puts(const char *s) in rdt_last_cmd_puts() argument
98 seq_buf_puts(&last_cmd_status, s); in rdt_last_cmd_puts()
119 list_for_each_entry(dom, &r->ctrl_domains, hdr.list) in rdt_staged_configs_clear()
120 memset(dom->staged_config, 0, sizeof(dom->staged_config)); in rdt_staged_configs_clear()
136 * + We can simply set current's closid to assign a task to a resource
140 * - We give up some options in configuring resource groups across multi-socket
142 * - Our choices on how to configure each resource become progressively more
156 struct resctrl_schema *s; in closid_init() local
164 list_for_each_entry(s, &resctrl_schema_all, list) in closid_init()
[all …]
/linux/drivers/clk/zynqmp/
H A 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 …]

12345678910>>...45