Home
last modified time | relevance | path

Searched full:alt (Results 1 – 25 of 800) sorted by relevance

12345678910>>...32

/kernel/linux/linux-4.19/drivers/tty/vt/
Ddefkeymap.map11 # be saved by mapping AltGr to Alt (and adapting a few entries):
12 # keycode 100 = Alt
15 alt keycode 1 = Meta_Escape
17 alt keycode 2 = Meta_one
21 alt keycode 3 = Meta_two
24 alt keycode 4 = Meta_three
27 alt keycode 5 = Meta_four
30 alt keycode 6 = Meta_five
33 alt keycode 7 = Meta_six
36 alt keycode 8 = Meta_seven
[all …]
/kernel/linux/linux-5.10/drivers/tty/vt/
Ddefkeymap.map12 # 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
31 alt keycode 6 = Meta_five
34 alt keycode 7 = Meta_six
37 alt keycode 8 = Meta_seven
[all …]
/kernel/linux/linux-5.10/tools/objtool/
Dspecial.c54 void __weak arch_handle_alternative(unsigned short feature, struct special_alt *alt) in arch_handle_alternative() argument
67 struct special_alt *alt) in get_alt_entry() argument
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()
80 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
89 arch_handle_alternative(feature, alt); in get_alt_entry()
98 reloc_to_sec_off(orig_reloc, &alt->orig_sec, &alt->orig_off); in get_alt_entry()
100 if (!entry->group || alt->new_len) { in get_alt_entry()
[all …]
/kernel/linux/linux-5.10/drivers/usb/typec/altmodes/
Ddisplayport.c18 #define DP_HEADER(_dp, cmd) (VDO((_dp)->alt->svid, 1, cmd) | \
63 struct typec_altmode *alt; member
71 return typec_altmode_notify(dp->alt, TYPEC_MODAL_STATE(state), in dp_altmode_notify()
85 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
91 pin_assign = DP_CAP_DFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
142 sysfs_notify(&dp->alt->dev.kobj, "displayport", "configuration"); in dp_altmode_configured()
145 return typec_altmode_notify(dp->alt, TYPEC_STATE_USB, in dp_altmode_configured()
152 sysfs_notify(&dp->alt->dev.kobj, "displayport", "pin_assignment"); in dp_altmode_configured()
162 ret = typec_altmode_notify(dp->alt, TYPEC_STATE_SAFE, &dp->data); in dp_altmode_configure_vdm()
164 dev_err(&dp->alt->dev, in dp_altmode_configure_vdm()
[all …]
Dnvidia.c5 * 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()
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-4.19/drivers/usb/typec/altmodes/
Ddisplayport.c66 struct typec_altmode *alt; member
74 return typec_altmode_notify(dp->alt, TYPEC_MODAL_STATE(state), in dp_altmode_notify()
88 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
94 pin_assign = DP_CAP_DFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
145 sysfs_notify(&dp->alt->dev.kobj, "displayport", "configuration"); in dp_altmode_configured()
148 return typec_altmode_notify(dp->alt, TYPEC_STATE_USB, in dp_altmode_configured()
155 sysfs_notify(&dp->alt->dev.kobj, "displayport", "pin_assignment"); in dp_altmode_configured()
165 ret = typec_altmode_notify(dp->alt, TYPEC_STATE_SAFE, &dp->data); in dp_altmode_configure_vdm()
167 dev_err(&dp->alt->dev, in dp_altmode_configure_vdm()
172 ret = typec_altmode_vdm(dp->alt, header, &conf, 2); in dp_altmode_configure_vdm()
[all …]
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/
Ddisplayport.c21 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
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()
59 const struct typec_altmode *p = typec_altmode_get_partner(alt); in ucsi_displayport_enter()
76 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter()
83 * mode, and letting the alt mode driver continue. in ucsi_displayport_enter()
101 static int ucsi_displayport_exit(struct typec_altmode *alt) in ucsi_displayport_exit() argument
103 struct ucsi_dp *dp = typec_altmode_get_drvdata(alt); in ucsi_displayport_exit()
[all …]
Ducsi.c219 static int ucsi_altmode_next_mode(struct typec_altmode **alt, u16 svid) in ucsi_altmode_next_mode() argument
224 for (i = 0; alt[i]; i++) { in ucsi_altmode_next_mode()
228 if (alt[i]->svid == svid) in ucsi_altmode_next_mode()
235 static int ucsi_next_altmode(struct typec_altmode **alt) in ucsi_next_altmode() argument
240 if (!alt[i]) in ucsi_next_altmode()
250 struct typec_altmode *alt; in ucsi_register_altmode() local
273 alt = ucsi_register_displayport(con, override, i, desc); in ucsi_register_altmode()
277 alt = typec_port_register_altmode(con->port, in ucsi_register_altmode()
280 alt = ucsi_register_displayport(con, override, in ucsi_register_altmode()
284 alt = typec_port_register_altmode(con->port, desc); in ucsi_register_altmode()
[all …]
Dtrace.h86 TP_PROTO(u8 recipient, struct typec_altmode *alt),
87 TP_ARGS(recipient, alt),
96 __entry->svid = alt->svid;
97 __entry->mode = alt->mode;
98 __entry->vdo = alt->vdo;
100 TP_printk("%s alt mode: svid %04x, mode %d vdo %x",
106 TP_PROTO(u8 recipient, struct typec_altmode *alt),
107 TP_ARGS(recipient, alt)
/kernel/linux/linux-4.19/tools/objtool/
Dspecial.c83 struct special_alt *alt) in get_alt_entry() argument
90 alt->group = entry->group; in get_alt_entry()
91 alt->jump_or_nop = entry->jump_or_nop; in get_alt_entry()
93 if (alt->group) { in get_alt_entry()
94 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
96 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
112 alt->skip_orig = true; in get_alt_entry()
126 alt->orig_sec = orig_rela->sym->sec; in get_alt_entry()
127 alt->orig_off = orig_rela->addend; in get_alt_entry()
129 if (!entry->group || alt->new_len) { in get_alt_entry()
[all …]
/kernel/linux/linux-4.19/arch/arm64/kernel/
Dalternative.c45 static bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) in branch_insn_requires_update() argument
47 unsigned long replptr = (unsigned long)ALT_REPL_PTR(alt); in branch_insn_requires_update()
48 return !(pc >= replptr && pc <= (replptr + alt->alt_len)); in branch_insn_requires_update()
53 static u32 get_alt_insn(struct alt_instr *alt, __le32 *insnptr, __le32 *altinsnptr) in get_alt_insn() argument
70 if (branch_insn_requires_update(alt, target)) { in get_alt_insn()
98 static void patch_alternative(struct alt_instr *alt, in patch_alternative() argument
104 replptr = ALT_REPL_PTR(alt); in patch_alternative()
108 insn = get_alt_insn(alt, origptr + i, replptr + i); in patch_alternative()
138 struct alt_instr *alt; in __apply_alternatives() local
143 for (alt = region->begin; alt < region->end; alt++) { in __apply_alternatives()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dalternative.c44 static 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()
52 static 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()
97 static void patch_alternative(struct alt_instr *alt, in patch_alternative() argument
103 replptr = ALT_REPL_PTR(alt); in patch_alternative()
107 insn = get_alt_insn(alt, origptr + i, replptr + i); in patch_alternative()
138 struct alt_instr *alt; in __apply_alternatives() local
143 for (alt = region->begin; alt < region->end; alt++) { in __apply_alternatives()
[all …]
/kernel/linux/linux-4.19/drivers/usb/typec/
Dclass.c173 /* Bind the port alt mode to the partner/plug alt mode. */ in typec_altmode_set_partner()
177 /* Bind the partner/plug alt mode to the port alt mode. */ in typec_altmode_set_partner()
297 * @alt: The Alternate Mode
299 * Returns handle to the port that a cable plug or partner with @alt is
302 struct typec_port *typec_altmode2port(struct typec_altmode *alt) in typec_altmode2port() argument
304 if (is_typec_plug(alt->dev.parent)) in typec_altmode2port()
305 return to_typec_port(alt->dev.parent->parent->parent); in typec_altmode2port()
306 if (is_typec_partner(alt->dev.parent)) in typec_altmode2port()
307 return to_typec_port(alt->dev.parent->parent); in typec_altmode2port()
308 if (is_typec_port(alt->dev.parent)) in typec_altmode2port()
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Dmac80211-auth-assoc-deauth.txt13 alt authentication needed (not FT)
16 alt authenticated/authenticating already
30 alt no probe request data known
38 alt WEP shared key auth
49 alt authenticated or associated
53 alt not previously authenticated (FT)
64 alt not using WPA
75 alt using WPA
/kernel/linux/linux-4.19/Documentation/networking/
Dmac80211-auth-assoc-deauth.txt13 alt authentication needed (not FT)
16 alt authenticated/authenticating already
30 alt no probe request data known
38 alt WEP shared key auth
49 alt authenticated or associated
53 alt not previously authenticated (FT)
64 alt not using WPA
75 alt using WPA
/kernel/linux/linux-5.10/drivers/usb/storage/
Duas-detect.h19 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()
32 unsigned i, n_endpoints = alt->desc.bNumEndpoints; in uas_find_endpoints()
63 struct usb_host_interface *alt; in uas_use_uas_driver() local
66 alt = uas_find_uas_alt_setting(intf); in uas_use_uas_driver()
67 if (!alt) in uas_use_uas_driver()
70 r = uas_find_endpoints(alt, eps); in uas_use_uas_driver()
/kernel/linux/linux-4.19/drivers/usb/storage/
Duas-detect.h19 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()
32 unsigned i, n_endpoints = alt->desc.bNumEndpoints; in uas_find_endpoints()
63 struct usb_host_interface *alt; in uas_use_uas_driver() local
66 alt = uas_find_uas_alt_setting(intf); in uas_use_uas_driver()
67 if (!alt) in uas_use_uas_driver()
70 r = uas_find_endpoints(alt, eps); in uas_use_uas_driver()
/kernel/linux/linux-5.10/drivers/usb/typec/
Dclass.c175 /* Bind the port alt mode to the partner/plug alt mode. */ in typec_altmode_set_partner()
179 /* Bind the partner/plug alt mode to the port alt mode. */ in typec_altmode_set_partner()
241 * @alt: The Alternate Mode
243 * Returns handle to the port that a cable plug or partner with @alt is
246 struct typec_port *typec_altmode2port(struct typec_altmode *alt) in typec_altmode2port() argument
248 if (is_typec_plug(alt->dev.parent)) in typec_altmode2port()
249 return to_typec_port(alt->dev.parent->parent->parent); in typec_altmode2port()
250 if (is_typec_partner(alt->dev.parent)) in typec_altmode2port()
251 return to_typec_port(alt->dev.parent->parent); in typec_altmode2port()
252 if (is_typec_port(alt->dev.parent)) in typec_altmode2port()
[all …]
/kernel/linux/linux-4.19/arch/m68k/hp300/
Dhp300map.map11 # 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
137 alt keycode 108 = Meta_apostrophe
/kernel/linux/linux-5.10/arch/m68k/hp300/
Dhp300map.map11 # 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
137 alt keycode 108 = Meta_apostrophe
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dpower6-pmu.c344 unsigned int alt; in find_alternatives_list() local
350 alt = event_alternatives[i][j]; in find_alternatives_list()
351 if (!alt || event < alt) in find_alternatives_list()
353 if (event == alt) in find_alternatives_list()
360 static int p6_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in p6_get_alternatives() argument
367 alt[0] = event; in p6_get_alternatives()
379 alt[nalt++] = aevent; in p6_get_alternatives()
389 alt[nalt++] = ((event ^ 0x6) & ~PM_PMC_MSKS) | in p6_get_alternatives()
394 alt[nalt++] = ((event ^ 0x2) & ~PM_PMC_MSKS) | in p6_get_alternatives()
411 switch (alt[i]) { in p6_get_alternatives()
[all …]
/kernel/linux/linux-4.19/arch/powerpc/perf/
Dpower6-pmu.c346 unsigned int alt; in find_alternatives_list() local
352 alt = event_alternatives[i][j]; in find_alternatives_list()
353 if (!alt || event < alt) in find_alternatives_list()
355 if (event == alt) in find_alternatives_list()
362 static int p6_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in p6_get_alternatives() argument
369 alt[0] = event; in p6_get_alternatives()
381 alt[nalt++] = aevent; in p6_get_alternatives()
391 alt[nalt++] = ((event ^ 0x6) & ~PM_PMC_MSKS) | in p6_get_alternatives()
396 alt[nalt++] = ((event ^ 0x2) & ~PM_PMC_MSKS) | in p6_get_alternatives()
413 switch (alt[i]) { in p6_get_alternatives()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dantenna.c43 * bb_ant_div_[alt/main]_gaintb - 0 -> Antenna config Alt/Main uses gaintable 0
44 * 1 -> Antenna config Alt/Main uses gaintable 1
50 * bb_ant_div_[alt/main]_lnaconf - Alt/Main LNA diversity/combining input config.
196 /* set alt to the conf with maximun ratio */ in ath_ant_set_alt_ratio()
199 /* first alt*/ in ath_ant_set_alt_ratio()
202 /* Set alt LNA1 or LNA2*/ in ath_ant_set_alt_ratio()
208 /* Set alt to A+B or A-B */ in ath_ant_set_alt_ratio()
213 /* Set alt LNA1 or LNA2 */ in ath_ant_set_alt_ratio()
219 /* Set alt to A+B or A-B */ in ath_ant_set_alt_ratio()
223 /* first alt */ in ath_ant_set_alt_ratio()
[all …]
/kernel/linux/linux-4.19/drivers/net/wireless/ath/ath9k/
Dantenna.c43 * bb_ant_div_[alt/main]_gaintb - 0 -> Antenna config Alt/Main uses gaintable 0
44 * 1 -> Antenna config Alt/Main uses gaintable 1
50 * bb_ant_div_[alt/main]_lnaconf - Alt/Main LNA diversity/combining input config.
196 /* set alt to the conf with maximun ratio */ in ath_ant_set_alt_ratio()
199 /* first alt*/ in ath_ant_set_alt_ratio()
202 /* Set alt LNA1 or LNA2*/ in ath_ant_set_alt_ratio()
208 /* Set alt to A+B or A-B */ in ath_ant_set_alt_ratio()
213 /* Set alt LNA1 or LNA2 */ in ath_ant_set_alt_ratio()
219 /* Set alt to A+B or A-B */ in ath_ant_set_alt_ratio()
223 /* first alt */ in ath_ant_set_alt_ratio()
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/blockdev/drbd/
Dfigures.rst9 :alt: DRBD-8.3-data-packets.svg
13 :alt: DRBD-data-packets.svg
21 :alt: conn-states-8.dot
25 :alt: disk-states-8.dot
29 :alt: node-states-8.dot

12345678910>>...32