Home
last modified time | relevance | path

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

12345678910>>...16

/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 if (!ucsi_con_mutex_lock(dp->con)) in ucsi_displayport_enter()
58 return -ENOTCONN; in ucsi_displayport_enter()
[all …]
H A Dtrace.h1 /* 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 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
239 struct i2c_client *client = uc->client; in ccg_read()
240 const struct i2c_adapter_quirks *quirks = client->adapter->quirks; in ccg_read()
244 .addr = client->addr, in ccg_read()
250 .addr = client->addr, in ccg_read()
[all …]
/linux/drivers/usb/typec/altmodes/
H A Ddisplayport.c1 // 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()
105 conf = (dp->data.conf & DP_CONF_SIGNALLING_MASK) >> DP_CONF_SIGNALLING_SHIFT; in dp_altmode_configure()
112 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
113 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure()
[all …]
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/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/arch/riscv/errata/mips/
H A Derrata.c1 // 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/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->adev; in typec_altmode_set_retimer()
28 return typec_retimer_set(alt->retimer, &state); in typec_altmode_set_retimer()
32 typec_altmode_set_mux(struct altmode *alt, unsigned long conf, void *data) in typec_altmode_set_mux() argument
36 if (!alt->mux) in typec_altmode_set_mux()
39 state.alt = &alt->adev; in typec_altmode_set_mux()
43 return typec_mux_set(alt->mux, &state); in typec_altmode_set_mux()
[all …]
H A Dclass.c1 // 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 Derrata.c1 // 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 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/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/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/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()
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 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/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/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/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/tools/objtool/arch/x86/
H A Dspecial.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 void arch_handle_alternative(struct special_alt *alt) in arch_handle_alternative() argument
15 if (group && group->orig_sec == alt->orig_sec && in arch_handle_alternative()
16 group->orig_off == alt->orig_off) { in arch_handle_alternative()
20 unsigned int len = max(iter->orig_len, alt->orig_len); in arch_handle_alternative()
21 iter->orig_len = alt->orig_len = len; in arch_handle_alternative()
29 } else group = alt; in arch_handle_alternative()
31 prev = alt; in arch_handle_alternative()
52 * functions in the kernel, only with certain obscure non-distro configs.
55 * table, modifies it, and then hard-codes the jump (albeit with an indirect
[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/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
22 echo "ERROR: ${1:-unexpected return code} (ret: $_)" >&2
34 ip -netns $NS link set dev $nsim netns $test_ns ||
36 ip -netns $test_ns link show dev $nsim >> /dev/null ||
43 ip -netns $test_ns link add name $DEV type dummy
44 ip -netns $NS link add name $DEV type dummy || fail
[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 …]

12345678910>>...16