| /linux/tools/testing/selftests/powerpc/stringloops/ |
| H A D | memcmp_64.S | 1 /* 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 …]
|
| /linux/arch/powerpc/lib/ |
| H A D | memcmp_64.S | 1 /* 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 …]
|
| /linux/arch/x86/crypto/ |
| H A D | twofish-avx-x86_64-asm_64.S | 1 /* 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 …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | stb6100.c | 1 // 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 …]
|
| H A D | mb86a20s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Fujitu mb86a20s ISDB-T/ISDB-Tsb Module driver 5 * Copyright (C) 2010-2013 Mauro Carvalho Chehab 6 * Copyright (C) 2009-2010 Douglas Landgraf <dougsland@redhat.com> 219 int rc; in mb86a20s_i2c_writereg() local 221 rc = i2c_transfer(state->i2c, &msg, 1); in mb86a20s_i2c_writereg() 222 if (rc != 1) { in mb86a20s_i2c_writereg() 223 dev_err(&state->i2c->dev, in mb86a20s_i2c_writereg() 224 "%s: writereg error (rc == %i, reg == 0x%02x, data == 0x%02x)\n", in mb86a20s_i2c_writereg() 225 __func__, rc, reg, data); in mb86a20s_i2c_writereg() [all …]
|
| /linux/drivers/char/ipmi/ |
| H A D | kcs_bmc_aspeed.c | 1 // 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 …]
|
| /linux/drivers/xen/ |
| H A D | gntalloc.c | 4 * 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 …]
|
| /linux/drivers/input/joystick/ |
| H A D | Kconfig | 1 # 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 …]
|
| /linux/drivers/media/ |
| H A D | Makefile | 1 # 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 …]
|
| /linux/drivers/media/rc/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 obj-y += keymaps/ 5 rc-core-y := rc-main.o rc-ir-raw.o 6 rc-core-$(CONFIG_LIRC) += lirc_dev.o 7 rc-core-$(CONFIG_MEDIA_CEC_RC) += keymaps/rc-cec.o 8 rc-core-$(CONFIG_BPF_LIRC_MODE2) += bpf-lirc.o 10 obj-$(CONFIG_RC_CORE) += rc-core.o 12 # IR decoders - please keep it alphabetically sorted by Kconfig name 14 obj-$(CONFIG_IR_IMON_DECODER) += ir-imon-decoder.o 15 obj-$(CONFIG_IR_JVC_DECODER) += ir-jvc-decoder.o [all …]
|
| /linux/drivers/media/usb/em28xx/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 em28xx-y += em28xx-core.o em28xx-i2c.o em28xx-cards.o em28xx-camera.o 4 em28xx-v4l-objs := em28xx-video.o em28xx-vbi.o 5 em28xx-alsa-objs := em28xx-audio.o 6 em28xx-rc-objs := em28xx-input.o 8 obj-$(CONFIG_VIDEO_EM28XX) += em28xx.o 9 obj-$(CONFIG_VIDEO_EM28XX_V4L2) += em28xx-v4l.o 10 obj-$(CONFIG_VIDEO_EM28XX_ALSA) += em28xx-alsa.o 11 obj-$(CONFIG_VIDEO_EM28XX_DVB) += em28xx-dvb.o 12 obj-$(CONFIG_VIDEO_EM28XX_RC) += em28xx-rc.o [all …]
|
| /linux/security/selinux/ |
| H A D | xfrm.c | 1 // 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 …]
|
| /linux/drivers/media/cec/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 bool "HDMI CEC RC integration" 16 depends on CEC_CORE=m || RC_CORE=y 18 Pass on CEC remote control messages to the RC framework. 29 default y if MEDIA_SUPPORT && !MEDIA_SUPPORT_FILTER 34 Say Y when you have an HDMI receiver, transmitter or a USB CEC
|
| /linux/tools/testing/selftests/powerpc/math/ |
| H A D | mma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 int rc = 0; in mma() local 19 uint16_t y[] = {1, 0, 2, 0, 3, 0, 4, 0}; in mma() local 29 test_mma(&x, &y, &z); in mma() 38 rc = 1; in mma() 42 return rc; in mma()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_lirc_mode2_user.c | 1 // SPDX-License-Identifier: GPL-2.0 10 // BPF program can decode this into scancodes so that rc-core can translate 11 // this into input key codes using the rc keymap. 13 // This test works by sending IR over rc-loopback, so the IR is processed by 15 // associated with rc-loopbac [all...] |
| /linux/drivers/input/mouse/ |
| H A D | cypress_ps2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 struct cytp_data *cytp = psmouse->private; in cypress_set_packet_size() 32 cytp->pkt_size = n; in cypress_set_packet_size() 40 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_sendbyte() 47 cmd, ps2dev->nak, error); in cypress_ps2_sendbyte() 60 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_ext_cmd() 62 int rc; in cypress_ps2_ext_cmd() local 72 rc = cypress_ps2_sendbyte(psmouse, prefix); in cypress_ps2_ext_cmd() 73 if (rc == -EAGAIN) { in cypress_ps2_ext_cmd() 74 rc = cypress_ps2_sendbyte(psmouse, 0x00); in cypress_ps2_ext_cmd() [all …]
|
| H A D | elantech.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2007-2009 Arjan Opmeer <arjan@opmeer.net> 27 if (etd->info.debug) \ 38 if (ps2_sliced_command(&psmouse->ps2dev, c) || in synaptics_send_cmd() 39 ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETINFO)) { in synaptics_send_cmd() 41 return -1; in synaptics_send_cmd() 53 struct ps2dev *ps2dev = &psmouse->ps2dev; in elantech_send_cmd() 59 return -1; in elantech_send_cmd() 71 struct ps2dev *ps2dev = &psmouse->ps2dev; in elantech_ps2_command() 72 struct elantech_data *etd = psmouse->private; in elantech_ps2_command() [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | wacom_w8001.c | 6 * Copyright (c) 2010 - 2011 Ping Cheng, Wacom. <pingc@wacom.com> 65 u16 y; member 74 u16 y; member 81 * Per-touchscreen data. 111 coord->rdy = data[0] & 0x20; in parse_pen_data() 112 coord->tsw = data[0] & 0x01; in parse_pen_data() 113 coord->f1 = data[0] & 0x02; in parse_pen_data() 114 coord->f2 = data[0] & 0x04; in parse_pen_data() 116 coord->x = (data[1] & 0x7F) << 9; in parse_pen_data() 117 coord->x |= (data[2] & 0x7F) << 2; in parse_pen_data() [all …]
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | hotplug-cpu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #define pr_fmt(fmt) "pseries-hotplug-cpu: " fmt 88 systemcfg->processorCount--; in pseries_cpu_disable() 111 * the cpu-offline. Here we wait for long enough to allow the cpu in question 112 * to self-destroy so that the cpu-offline thread can send the CPU_DEAD 116 * self-destruct. 144 paca_ptrs[cpu]->cpu_start = 0; in pseries_cpu_die() 148 * find_cpu_id_range - found a linear ranger of @nthreads free CPU ids. 161 int rc = -ENOSPC; in find_cpu_id_range() local 164 return -ENOMEM; in find_cpu_id_range() [all …]
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | fw_inc.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc. 4 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 32 * wil_fw_verify - verify firmware file validity 49 return -EINVAL; in wil_fw_verify() 54 return -EINVAL; in wil_fw_verify() 58 if (le16_to_cpu(hdr->type) != wil_fw_type_file_header) { in wil_fw_verify() 60 return -EINVAL; in wil_fw_verify() 65 dlen = le32_to_cpu(fh_->data_len); in wil_fw_verify() 68 return -EINVAL; in wil_fw_verify() [all …]
|
| /linux/tools/testing/selftests/pstore/ |
| H A D | common_tests | 2 # SPDX-License-Identifier: GPL-2.0-only 4 # common_tests - Shell script commonly used by pstore test scripts 21 if [ $1 -eq 0 ]; then 25 rc=1 30 if [ -e ${1}-${backend}-0 ]; then 32 for f in `ls ${1}-${backend}-*`; do 33 prlog -e "\t${f}" 37 rc=1 42 if [ $1 -eq 0 ]; then 45 prlog -ne "\t${f} ... " [all …]
|
| /linux/Documentation/process/ |
| H A D | applying-patches.rst | 54 in the patch file when applying it (the ``-p1`` argument to ``patch`` does 57 To revert a previously applied patch, use the -R argument to patch. 60 patch -p1 < ../patch-x.y.z 64 patch -R -p1 < ../patch-x.y.z 76 patch -p1 < path/to/patch-x.y.z 82 Patch can also get the name of the file to use via the -i argument, like 85 patch -p1 -i path/to/patch-x.y.z 91 xzcat path/to/patch-x.y.z.xz | patch -p1 92 bzcat path/to/patch-x.y.z.gz | patch -p1 96 gunzip or xz on the file -- like this:: [all …]
|
| /linux/drivers/s390/char/ |
| H A D | raw3270.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * IBM/3270 Driver - core functions. 56 unsigned char *ascebc; /* ascii -> ebcdic table */ 66 /* raw3270->state */ 73 /* raw3270->flags */ 74 #define RAW3270_FLAGS_14BITADDR 0 /* 14-bit buffer addresses */ 119 return rp->state == RAW3270_STATE_READY; in raw3270_state_ready() 122 void raw3270_buffer_address(struct raw3270 *rp, char *cp, int x, int y) in raw3270_buffer_address() argument 127 x = max_t(int, 0, rp->view->cols + x); in raw3270_buffer_address() 128 if (y < 0) in raw3270_buffer_address() [all …]
|
| /linux/drivers/cxl/core/ |
| H A D | cdat.c | 1 // SPDX-License-Identifier: GPL-2.0-only 55 struct acpi_cdat_header *hdr = &header->cdat; in cdat_dsmas_handler() 61 int rc; in cdat_dsmas_handler() local 63 len = le16_to_cpu((__force __le16)hdr->length); in cdat_dsmas_handler() 66 return -EINVAL; in cdat_dsmas_handler() 74 return -ENOMEM; in cdat_dsmas_handler() 76 dent->handle = dsmas->dsmad_handle; in cdat_dsmas_handler() 77 dent->dpa_range.start = le64_to_cpu((__force __le64)dsmas->dpa_base_address); in cdat_dsmas_handler() 78 dent->dpa_range.end = le64_to_cpu((__force __le64)dsmas->dpa_base_address) + in cdat_dsmas_handler() 79 le64_to_cpu((__force __le64)dsmas->dpa_length) - 1; in cdat_dsmas_handler() [all …]
|
| /linux/drivers/media/usb/stk1160/ |
| H A D | stk1160-v4l.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * <elezegarcia--a.t--gmail.com> 10 * <rmthomas--a.t--sciolus.org> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-common.h> 21 #include <media/v4l2-ioctl.h> 22 #include <media/v4l2-fh.h> 23 #include <media/v4l2-event.h> 24 #include <media/videobuf2-vmalloc.h> 29 #include "stk1160-reg.h" [all …]
|