| /linux/drivers/tty/vt/ |
| H A D | defkeymap.map | 1 # 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/platform/chrome/ |
| H A D | cros_typec_altmode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Alt-mode implementation on ChromeOS EC. 6 * Author: Abhishek Pandit-Subedi <abhishekpandit@chromium.org> 21 struct typec_altmode *alt; member 45 mutex_lock(&data->lock); in cros_typec_altmode_work() 47 if (typec_altmode_vdm(data->alt, data->header, data->vdo_data, in cros_typec_altmode_work() 48 data->vdo_size)) in cros_typec_altmode_work() 49 dev_err(&data->alt->dev, "VDM 0x%x failed\n", data->header); in cros_typec_altmode_work() 51 data->header = 0; in cros_typec_altmode_work() 52 data->vdo_data = NULL; in cros_typec_altmode_work() [all …]
|
| /linux/drivers/usb/typec/altmodes/ |
| H A D | thunderbolt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Typec-C Thunderbolt3 Alternate Mode driver 30 struct typec_altmode *alt; member 38 static bool tbt_ready(struct typec_altmode *alt); 42 return typec_altmode_enter(tbt->alt, &tbt->enter_vdo); in tbt_enter_mode() 50 mutex_lock(&tbt->lock); in tbt_altmode_work() 52 switch (tbt->state) { in tbt_altmode_work() 54 ret = typec_cable_altmode_enter(tbt->alt, TYPEC_PLUG_SOP_P, NULL); in tbt_altmode_work() 56 dev_dbg(&tbt->plug[TYPEC_PLUG_SOP_P]->dev, in tbt_altmode_work() 62 ret = typec_cable_altmode_enter(tbt->alt, TYPEC_PLUG_SOP_PP, NULL); in tbt_altmode_work() [all …]
|
| H A D | displayport.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Typec-C DisplayPort Alternate Mode driver 20 #define DP_HEADER(_dp, ver, cmd) (VDO((_dp)->alt->svid, 1, ver, cmd) \ 78 struct typec_altmode *alt; member 89 if (dp->data.conf) { in dp_altmode_notify() 90 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify() 96 return typec_altmode_notify(dp->alt, conf, &dp->data); in dp_altmode_notify() 106 signal = DP_CAP_DP_SIGNALLING(dp->port->vdo) & DP_CAP_DP_SIGNALLING(dp->alt->vdo); in dp_altmode_configure() 107 if (dp->plug_prime) in dp_altmode_configure() 108 signal &= DP_CAP_DP_SIGNALLING(dp->plug_prime->vdo); in dp_altmode_configure() [all …]
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | displayport.c | 1 // 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 if (!ucsi_con_mutex_lock(dp->con)) in ucsi_displayport_enter() 58 return -ENOTCONN; in ucsi_displayport_enter() [all …]
|
| H A D | trace.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 23 __entry->ctrl = command; 24 __entry->ret = ret; 26 TP_printk("%s -> %s (err=%d)", ucsi_cmd_str(__entry->ctrl), 27 __entry->ret < 0 ? "FAIL" : "OK", 28 __entry->ret < 0 ? __entry->ret : 0) 56 __entry->port = port - 1; 57 __entry->change = UCSI_CONSTAT(con, CHANGE); 58 __entry->opmode = UCSI_CONSTAT(con, PWR_OPMODE); 59 __entry->connected = UCSI_CONSTAT(con, CONNECTED); [all …]
|
| H A D | ucsi_ccg.c | 1 // 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. 27 FW1, /* FW partition-1 (contains secondary fw) */ 28 FW2, /* FW partition-2 (contains primary fw) */ 129 /* 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 D | ucsi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Type-C Connector System Software Interface driver 22 * UCSI_TIMEOUT_MS - PPM communication timeout 32 * UCSI_SWAP_TIMEOUT_MS - Timeout for role swap requests 47 if (!ucsi->cap.num_connectors || in ucsi_notify_common() 48 UCSI_CCI_CONNECTOR(cci) <= ucsi->cap.num_connectors) in ucsi_notify_common() 51 dev_err(ucsi->dev, "bogus connector number in CCI: %lu\n", in ucsi_notify_common() 56 test_and_clear_bit(ACK_PENDING, &ucsi->flags)) in ucsi_notify_common() 57 complete(&ucsi->complete); in ucsi_notify_common() 60 test_and_clear_bit(COMMAND_PENDING, &ucsi->flags)) in ucsi_notify_common() [all …]
|
| /linux/arch/arm64/kernel/ |
| H A D | alternative.c | 1 // 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 D | hda-mlink.c | 1 // 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> 23 /* worst-case number of sublinks is used for sublink refcount array allocation only */ 24 #define HDAML_MAX_SUBLINKS (AZX_ML_LCTL_CPA_SHIFT - AZX_ML_LCTL_SPA_SHIFT) 27 * struct hdac_ext2_link - HDAudio extended+alternate link 30 * @alt: flag set for alternate extended links 40 * @sublink_ref_count: array of refcounts, required to power-manage sublinks independently 45 * @shim_vs_offset: offset to vendor-specific (VS) SHIM base 52 bool alt; member [all …]
|
| /linux/arch/riscv/errata/mips/ |
| H A D | errata.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <asm/text-patching.h> 40 struct alt_entry *alt; in mips_errata_patch_func() local 49 for (alt = begin; alt < end; alt++) { in mips_errata_patch_func() 50 if (alt->vendor_id != MIPS_VENDOR_ID) in mips_errata_patch_func() 53 if (alt->patch_id >= ERRATA_MIPS_NUMBER) { in mips_errata_patch_func() 55 alt->patch_id); in mips_errata_patch_func() 59 tmp = (1U << alt->patch_id); in mips_errata_patch_func() 62 patch_text_nosync(ALT_OLD_PTR(alt), ALT_ALT_PTR(alt), in mips_errata_patch_func() 63 alt->alt_len); in mips_errata_patch_func()
|
| /linux/arch/riscv/errata/sifive/ |
| H A D | errata.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <asm/text-patching.h> 56 .name = "cip-453", 60 .name = "cip-1200", 82 struct alt_entry *alt; in sifive_errata_patch_func() local 93 for (alt = begin; alt < end; alt++) { in sifive_errata_patch_func() 94 if (alt->vendor_id != SIFIVE_VENDOR_ID) in sifive_errata_patch_func() 96 if (alt->patch_id >= ERRATA_SIFIVE_NUMBER) { in sifive_errata_patch_func() 97 WARN(1, "This errata id:%d is not in kernel errata list", alt->patch_id); in sifive_errata_patch_func() 101 tmp = (1U << alt->patch_id); in sifive_errata_patch_func() [all …]
|
| /linux/Documentation/networking/ |
| H A D | mac80211-auth-assoc-deauth.txt | 13 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 D | class.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Type-C Connector Class 29 /* ------------------------------------------------------------------------- */ 66 return partner->identity; in get_pd_identity() 70 return cable->identity; in get_pd_identity() 77 struct typec_port *port = to_typec_port(dev->parent); in get_pd_product_type() 85 if (port->data_role == TYPEC_HOST) in get_pd_product_type() 86 ptype = product_type_ufp[PD_IDH_PTYPE(id->id_header)]; in get_pd_product_type() 88 ptype = product_type_dfp[PD_IDH_DFP_PTYPE(id->id_header)]; in get_pd_product_type() 91 ptype = product_type_cable[PD_IDH_PTYPE(id->id_header)]; in get_pd_product_type() [all …]
|
| /linux/arch/riscv/errata/thead/ |
| H A D | errata.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <asm/dma-noncoherent.h> 20 #include <asm/text-patching.h> 48 * | 31 - 25 | 24 - 20 | 19 - 15 | 14 - 12 | 11 - 7 | 6 - 0 | 54 * | 31 - 25 | 24 - 20 | 19 - 15 | 14 - 12 | 11 - 7 | 6 - 0 | 60 * | 31 - 25 | 24 - 20 | 19 - 15 | 14 - 12 | 11 - 7 | 6 - 0 | 66 * | 31 - 25 | 24 - 20 | 19 - 15 | 14 - 12 | 11 - 7 | 6 - 0 | 84 "r"((unsigned long)(_start) & ~((_cachesize) - 1UL)), \ 136 /* target-c9xx cores report arch_id and impid as 0 */ in errata_probe_pmu() 153 * target-c9xx cores report arch_id and impid as 0 in errata_probe_ghostwrite() [all …]
|
| /linux/drivers/usb/storage/ |
| H A D | uas-detect.h | 1 /* 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/arch/m68k/hp300/ |
| H A D | hp300map.map | 2 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/Documentation/ABI/testing/ |
| H A D | sysfs-driver-typec-displayport | 19 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/arm64/include/asm/ |
| H A D | spectre.h | 1 /* 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() 106 void spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt, __le32 *origptr, 108 void smccc_patch_fw_mitigation_conduit(struct alt_instr *alt, __le32 *origptr, 110 void spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, __le32 *origptr, 112 void spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, __le32 *origptr, 114 void spectre_bhb_patch_loop_iter(struct alt_instr *alt, 116 void spectre_bhb_patch_wa3(struct alt_instr *alt, [all …]
|
| /linux/arch/arm/boot/dts/aspeed/ |
| H A D | openbmc-flash-layout-64-alt.dtsi | 1 // 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 D | feature-fixups-test.S | 1 /* 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 D | figures.rst | 1 .. 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 D | power6-pmu.c | 1 // 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/tools/objtool/arch/x86/ |
| H A D | special.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #include "cpu-feature-names.c" in arch_handle_alternative() 12 void arch_handle_alternative(struct special_alt *alt) in arch_handle_alternative() 19 if (group && group->orig_sec == alt in arch_handle_alternative() 8 arch_handle_alternative(struct special_alt * alt) arch_handle_alternative() argument [all...] |
| /linux/tools/objtool/ |
| H A D | disas.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2015-2017 Josh Poimboeuf <jpoimboe@redhat.com> 17 #include <tools/dis-asm-compat.h> 49 struct alternative *alt; /* alternative or NULL if default code */ member 60 #define DALT_DEFAULT(dalt) (!(dalt)->al 626 struct alternative *alt; disas_alt_type_name() local 655 disas_alt_name(struct alternative * alt) disas_alt_name() argument 722 disas_alt_init(struct disas_alt * dalt,struct instruction * orig_insn,struct alternative * alt) disas_alt_init() argument 1081 struct alternative *alt; disas_alt() local [all...] |