| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/usr/ |
| D | gen_init_cpio.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #define xstr(s) #s argument 22 #define str(s) xstr(s) argument 67 static void push_hdr(const char *s) in push_hdr() argument 69 fputs(s, stdout); in push_hdr() 75 char s[256]; in cpio_trailer() local 78 sprintf(s, "%s%08X%08X%08lX%08lX%08X%08lX" in cpio_trailer() 82 0, /* mode */ in cpio_trailer() 94 push_hdr(s); in cpio_trailer() 104 unsigned int mode, uid_t uid, gid_t gid) in cpio_mkslink() argument [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/drivers/ide/ |
| D | ide-xfer-mode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 * ide_xfer_verbose - return IDE mode names 22 * @mode: transfer mode 24 * Returns a constant string giving the name of the mode 28 const char *ide_xfer_verbose(u8 mode) in ide_xfer_verbose() argument 30 const char *s; in ide_xfer_verbose() local 31 u8 i = mode & 0xf; in ide_xfer_verbose() 33 if (mode >= XFER_UDMA_0 && mode <= XFER_UDMA_7) in ide_xfer_verbose() 34 s = udma_str[i]; in ide_xfer_verbose() 35 else if (mode >= XFER_MW_DMA_0 && mode <= XFER_MW_DMA_4) in ide_xfer_verbose() [all …]
|
| /kernel/linux/linux-6.6/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 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 …]
|
| /kernel/linux/linux-5.10/drivers/input/touchscreen/ |
| D | cyttsp4_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 57 max = (CY_MAX_PRBUF_SIZE - 1) - sizeof(CY_PR_TRUNCATED); in cyttsp4_pr_buf() 63 dev_vdbg(dev, "%s: %s[0..%d]=%s%s\n", __func__, data_name, size - 1, in cyttsp4_pr_buf() 72 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_load_status_regs() 73 struct device *dev = cd->dev; in cyttsp4_load_status_regs() 76 rc = cyttsp4_adap_read(cd, CY_REG_BASE, si->si_ofs.mode_size, in cyttsp4_load_status_regs() 77 si->xy_mode); in cyttsp4_load_status_regs() 79 dev_err(dev, "%s: fail read mode regs r=%d\n", in cyttsp4_load_status_regs() 82 cyttsp4_pr_buf(dev, cd->pr_buf, si->xy_mode, in cyttsp4_load_status_regs() 83 si->si_ofs.mode_size, "xy_mode"); in cyttsp4_load_status_regs() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/touchscreen/ |
| D | cyttsp4_core.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/liteos_a/kernel/extended/cpup/ |
| D | cpup_shellcmd.c | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2023 Huawei Device Co., Ltd. All rights reserved. 41 VOID OsCmdCpupOperateOneParam(UINT32 mode) in OsCmdCpupOperateOneParam() argument 45 if (mode == CPUP_LAST_TEN_SECONDS) { in OsCmdCpupOperateOneParam() 46 PRINTK("\nSysCpuUsage in 10s: "); in OsCmdCpupOperateOneParam() 47 } else if (mode == CPUP_LAST_ONE_SECONDS) { in OsCmdCpupOperateOneParam() 48 PRINTK("\nSysCpuUsage in 1s: "); in OsCmdCpupOperateOneParam() 52 ret = LOS_HistorySysCpuUsage(mode); in OsCmdCpupOperateOneParam() 56 VOID OsCmdCpupOperateTwoParam(UINT32 mode, UINT32 pid) in OsCmdCpupOperateTwoParam() argument 60 if (mode == CPUP_LAST_TEN_SECONDS) { in OsCmdCpupOperateTwoParam() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 38 int parse_branch_str(const char *str, __u64 *mode) in parse_branch_str() argument 46 char *p, *s; in parse_branch_str() local 51 *mode = PERF_SAMPLE_BRANCH_ANY; in parse_branch_str() 55 /* because str is read-only */ in parse_branch_str() 56 s = os = strdup(str); in parse_branch_str() [all …]
|
| /kernel/linux/linux-6.6/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 42 int parse_branch_str(const char *str, __u64 *mode) in parse_branch_str() argument 50 char *p, *s; in parse_branch_str() local 55 *mode = PERF_SAMPLE_BRANCH_ANY; in parse_branch_str() 59 /* because str is read-only */ in parse_branch_str() 60 s = os = strdup(str); in parse_branch_str() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ |
| D | drm_probe_helper.c | 2 * Copyright (c) 2006-2008 Intel Corporation 56 * track of a per-connector hpd interrupt. 70 drm_mode_validate_flag(const struct drm_display_mode *mode, in drm_mode_validate_flag() argument 73 if ((mode->flags & DRM_MODE_FLAG_INTERLACE) && in drm_mode_validate_flag() 77 if ((mode->flags & DRM_MODE_FLAG_DBLSCAN) && in drm_mode_validate_flag() 81 if ((mode->flags & DRM_MODE_FLAG_3D_MASK) && in drm_mode_validate_flag() 89 drm_mode_validate_pipeline(struct drm_display_mode *mode, in drm_mode_validate_pipeline() argument 94 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline() 99 ret = drm_connector_mode_valid(connector, mode, ctx, status); in drm_mode_validate_pipeline() 108 *status = drm_encoder_mode_valid(encoder, mode); in drm_mode_validate_pipeline() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
| D | i915_debugfs_params.c | 1 // SPDX-License-Identifier: MIT 15 int *value = m->private; in i915_param_int_show() 24 return single_open(file, i915_param_int_show, inode->i_private); in i915_param_int_open() 31 struct seq_file *m = file->private_data; in i915_param_int_write() 32 int *value = m->private; in i915_param_int_write() 68 unsigned int *value = m->private; in i915_param_uint_show() 77 return single_open(file, i915_param_uint_show, inode->i_private); in i915_param_uint_open() 84 struct seq_file *m = file->private_data; in i915_param_uint_write() 85 unsigned int *value = m->private; in i915_param_uint_write() 121 const char **s = m->private; in i915_param_charp_show() local [all …]
|
| /kernel/linux/linux-5.10/Documentation/virt/kvm/ |
| D | vcpu-requests.rst | 44 ---------- 46 The goal of a VCPU kick is to bring a VCPU thread out of guest mode in 48 a guest mode exit. However, a VCPU thread may not be in guest mode at the 49 time of the kick. Therefore, depending on the mode and state of the VCPU 53 1) Send an IPI. This forces a guest mode exit. 55 mode that wait on waitqueues. Waking them removes the threads from 58 3) Nothing. When the VCPU is not in guest mode and the VCPU thread is not 61 VCPU Mode 62 --------- 64 VCPUs have a mode state, ``vcpu->mode``, that is used to track whether the [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|