Home
last modified time | relevance | path

Searched +full:y +full:- +full:rc (Results 1 – 25 of 376) sorted by relevance

12345678910>>...16

/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dvideo-interface-devices.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/video-interface-devices.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacopo Mondi <jacopo@jmondi.org>
11 - Sakari Ailus <sakari.ailus@linux.intel.com>
14 flash-leds:
15 $ref: /schemas/types.yaml#/definitions/phandle-array
17 An array of phandles, each referring to a flash LED, a sub-node of the LED
20 lens-focus:
[all …]
/openbmc/linux/crypto/
H A Dsm2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * SM2 asymmetric public-key algorithm
4 * as specified by OSCCA GM/T 0003.1-2012 -- 0003.5-2012 SM2 and
5 * described at https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02
20 /* The default user id as specified in GM/T 0009-2012 */
29 unsigned int fips:1; /* True if this is a FIPS140-2 approved curve */
44 * Curves (a,b) has ((A-2)/4,B^-1).
73 MPI x, y; in sm2_ec_ctx_init() local
74 int rc = -EINVAL; in sm2_ec_ctx_init() local
76 p = mpi_scanval(ecp->p); in sm2_ec_ctx_init()
[all …]
/openbmc/hiomapd/
H A Dtransport_dbus.c1 // SPDX-License-Identifier: Apache-2.0
8 #include <systemd/sd-bus.h>
22 int rc; in transport_dbus_property_update() local
40 rc = sd_bus_emit_properties_changed_strv(context->bus, in transport_dbus_property_update()
42 /* FIXME: Hard-coding v2 */ in transport_dbus_property_update()
46 return (rc < 0) ? rc : 0; in transport_dbus_property_update()
78 int rc; in transport_dbus_reset() local
82 return -EINVAL; in transport_dbus_reset()
85 rc = context->protocol->reset(context); in transport_dbus_reset()
86 if (rc < 0) { in transport_dbus_reset()
[all …]
H A Dcontrol_legacy.c1 // SPDX-License-Identifier: Apache-2.0
61 resp->num_args = DAEMON_STATE_NUM_ARGS; in control_legacy_daemon_state()
62 resp->args = calloc(resp->num_args, sizeof(*resp->args)); in control_legacy_daemon_state()
63 resp->args[0] = control_daemon_state(context); in control_legacy_daemon_state()
80 resp->num_args = LPC_STATE_NUM_ARGS; in control_legacy_lpc_state()
81 resp->args = calloc(resp->num_args, sizeof(*resp->args)); in control_legacy_lpc_state()
82 resp->args[0] = control_lpc_state(context); in control_legacy_lpc_state()
99 int rc; in control_legacy_reset() local
101 rc = control_reset(context); in control_legacy_reset()
104 if (rc == -EBUSY) { in control_legacy_reset()
[all …]
H A Dcontrol_dbus.c1 // SPDX-License-Identifier: Apache-2.0
6 #include <systemd/sd-bus.h>
21 int rc; in control_dbus_directive() local
25 return -EINVAL; in control_dbus_directive()
31 return -EINVAL; in control_dbus_directive()
34 rc = action(context); in control_dbus_directive()
35 if (rc < 0) { in control_dbus_directive()
36 MSG_ERR("Action failed: %d\n", rc); in control_dbus_directive()
37 return rc; in control_dbus_directive()
40 rc = sd_bus_message_new_method_return(m, &n); in control_dbus_directive()
[all …]
/openbmc/linux/drivers/media/rc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
15 Say Y when you have a TV or an IR device.
22 depends on RC_CORE=y
40 source "drivers/media/rc/keymaps/Kconfig"
80 tristate "Enable IR raw decoder for the RC-5 protocol"
84 Enable this option if you have IR with RC-5 protocol, and
96 tristate "Enable IR raw decoder for the RC-MM protocol"
98 Enable this option when you have IR with RC-MM protocol, and
100 24 and 32 bits RC-MM variants. You can enable or disable the
101 different modes using the following RC protocol keywords:
[all …]
/openbmc/linux/drivers/pci/controller/dwc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
3 menu "DesignWare-based PCIe controllers"
24 Say Y here to enable support of the Amazon's Annapurna Labs PCIe
27 required only for DT-based platforms. ACPI platforms with the
36 Say Y here if you want to enable PCI controller support on Amlogic
38 and therefore the driver re-uses the DesignWare core functions to
45 bool "Axis ARTPEC-6 PCIe controller (host mode)"
51 Enables support for the PCIe controller in the ARTPEC-6 SoC to work in
55 bool "Axis ARTPEC-6 PCIe controller (endpoint mode)"
61 Enables support for the PCIe controller in the ARTPEC-6 SoC to work in
[all …]
/openbmc/linux/arch/arm64/crypto/
H A Dsm3-neon-core.S1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sm3-neon-core.S - SM3 secure hash using NEON instructions
43 #define rc w5 macro
92 ror o, a, #(32 - n);
96 #define GG1_1(x, y, z, o, t) \ argument
97 eor o, x, y;
98 #define GG1_2(x, y, z, o, t) \ argument
100 #define GG1_3(x, y, z, o, t) argument
102 #define FF1_1(x, y, z, o, t) GG1_1(x, y, z, o, t) argument
103 #define FF1_2(x, y, z, o, t) argument
[all …]
/openbmc/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2019-2021 Intel Corporation
32 #define DRV_NAME "keembay-ocs-ecc"
76 * struct ocs_ecc_dev - ECC device context
94 * struct ocs_ecc_ctx - Transformation context.
137 return readl_poll_timeout((dev->base_reg + HW_OFFS_OCS_ECC_STATUS), in ocs_ecc_wait_idle()
146 ecc_dev->base_reg + HW_OFFS_OCS_ECC_COMMAND); in ocs_ecc_cmd_start()
156 iowrite32(op_size | inst, dev->base_reg + HW_OFFS_OCS_ECC_COMMAND); in ocs_ecc_write_cmd_and_data()
159 memcpy_toio(dev->base_reg + HW_OFFS_OCS_ECC_DATA_IN, data_in, in ocs_ecc_write_cmd_and_data()
167 reinit_completion(&ecc_dev->irq_done); in ocs_ecc_trigger_op()
[all …]
/openbmc/linux/drivers/gpu/drm/vboxvideo/
H A Dhgsmi_base.c1 // SPDX-License-Identifier: MIT
2 /* Copyright (C) 2006-2017 Oracle Corporation */
12 * hgsmi_report_flags_location - Inform the host of the location of
25 return -ENOMEM; in hgsmi_report_flags_location()
27 p->buf_location = location; in hgsmi_report_flags_location()
28 p->buf_len = sizeof(struct hgsmi_host_flags); in hgsmi_report_flags_location()
37 * hgsmi_send_caps_info - Notify the host of HGSMI-related guest capabilities
49 return -ENOMEM; in hgsmi_send_caps_info()
51 p->rc = VERR_NOT_IMPLEMENTED; in hgsmi_send_caps_info()
52 p->caps = caps; in hgsmi_send_caps_info()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 #include <asm/ppc-opcode.h>
16 #define rC r11 macro
42 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1); \
43 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1); \
44 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1); \
46 stdu r1,-STACKFRAMESIZE(r1); \
58 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1); \
59 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1); \
60 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1); \
[all …]
/openbmc/linux/arch/powerpc/lib/
H A Dmemcmp_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 #include <asm/ppc-opcode.h>
16 #define rC r11 macro
42 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1); \
43 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1); \
44 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1); \
46 stdu r1,-STACKFRAMESIZE(r1); \
58 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1); \
59 std r4,-STACKFRAMESIZE+STK_REG(R30)(r1); \
60 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1); \
[all …]
/openbmc/phosphor-mboxd/
H A Dmboxd_dbus.c1 // SPDX-License-Identifier: Apache-2.0
26 #include <systemd/sd-bus.h>
67 resp->num_args = DAEMON_STATE_NUM_ARGS; in dbus_handle_daemon_state()
68 resp->args = calloc(resp->num_args, sizeof(*resp->args)); in dbus_handle_daemon_state()
69 resp->args[0] = (context->state & STATE_SUSPENDED) ? in dbus_handle_daemon_state()
86 resp->num_args = LPC_STATE_NUM_ARGS; in dbus_handle_lpc_state()
87 resp->args = calloc(resp->num_args, sizeof(*resp->args)); in dbus_handle_lpc_state()
88 if ((context->state & MAPS_MEM) && !(context->state & MAPS_FLASH)) { in dbus_handle_lpc_state()
89 resp->args[0] = LPC_STATE_MEM; in dbus_handle_lpc_state()
90 } else if (!(context->state & MAPS_MEM) && in dbus_handle_lpc_state()
[all …]
H A Dmboxctl.c1 // SPDX-License-Identifier: Apache-2.0
27 #include <systemd/sd-bus.h>
33 "\nUsage: %s [--silent | -s] <command> [args]\n\n" \
34 "\t\t--silent\t\t- no output on the command line\n\n" \
36 "\t\t--ping\t\t\t- ping the daemon (0)\n" \
37 "\t\t--daemon-state\t\t- check state of the daemon (0)\n" \
38 "\t\t--lpc-state\t\t- check the state of the lpc mapping (0)\n" \
39 "\t\t--kill\t\t\t- stop the daemon [no flush] (0)\n" \
40 "\t\t--reset\t\t\t- hard reset the daemon state (0)\n" \
41 "\t\t--point-to-flash\t- point the lpc mapping back to flash (0)\n" \
[all …]
/openbmc/linux/arch/x86/crypto/
H A Dtwofish-avx-x86_64-asm_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Twofish Cipher 8-way parallel algorithm (AVX/x86_64)
6 * <Johannes.Goetzfried@informatik.stud.uni-erlangen.de>
8 * Copyright © 2012-2013 Jussi Kivilinna <jussi.kivilinna@iki.fi>
13 #include "glue_helper-asm-avx.S"
15 .file "twofish-avx-x86_64-asm_64.S"
33 8-way AVX twofish
139 #define encround_tail(a, b, c, d, x, y, prerotate) \ argument
140 vpaddd x, y, x; \
144 vpaddd y, x, y; \
[all …]
/openbmc/qemu/ui/
H A Dui-qmp-cmds.c10 * the COPYING file in the top-level directory.
12 * Contributions after 2012-01-13 are licensed under the terms of the
18 #include "io/channel-file.h"
19 #include "monitor/qmp-helpers.h"
20 #include "qapi/qapi-commands-ui.h"
26 #include "ui/dbus-display.h"
27 #include "ui/qemu-spice.h"
34 int rc; in qmp_set_password() local
36 if (opts->protocol == DISPLAY_PROTOCOL_SPICE) { in qmp_set_password()
40 rc = qemu_spice.set_passwd(opts->password, in qmp_set_password()
[all …]
/openbmc/linux/drivers/input/joystick/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 weapon control system or something like that you can say Y here
23 Say Y here if you have a joystick that connects to the PC
40 Say Y here if you have an FPGaming or MadCatz controller using the
52 Say Y here if you have a simple joystick connected over ADC.
55 module will be called adc-joystick.
62 Say Y here if you have a Logitech controller using the ADI
72 Say Y here if you have a Creative Labs Blaster Cobra gamepad.
81 Say Y here if you have a Genius Flight2000 or MaxFighter digitally
91 Say Y here if you have a Gravis controller using the GrIP protocol
[all …]
/openbmc/qemu/
H A Dqemu-edid.c5 * See the COPYING file in the top-level directory.
23 "Typically you'll pipe the output into edid-decode\n" in usage()
26 "usage: qemu-edid <options>\n" in usage()
28 " -h print this text\n" in usage()
29 " -o <file> set output file (stdout by default)\n" in usage()
30 " -v <vendor> set monitor vendor (three letters)\n" in usage()
31 " -n <name> set monitor name\n" in usage()
32 " -s <serial> set monitor serial\n" in usage()
33 " -d <dpi> set display resolution\n" in usage()
34 " -x <prefx> set preferred width\n" in usage()
[all …]
/openbmc/linux/drivers/char/ipmi/
H A Dkcs_bmc_aspeed.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2015-2018, Intel Corporation.
6 #define pr_fmt(fmt) "aspeed-kcs-bmc: " fmt
27 #define DEVICE_NAME "ast-kcs-bmc"
34 * LPCyE Enable LPC channel y
35 * IBFIEy Input Buffer Full IRQ Enable for LPC channel y
36 * IRQxEy Assert SerIRQ x for LPC channel y (Deprecated, use IDyIRQX, IRQXEy)
37 * IDyIRQX Use the specified 4-bit SerIRQ for LPC channel y
38 * SELyIRQX SerIRQ polarity for LPC channel y (low: 0, high: 1)
39 * IRQXEy Assert the SerIRQ specified in IDyIRQX for LPC channel y
[all …]
/openbmc/linux/drivers/xen/
H A Dgntalloc.c4 * Device for creating grant references (in user-space) that may be shared
14 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 * X -> granting a page to Y
24 * Y -> mapping the grant from X
27 * 2. X creates an entry in the grant table that says domid(Y) can access P.
29 * 3. X gives the grant reference identifier, GREF, to Y.
30 * 4. Y maps the page, either directly into kernel memory for use in a backend
32 * application running in Y. This is the first point at which Xen does any
35 * to the shared page, and can now communicate with Y over the shared page.
83 uint16_t pgoff:12; /* Bits 0-11: Offset of the byte to clear */
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Dstb6100.c1 // SPDX-License-Identifier: GPL-2.0-or-later
30 #define dprintk(x, y, z, format, arg...) do { \ argument
32 if ((x > FE_ERROR) && (x > y)) \
34 else if ((x > FE_NOTICE) && (x > y)) \
36 else if ((x > FE_INFO) && (x > y)) \
38 else if ((x > FE_DEBUG) && (x > y)) \
41 if (x > y) \
123 int rc; in stb6100_read_regs() local
125 .addr = state->config->tuner_address, in stb6100_read_regs()
131 rc = i2c_transfer(state->i2c, &msg, 1); in stb6100_read_regs()
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_hpmfwupg.c23 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED.
110 /* HpmGetuserInput - get input from user
125 if (toupper(userInput[0]) == 'Y') { in HpmGetUserInput()
131 /* HpmDisplayLine - display the line with the given character
136 while (n--) { in HpmDisplayLine()
142 /* HpmDisplayUpgradeHeader - display the Upgrade header information
148 HpmDisplayLine("-", 79); in HpmDisplayUpgradeHeader()
154 "|----|-------------|-----------------|-----------------|-----------------|----|\n"); in HpmDisplayUpgradeHeader()
157 /* HpmDisplayUpgrade - display the progress of the upgrade; prints the "."
165 static int old_percent = -1; in HpmDisplayUpgrade()
[all …]
/openbmc/linux/drivers/input/rmi4/
H A Drmi_f11.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2015 Synaptics Incorporated
181 * struct f11_2d_sensor_queries - describes sensor capabilities
185 * @nr_fingers: describes the maximum number of fingers the 2-D sensor
193 * @nr_x_electrodes: the maximum number of electrodes the 2-D sensor
195 * @nr_y_electrodes: the maximum number of electrodes the 2-D sensor
196 * supports on the Y axis.
197 * @max_electrodes: the total number of X and Y electrodes that may be
205 * @has_anchored_finger: then the sensor supports the high-precision second
224 * @has_single_tap: a basic single-tap gesture is supported.
[all …]
/openbmc/linux/drivers/media/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
10 obj-y += i2c/ tuners/
11 obj-$(CONFIG_DVB_CORE) += dvb-frontends/
14 # Now, let's link-in the media controller core
16 ifeq ($(CONFIG_MEDIA_CONTROLLER),y)
17 obj-$(CONFIG_MEDIA_SUPPORT) += mc/
20 obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
21 obj-$(CONFIG_DVB_CORE) += dvb-core/
23 # There are both core and drivers at RC subtree - merge before drivers
24 obj-y += rc/
[all …]
/openbmc/linux/security/selinux/
H A Dxfrm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Security-Enhanced Linux (SELinux) security module
22 * CONFIG_SECURITY=y
23 * CONFIG_SECURITY_NETWORK=y
24 * CONFIG_SECURITY_NETWORK_XFRM=y
25 * CONFIG_SECURITY_SELINUX=m/y
58 (ctx->ctx_doi == XFRM_SC_DOI_LSM) && in selinux_authorizable_ctx()
59 (ctx->ctx_alg == XFRM_SC_ALG_SELINUX)); in selinux_authorizable_ctx()
67 return selinux_authorizable_ctx(x->security); in selinux_authorizable_xfrm()
78 int rc; in selinux_xfrm_alloc_user() local
[all …]

12345678910>>...16