Home
last modified time | relevance | path

Searched +full:- +full:alt (Results 1 – 25 of 407) sorted by relevance

12345678910>>...17

/linux/drivers/tty/vt/
H A Ddefkeymap.map1 # SPDX-License-Identifier: GPL-2.0
3 keymaps 0-2,4-5,8,12
5 # keymaps 0-2,4-6,8,12
12 # be saved by mapping AltGr to Alt (and adapting a few entries):
13 # keycode 100 = Alt
16 alt keycode 1 = Meta_Escape
18 alt keycode 2 = Meta_one
22 alt keycode 3 = Meta_two
25 alt keycode 4 = Meta_three
28 alt keycode 5 = Meta_four
[all …]
/linux/drivers/usb/typec/ucsi/
H A Ddisplayport.c1 // SPDX-License-Identifier: GPL-2.0
21 struct typec_altmode *alt; member
39 * them. That is because UCSI defines alt mode details and alt mode "overriding"
42 * In case alt mode details are supported, but overriding is not, the driver
45 * -EOPNOTSUPP.
48 static int ucsi_displayport_enter(struct typec_altmode *alt, u32 *vdo) in ucsi_displayport_enter() argument
50 struct ucsi_dp *dp = typec_altmode_get_drvdata(alt); in ucsi_displayport_enter()
51 struct ucsi *ucsi = dp->con->ucsi; in ucsi_displayport_enter()
57 mutex_lock(&dp->con->lock); in ucsi_displayport_enter()
59 if (!dp->override && dp->initialized) { in ucsi_displayport_enter()
[all …]
H A Ducsi_ccg.c1 // SPDX-License-Identifier: GPL-2.0
3 * UCSI driver for Cypress CCGx Type-C controller
5 * Copyright (C) 2017-2018 NVIDIA Corporation. All rights reserved.
26 FW1, /* FW partition-1 (contains secondary fw) */
27 FW2, /* FW partition-2 (contains primary fw) */
128 /* Firmware for Tegra doesn't support UCSI ALT command, built
240 struct i2c_client *client = uc->client; in ccg_read()
241 const struct i2c_adapter_quirks *quirks = client->adapter->quirks; in ccg_read()
245 .addr = client->addr, in ccg_read()
251 .addr = client->addr, in ccg_read()
[all …]
H A Ducsi.c1 // SPDX-License-Identifier: GPL-2.0
3 * USB Type-C Connector System Software Interface driver
21 * UCSI_TIMEOUT_MS - PPM communication timeout
31 * UCSI_SWAP_TIMEOUT_MS - Timeout for role swap requests
49 test_and_clear_bit(ACK_PENDING, &ucsi->flags)) in ucsi_notify_common()
50 complete(&ucsi->complete); in ucsi_notify_common()
53 test_and_clear_bit(COMMAND_PENDING, &ucsi->flags)) in ucsi_notify_common()
54 complete(&ucsi->complete); in ucsi_notify_common()
64 set_bit(ACK_PENDING, &ucsi->flags); in ucsi_sync_control_common()
66 set_bit(COMMAND_PENDING, &ucsi->flags); in ucsi_sync_control_common()
[all …]
/linux/tools/objtool/
H A Dspecial.c1 // SPDX-License-Identifier: GPL-2.0-or-later
57 void __weak arch_handle_alternative(unsigned short feature, struct special_alt *alt) in arch_handle_alternative() argument
64 *sec = reloc->sym->sec; in reloc_to_sec_off()
65 *off = reloc->sym->offset + reloc_addend(reloc); in reloc_to_sec_off()
70 struct special_alt *alt) in get_alt_entry() argument
75 offset = idx * entry->size; in get_alt_entry()
77 alt->group = entry->group; in get_alt_entry()
78 alt->jump_or_nop = entry->jump_or_nop; in get_alt_entry()
80 if (alt->group) { in get_alt_entry()
81 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
[all …]
/linux/arch/arm64/kernel/
H A Dalternative.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #define __ALT_PTR(a, f) ((void *)&(a)->f + (a)->f)
27 #define ALT_CAP(a) ((a)->cpucap & ~ARM64_CB_BIT)
28 #define ALT_HAS_CB(a) ((a)->cpucap & ARM64_CB_BIT)
51 static __always_inline bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) in branch_insn_requires_update() argument
53 unsigned long replptr = (unsigned long)ALT_REPL_PTR(alt); in branch_insn_requires_update()
54 return !(pc >= replptr && pc <= (replptr + alt->alt_len)); in branch_insn_requires_update()
57 #define align_down(x, a) ((unsigned long)(x) & ~(((unsigned long)(a)) - 1))
59 static __always_inline u32 get_alt_insn(struct alt_instr *alt, __le32 *insnptr, __le32 *altinsnptr) in get_alt_insn() argument
76 if (branch_insn_requires_update(alt, target)) { in get_alt_insn()
[all …]
/linux/sound/soc/sof/intel/
H A Dhda-mlink.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
10 * Management of HDaudio multi-link (capabilities, power, coupling)
15 #include <sound/hda-mlink.h>
22 /* worst-case number of sublinks is used for sublink refcount array allocation only */
23 #define HDAML_MAX_SUBLINKS (AZX_ML_LCTL_CPA_SHIFT - AZX_ML_LCTL_SPA_SHIFT)
26 * struct hdac_ext2_link - HDAudio extended+alternate link
29 * @alt: flag set for alternate extended links
39 * @sublink_ref_count: array of refcounts, required to power-manage sublinks independently
44 * @shim_vs_offset: offset to vendor-specific (VS) SHIM base
50 bool alt; member
[all …]
/linux/Documentation/networking/
H A Dmac80211-auth-assoc-deauth.txt13 alt authentication needed (not FT)
14 userspace->mac80211: authenticate
16 alt authenticated/authenticating already
17 mac80211->driver: sta_state(AP, not-exists)
18 mac80211->driver: bss_info_changed(clear BSSID)
26 mac80211->driver: config(channel, channel type)
27 mac80211->driver: bss_info_changed(set BSSID, basic rate bitmap)
28 mac80211->driver: sta_state(AP, exists)
30 alt no probe request data known
31 mac80211->driver: TX directed probe request
[all …]
/linux/drivers/usb/typec/
H A Dbus.c1 // SPDX-License-Identifier: GPL-2.0
3 * Bus for USB Type-C Alternate Modes
17 typec_altmode_set_retimer(struct altmode *alt, unsigned long conf, void *data) in typec_altmode_set_retimer() argument
21 if (!alt->retimer) in typec_altmode_set_retimer()
24 state.alt = &alt->ade in typec_altmode_set_retimer()
32 typec_altmode_set_mux(struct altmode * alt,unsigned long conf,void * data) typec_altmode_set_mux() argument
48 typec_altmode_set_switches(struct altmode * alt,unsigned long conf,void * data) typec_altmode_set_switches() argument
438 struct typec_altmode *alt = to_typec_altmode(dev); description_show() local
477 typec_altmode_create_links(struct altmode * alt) typec_altmode_create_links() argument
494 typec_altmode_remove_links(struct altmode * alt) typec_altmode_remove_links() argument
[all...]
/linux/tools/objtool/arch/x86/
H A Dspecial.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 void arch_handle_alternative(unsigned short feature, struct special_alt *alt) in arch_handle_alternative() argument
17 if (group && group->orig_sec == alt->orig_sec && in arch_handle_alternative()
18 group->orig_of in arch_handle_alternative()
[all...]
/linux/drivers/usb/storage/
H A Duas-detect.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 return (intf->desc.bInterfaceClass == USB_CLASS_MASS_STORAGE && in uas_is_interface()
9 intf->desc.bInterfaceSubClass == USB_SC_SCSI && in uas_is_interface()
10 intf->desc.bInterfaceProtocol == USB_PR_UAS); in uas_is_interface()
18 for (i = 0; i < intf->num_altsetting; i++) { in uas_find_uas_alt_setting()
19 struct usb_host_interface *alt = &intf->altsetting[i]; in uas_find_uas_alt_setting() local
21 if (uas_is_interface(alt)) in uas_find_uas_alt_setting()
22 return alt; in uas_find_uas_alt_setting()
28 static int uas_find_endpoints(struct usb_host_interface *alt, in uas_find_endpoints() argument
31 struct usb_host_endpoint *endpoint = alt->endpoint; in uas_find_endpoints()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-typec-displayport19 separate configuration defined in VESA DisplayPort Alt Mode on
20 USB Type-C Standard. Functionally it equals to the situation
22 Documentation/ABI/testing/sysfs-bus-typec, and use file
29 VESA DisplayPort Alt Mode on USB Type-C Standard defines six
30 different pin assignments for USB Type-C connector that are
44 Note. As of VESA DisplayPort Alt Mode on USB Type-C Standard
55 VESA DisplayPort Alt Mode on USB Type-C Standard defines how
56 HotPlugDetect(HPD) shall be supported on the USB-C connector when
57 operating in DisplayPort Alt Mode. This is a read only node which
61 - 1: when HPD’s logical state is high (HPD_High) as defined
[all …]
/linux/arch/m68k/hp300/
H A Dhp300map.map2 keymaps 0-2,4-5,8,12
4 # keymaps 0-2,4-6,8,12
11 # be saved by mapping AltGr to Alt (and adapting a few entries):
12 # keycode 100 = Alt
15 keycode 2 = Alt
16 keycode 3 = Alt
69 alt keycode 55 = Meta_Tab
79 alt keycode 63 = Meta_grave
127 alt keycode 101 = Meta_backslash
134 alt keycode 107 = Meta_semicolon
[all …]
/linux/arch/arm64/include/asm/
H A Dspectre.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #define __BP_HARDEN_HYP_VECS_SZ ((BP_HARDEN_EL2_SLOTS - 1) * SZ_2K)
80 if (d->fn) in arm64_apply_bp_hardening()
81 d->fn(); in arm64_apply_bp_hardening()
104 void spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
106 void smccc_patch_fw_mitigation_conduit(struct alt_instr *alt, __le32 *origptr,
108 void spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
110 void spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, __le32 *origptr,
112 void spectre_bhb_patch_loop_iter(struct alt_instr *alt,
114 void spectre_bhb_patch_wa3(struct alt_instr *alt,
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Dopenbmc-flash-layout-64-alt.dtsi1 // SPDX-License-Identifier: GPL-2.0+
7 compatible = "fixed-partitions";
8 #address-cells = <1>;
9 #size-cells = <1>;
11 u-boot@0 {
13 label = "alt-u-boot";
16 u-boot-env@e0000 {
18 label = "alt-u-boot-env";
23 label = "alt-kernel";
28 label = "alt-rofs";
[all …]
/linux/arch/powerpc/lib/
H A Dfeature-fixups-test.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 #include <asm/feature-fixups.h>
9 #include <asm/asm-compat.h>
10 #include <asm/ppc-opcode.h>
285 /* Basic alt section test, default case should be taken */ \
296 /* Basic alt section test, else case should be taken */ \
308 /* Alt with smaller else case, should be padded with nops */ \
318 /* Alt section with nested section in default case */ \
333 /* Alt section with nested section in else, default taken */ \
347 /* Alt section with nested section in else, else taken & nop */ \
[all …]
/linux/Documentation/admin-guide/blockdev/drbd/
H A Dfigures.rst1 .. SPDX-License-Identifier: GPL-2.0
8 .. kernel-figure:: DRBD-8.3-data-packets.svg
9 :alt: DRBD-8.3-data-packets.svg
12 .. kernel-figure:: DRBD-data-packets.svg
13 :alt: DRBD-data-packets.svg
20 .. kernel-figure:: conn-states-8.dot
21 :alt: conn-states-8.dot
24 .. kernel-figure:: disk-states-8.dot
25 :alt: disk-states-8.dot
28 .. kernel-figure:: peer-states-8.dot
[all …]
/linux/arch/powerpc/perf/
H A Dpower6-pmu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2008-2009 Paul Mackerras, IBM Corporation.
18 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */
38 #define MMCR1_TTMSEL_SH(n) (MMCR1_TTM0SEL_SH - (n) * 4)
48 #define MMCR1_PMCSEL_SH(n) (MMCR1_PMC1SEL_SH - (n) * 8)
58 * 4 = add/and event (PMC1 -> bits 0 & 4),
59 * 5 = add/and event (PMC1 -> bits 1 & 5),
60 * 6 = add/and event (PMC1 -> bits 2 & 6),
61 * 7 = add/and event (PMC1 -> bits 3 & 7).
123 0x000000c0, /* VMX set 2: byte 0 bits 4-7 */
[all …]
/linux/drivers/usb/typec/altmodes/
H A Ddisplayport.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 int dp_altmode_probe(struct typec_altmode *alt);
4 void dp_altmode_remove(struct typec_altmode *alt);
6 int dp_altmode_probe(struct typec_altmode *alt) { return -ENOTSUPP; } in dp_altmode_probe() argument
7 void dp_altmode_remove(struct typec_altmode *alt) { } in dp_altmode_remove() argument
/linux/tools/testing/selftests/net/
H A Dnetns-name.sh2 # SPDX-License-Identifier: GPL-2.0
5 set -o pipefail
7 DEV=dummy-dev0
8 DEV2=dummy-dev1
9 ALT_NAME=some-alt-name
20 echo "ERROR: ${1:-unexpected return code} (ret: $_)" >&2
29 ip -netns $NS link add name $DEV type dummy || fail
30 ip -netns $NS link set dev $DEV netns $test_ns ||
32 ip -netns $test_ns link show dev $DEV >> /dev/null || fail "Device not found after move"
33 ip -netns $test_ns link del $DEV || fail
[all …]
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 cx231xx-core.c - driver for Conexant Cx23100/101/102
17 #include <media/v4l2-common.h>
20 #include "cx231xx-reg.h"
31 dev->name, __func__ , ##arg); } while (0)
37 static int alt = CX231XX_PINOUT; variable
38 module_param(alt, int, 0644);
39 MODULE_PARM_DESC(alt, "alternate setting to use for video endpoint");
44 dev->name, __func__ , ##arg); } while (0)
62 if (dev->udev == NULL) in cx231xx_remove_from_devlist()
[all …]
/linux/drivers/infiniband/core/
H A Dsecurity.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
50 struct ib_device *dev = pp->sec->dev; in get_pkey_idx_qp_list()
52 spin_lock(&dev->port_data[pp->port_num].pkey_list_lock); in get_pkey_idx_qp_list()
53 list_for_each_entry (tmp_pkey, &dev->port_data[pp->port_num].pkey_list, in get_pkey_idx_qp_list()
55 if (tmp_pkey->pkey_index == pp->pkey_index) { in get_pkey_idx_qp_list()
60 spin_unlock(&dev->port_data[pp->port_num].pkey_list_lock); in get_pkey_idx_qp_list()
68 struct ib_device *dev = pp->sec->dev; in get_pkey_and_subnet_prefix()
71 ret = ib_get_cached_pkey(dev, pp->port_num, pp->pkey_index, pkey); in get_pkey_and_subnet_prefix()
75 ib_get_cached_subnet_prefix(dev, pp->port_num, subnet_prefix); in get_pkey_and_subnet_prefix()
[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>
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()
71 return sprintf(buffer, "0x%04x\n", *(unsigned int *)kp->arg); in ati_remote2_get_channel_mask()
87 return sprintf(buffer, "0x%02x\n", *(unsigned int *)kp->arg); in ati_remote2_get_mode_mask()
158 { 0x3f, KEY_PROG1 }, /* AUX1-AUX4 and PC */
[all …]
/linux/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher
4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland
9 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600
10 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express
11 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam
12 * P/N 861075-0040: Sensor HDCS1000 ASIC
13 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB
14 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web
33 struct usb_device *udev = sd->gspca_dev.dev; in stv06xx_write_bridge()
[all …]
/linux/Documentation/security/
H A Dsak.rst15 providing SAK. One is the ALT-SYSRQ-K sequence. You shouldn't use
28 What key sequence should you use? Well, CTRL-ALT-DEL is used to reboot
29 the machine. CTRL-ALT-BACKSPACE is magical to the X server. We'll
30 choose CTRL-ALT-PAUSE.
34 echo "control alt keycode 101 = SAK" | /bin/loadkeys
57 # ls -l /proc/[0-9]*/fd/* | grep console
58 l-wx------ 1 root root 64 Mar 18 00:46 /proc/579/fd/0 -> /dev/console
63 root 579 0.0 0.1 1088 436 ? S 00:43 0:00 gpm -t ps/2
90 applications to malfunction - test everything well.

12345678910>>...17