Home
last modified time | relevance | path

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

12345678910>>...38

/kernel/linux/linux-5.10/drivers/tty/vt/
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 …]
/kernel/linux/linux-6.6/drivers/tty/vt/
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 …]
/kernel/linux/linux-6.6/include/sound/
Dhda-mlink.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
6 * Copyright(c) 2022-2023 Intel Corporation. All rights reserved.
17 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid);
18 void hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable);
19 bool hdac_bus_eml_check_interrupt(struct hdac_bus *bus, bool alt, int elid);
21 int hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus *bus, bool alt, int elid, u32 syncprd);
24 int hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus *bus, bool alt, int elid);
27 void hdac_bus_eml_sync_arm_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink);
30 int hdac_bus_eml_sync_go_unlocked(struct hdac_bus *bus, bool alt, int elid);
33 bool hdac_bus_eml_check_cmdsync_unlocked(struct hdac_bus *bus, bool alt, int elid);
[all …]
/kernel/linux/linux-5.10/tools/objtool/
Dspecial.c1 // SPDX-License-Identifier: GPL-2.0-or-later
54 void __weak arch_handle_alternative(unsigned short feature, struct special_alt *alt) in arch_handle_alternative() argument
61 *sec = reloc->sym->sec; in reloc_to_sec_off()
62 *off = reloc->sym->offset + reloc->addend; in reloc_to_sec_off()
67 struct special_alt *alt) in get_alt_entry() argument
72 offset = idx * entry->size; in get_alt_entry()
74 alt->group = entry->group; in get_alt_entry()
75 alt->jump_or_nop = entry->jump_or_nop; in get_alt_entry()
77 if (alt->group) { in get_alt_entry()
78 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
[all …]
/kernel/linux/linux-6.6/tools/objtool/
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 …]
/kernel/linux/linux-6.6/drivers/usb/typec/ucsi/
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 …]
Dtrace.h1 /* SPDX-License-Identifier: GPL-2.0 */
24 __entry->ctrl = command;
25 __entry->ret = ret;
27 TP_printk("%s -> %s (err=%d)", ucsi_cmd_str(__entry->ctrl),
28 __entry->ret < 0 ? "FAIL" : "OK",
29 __entry->ret < 0 ? __entry->ret : 0)
57 __entry->port = port - 1;
58 __entry->change = status->change;
59 __entry->opmode = UCSI_CONSTAT_PWR_OPMODE(status->flags);
60 __entry->connected = !!(status->flags & UCSI_CONSTAT_CONNECTED);
[all …]
/kernel/linux/linux-6.6/drivers/usb/typec/altmodes/
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) \
67 struct typec_altmode *alt; member
77 if (dp->data.conf) { in dp_altmode_notify()
78 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify()
84 return typec_altmode_notify(dp->alt, conf, &dp->data); in dp_altmode_notify()
97 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
98 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure()
103 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure()
[all …]
Dnvidia.c1 // SPDX-License-Identifier: GPL-2.0
5 * NVIDIA USB Type-C Alt Mode Driver
12 static int nvidia_altmode_probe(struct typec_altmode *alt) in nvidia_altmode_probe() argument
14 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) in nvidia_altmode_probe()
15 return dp_altmode_probe(alt); in nvidia_altmode_probe()
17 return -ENOTSUPP; in nvidia_altmode_probe()
20 static void nvidia_altmode_remove(struct typec_altmode *alt) in nvidia_altmode_remove() argument
22 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) in nvidia_altmode_remove()
23 dp_altmode_remove(alt); in nvidia_altmode_remove()
44 MODULE_DESCRIPTION("NVIDIA USB Type-C Alt Mode Driver");
/kernel/linux/linux-5.10/drivers/usb/typec/altmodes/
Ddisplayport.c1 // SPDX-License-Identifier: GPL-2.0
3 * USB Typec-C DisplayPort Alternate Mode driver
20 #define DP_HEADER(_dp, cmd) (VDO((_dp)->alt->svid, 1, cmd) | \
66 struct typec_altmode *alt; member
73 u8 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify()
75 return typec_altmode_notify(dp->alt, TYPEC_MODAL_STATE(state), in dp_altmode_notify()
76 &dp->data); in dp_altmode_notify()
89 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
90 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure()
95 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure()
[all …]
Dnvidia.c1 // SPDX-License-Identifier: GPL-2.0
5 * NVIDIA USB Type-C Alt Mode Driver
12 static int nvidia_altmode_probe(struct typec_altmode *alt) in nvidia_altmode_probe() argument
14 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) in nvidia_altmode_probe()
15 return dp_altmode_probe(alt); in nvidia_altmode_probe()
17 return -ENOTSUPP; in nvidia_altmode_probe()
20 static void nvidia_altmode_remove(struct typec_altmode *alt) in nvidia_altmode_remove() argument
22 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) in nvidia_altmode_remove()
23 dp_altmode_remove(alt); in nvidia_altmode_remove()
44 MODULE_DESCRIPTION("NVIDIA USB Type-C Alt Mode Driver");
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/
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()
56 mutex_lock(&dp->con->lock); in ucsi_displayport_enter()
58 if (!dp->override && dp->initialized) { in ucsi_displayport_enter()
[all …]
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
46 return ucsi->ops->sync_write(ucsi, UCSI_CONTROL, &ctrl, sizeof(ctrl)); in ucsi_acknowledge_command()
56 return ucsi->ops->sync_write(ucsi, UCSI_CONTROL, &ctrl, sizeof(ctrl)); in ucsi_acknowledge_connector_change()
75 ret = ucsi->ops->read(ucsi, UCSI_MESSAGE_IN, &error, sizeof(error)); in ucsi_read_error()
85 return -EOPNOTSUPP; in ucsi_read_error()
87 return -ECOMM; in ucsi_read_error()
89 return -EPROTO; in ucsi_read_error()
[all …]
Dtrace.h1 /* SPDX-License-Identifier: GPL-2.0 */
24 __entry->ctrl = command;
25 __entry->ret = ret;
27 TP_printk("%s -> %s (err=%d)", ucsi_cmd_str(__entry->ctrl),
28 __entry->ret < 0 ? "FAIL" : "OK",
29 __entry->ret < 0 ? __entry->ret : 0)
57 __entry->port = port - 1;
58 __entry->change = status->change;
59 __entry->opmode = UCSI_CONSTAT_PWR_OPMODE(status->flags);
60 __entry->connected = !!(status->flags & UCSI_CONSTAT_CONNECTED);
[all …]
/kernel/linux/linux-6.6/arch/arm64/kernel/
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 …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dalternative.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #define __ALT_PTR(a,f) ((void *)&(a)->f + (a)->f)
44 static __always_inline bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) in branch_insn_requires_update() argument
46 unsigned long replptr = (unsigned long)ALT_REPL_PTR(alt); in branch_insn_requires_update()
47 return !(pc >= replptr && pc <= (replptr + alt->alt_len)); in branch_insn_requires_update()
50 #define align_down(x, a) ((unsigned long)(x) & ~(((unsigned long)(a)) - 1))
52 static __always_inline u32 get_alt_insn(struct alt_instr *alt, __le32 *insnptr, __le32 *altinsnptr) in get_alt_insn() argument
69 if (branch_insn_requires_update(alt, target)) { in get_alt_insn()
70 offset = target - (unsigned long)insnptr; in get_alt_insn()
78 * If we're replacing an adrp instruction, which uses PC-relative in get_alt_insn()
[all …]
/kernel/linux/linux-6.6/sound/soc/sof/intel/
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 …]
/kernel/linux/linux-6.6/arch/riscv/errata/thead/
Derrata.c1 // SPDX-License-Identifier: GPL-2.0-only
62 /* target-c9xx cores report arch_id and impid as 0 */ in errata_probe_pmu()
93 struct alt_entry *alt; in thead_errata_patch_func() local
98 for (alt = begin; alt < end; alt++) { in thead_errata_patch_func()
99 if (alt->vendor_id != THEAD_VENDOR_ID) in thead_errata_patch_func()
101 if (alt->patch_id >= ERRATA_THEAD_NUMBER) in thead_errata_patch_func()
104 tmp = (1U << alt->patch_id); in thead_errata_patch_func()
106 oldptr = ALT_OLD_PTR(alt); in thead_errata_patch_func()
107 altptr = ALT_ALT_PTR(alt); in thead_errata_patch_func()
109 /* On vm-alternatives, the mmu isn't running yet */ in thead_errata_patch_func()
[all …]
/kernel/linux/linux-6.6/arch/riscv/errata/sifive/
Derrata.c1 // SPDX-License-Identifier: GPL-2.0-only
50 .name = "cip-453",
54 .name = "cip-1200",
76 pr_warn("----------------------------------------------------------------\n"); in warn_miss_errata()
82 pr_warn("----------------------------------------------------------------\n"); in warn_miss_errata()
89 struct alt_entry *alt; in sifive_errata_patch_func() local
99 for (alt = begin; alt < end; alt++) { in sifive_errata_patch_func()
100 if (alt->vendor_id != SIFIVE_VENDOR_ID) in sifive_errata_patch_func()
102 if (alt->patch_id >= ERRATA_SIFIVE_NUMBER) { in sifive_errata_patch_func()
103 WARN(1, "This errata id:%d is not in kernel errata list", alt->patch_id); in sifive_errata_patch_func()
[all …]
/kernel/linux/linux-6.6/drivers/usb/typec/
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 …]
/kernel/linux/linux-6.6/Documentation/networking/
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 …]
/kernel/linux/linux-5.10/Documentation/networking/
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 …]
/kernel/linux/linux-5.10/drivers/usb/typec/
Dclass.c1 // SPDX-License-Identifier: GPL-2.0
3 * USB Type-C Connector Class
68 #define is_typec_partner(_dev_) (_dev_->type == &typec_partner_dev_type)
69 #define is_typec_cable(_dev_) (_dev_->type == &typec_cable_dev_type)
70 #define is_typec_plug(_dev_) (_dev_->type == &typec_plug_dev_type)
75 /* ------------------------------------------------------------------------- */
89 return partner->identity; in get_pd_identity()
93 return cable->identity; in get_pd_identity()
103 return sprintf(buf, "0x%08x\n", id->id_header); in id_header_show()
112 return sprintf(buf, "0x%08x\n", id->cert_stat); in cert_stat_show()
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
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 …]
/kernel/linux/linux-6.6/arch/x86/include/asm/
Dparavirt_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
20 #include <asm/nospec-branch.h>
35 * Wrapper type for pointers to code which uses the non-standard
109 * read sets err to 0 or -EIO. write returns 0 or -EIO.
163 /* Hooks for allocating and freeing a pagetable top-level */
269 " .byte 772b-771b\n" \
313 * on the stack. All caller-save registers (eax,edx,ecx) are expected
315 * X86_64, on the other hand, already specifies a register-based calling
320 * unfortunately, are quite a bit (r8 - r11)
334 * There are 5 sets of PVOP_* macros for dealing with 0-4 arguments.
[all …]

12345678910>>...38