Home
last modified time | relevance | path

Searched refs:alt (Results 1 – 25 of 229) sorted by relevance

12345678910

/linux/drivers/tty/vt/
H A Ddefkeymap.map16 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
40 alt keycode 9 = Meta_eight
42 alt keycode 10 = Meta_nine
[all …]
/linux/arch/arm64/kernel/
H A Dalternative.c51 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()
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()
104 static noinstr void patch_alternative(struct alt_instr *alt, in patch_alternative() argument
110 replptr = ALT_REPL_PTR(alt); in patch_alternative()
114 insn = get_alt_insn(alt, origptr + i, replptr + i); in patch_alternative()
146 struct alt_instr *alt; in __apply_alternatives() local
150 for (alt = region->begin; alt < region->end; alt++) { in __apply_alternatives()
[all …]
/linux/drivers/usb/typec/ucsi/
H A Ddisplayport.c21 struct typec_altmode *alt; member
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()
61 const struct typec_altmode *p = typec_altmode_get_partner(alt); in ucsi_displayport_enter()
78 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter()
88 svdm_version = typec_altmode_get_svdm_version(alt); in ucsi_displayport_enter()
109 static int ucsi_displayport_exit(struct typec_altmode *alt) in ucsi_displayport_exit() argument
111 struct ucsi_dp *dp = typec_altmode_get_drvdata(alt); in ucsi_displayport_exit()
120 const struct typec_altmode *p = typec_altmode_get_partner(alt); in ucsi_displayport_exit()
133 svdm_version = typec_altmode_get_svdm_version(alt); in ucsi_displayport_exit()
[all …]
H A Ducsi_ccg.c402 struct ucsi_ccg_altmode *alt, *new_alt; in ucsi_ccg_update_altmodes() local
409 alt = uc->orig; in ucsi_ccg_update_altmodes()
419 alt[i].svid = orig[i].svid; in ucsi_ccg_update_altmodes()
420 alt[i].mid = orig[i].mid; in ucsi_ccg_update_altmodes()
421 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
426 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
430 if (alt[i].checked) in ucsi_ccg_update_altmodes()
433 if (!DP_CONF_GET_PIN_ASSIGN(alt[i].mid)) { in ucsi_ccg_update_altmodes()
435 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes()
436 new_alt[k].mid |= alt[i].mid; in ucsi_ccg_update_altmodes()
[all …]
H A Dtrace.h85 TP_PROTO(u8 recipient, struct typec_altmode *alt),
86 TP_ARGS(recipient, alt),
95 __entry->svid = alt->svid;
96 __entry->mode = alt->mode;
97 __entry->vdo = alt->vdo;
105 TP_PROTO(u8 recipient, struct typec_altmode *alt),
106 TP_ARGS(recipient, alt)
H A Ducsi.c340 static int ucsi_altmode_next_mode(struct typec_altmode **alt, u16 svid) in ucsi_altmode_next_mode() argument
345 for (i = 0; alt[i]; i++) { in ucsi_altmode_next_mode()
349 if (alt[i]->svid == svid) in ucsi_altmode_next_mode()
356 static int ucsi_next_altmode(struct typec_altmode **alt) in ucsi_next_altmode() argument
361 if (!alt[i]) in ucsi_next_altmode()
367 static int ucsi_get_num_altmode(struct typec_altmode **alt) in ucsi_get_num_altmode() argument
372 if (!alt[i]) in ucsi_get_num_altmode()
382 struct typec_altmode *alt; in ucsi_register_altmode() local
405 alt = ucsi_register_displayport(con, override, i, desc); in ucsi_register_altmode()
409 alt = typec_port_register_altmode(con->port, in ucsi_register_altmode()
[all …]
/linux/drivers/usb/typec/altmodes/
H A Ddisplayport.c20 #define DP_HEADER(_dp, ver, cmd) (VDO((_dp)->alt->svid, 1, ver, cmd) \
78 struct typec_altmode *alt; member
96 return typec_altmode_notify(dp->alt, conf, &dp->data); in dp_altmode_notify()
112 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
121 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure()
189 sysfs_notify(&dp->alt->dev.kobj, "displayport", "hpd"); in dp_altmode_status_update()
192 sysfs_notify(&dp->alt->dev.kobj, "displayport", "irq_hpd"); in dp_altmode_status_update()
201 sysfs_notify(&dp->alt->dev.kobj, "displayport", "configuration"); in dp_altmode_configured()
202 sysfs_notify(&dp->alt->dev.kobj, "displayport", "pin_assignment"); in dp_altmode_configured()
211 sysfs_notify(&dp->alt->dev.kobj, "displayport", "hpd"); in dp_altmode_configured()
[all …]
H A Ddisplayport.h3 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/riscv/errata/mips/
H A Derrata.c40 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/powerpc/perf/
H A Dpower6-pmu.c360 unsigned int alt = presorted_event_table[mid]; in find_alternatives_list() local
362 if (alt < event) in find_alternatives_list()
364 else if (alt > event) in find_alternatives_list()
373 static int p6_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in p6_get_alternatives() argument
380 alt[0] = event; in p6_get_alternatives()
392 alt[nalt++] = aevent; in p6_get_alternatives()
402 alt[nalt++] = ((event ^ 0x6) & ~PM_PMC_MSKS) | in p6_get_alternatives()
407 alt[nalt++] = ((event ^ 0x2) & ~PM_PMC_MSKS) | in p6_get_alternatives()
424 switch (alt[i]) { in p6_get_alternatives()
426 alt[j++] = 0x600005; /* PM_RUN_CYC */ in p6_get_alternatives()
[all …]
H A Dpower5+-pmu.c274 static int power5p_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in power5p_get_alternatives() argument
280 alt[0] = event; in power5p_get_alternatives()
288 alt[nalt++] = ae; in power5p_get_alternatives()
294 alt[nalt++] = ae; in power5p_get_alternatives()
310 switch (alt[i]) { in power5p_get_alternatives()
312 alt[j++] = 0x600005; /* PM_RUN_CYC */ in power5p_get_alternatives()
316 alt[j++] = 0xf; in power5p_get_alternatives()
319 alt[j++] = 0x500009; /* PM_RUN_INST_CMPL */ in power5p_get_alternatives()
323 alt[j++] = 0x100009; /* PM_INST_CMPL */ in power5p_get_alternatives()
324 alt[j++] = 0x200009; in power5p_get_alternatives()
[all …]
/linux/arch/x86/include/asm/
H A Dparavirt_types.h407 #define ____PVOP_ALT_CALL(ret, op, alt, cond, call_clbr, \ argument
414 alt, cond) \
426 #define __PVOP_ALT_CALL(rettype, op, alt, cond, ...) \ argument
427 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op, alt, cond, \
435 #define __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond, ...) \ argument
436 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op.func, alt, cond, \
444 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \ argument
445 (void)____PVOP_ALT_CALL(, op, alt, cond, \
453 #define __PVOP_ALT_VCALLEESAVE(op, alt, cond, ...) \ argument
454 (void)____PVOP_ALT_CALL(, op.func, alt, cond, \
[all …]
/linux/arch/riscv/errata/thead/
H A Derrata.c193 struct alt_entry *alt; in thead_errata_patch_func() local
200 for (alt = begin; alt < end; alt++) { in thead_errata_patch_func()
201 if (alt->vendor_id != THEAD_VENDOR_ID) in thead_errata_patch_func()
203 if (alt->patch_id >= ERRATA_THEAD_NUMBER) in thead_errata_patch_func()
206 tmp = (1U << alt->patch_id); in thead_errata_patch_func()
208 oldptr = ALT_OLD_PTR(alt); in thead_errata_patch_func()
209 altptr = ALT_ALT_PTR(alt); in thead_errata_patch_func()
213 memcpy(oldptr, altptr, alt->alt_len); in thead_errata_patch_func()
216 patch_text_nosync(oldptr, altptr, alt->alt_len); in thead_errata_patch_func()
/linux/drivers/usb/typec/
H A Dbus.c17 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()
48 typec_altmode_set_switches(struct altmode *alt, unsigned long conf, void *data) in typec_altmode_set_switches() argument
52 ret = typec_altmode_set_retimer(alt, conf, data); in typec_altmode_set_switches()
[all …]
H A Dclass.c329 struct typec_port *typec_altmode2port(struct typec_altmode *alt) in typec_altmode2port() argument
331 if (is_typec_plug(alt->dev.parent)) in typec_altmode2port()
332 return to_typec_port(alt->dev.parent->parent->parent); in typec_altmode2port()
333 if (is_typec_partner(alt->dev.parent)) in typec_altmode2port()
334 return to_typec_port(alt->dev.parent->parent); in typec_altmode2port()
335 if (is_typec_port(alt->dev.parent)) in typec_altmode2port()
336 return to_typec_port(alt->dev.parent); in typec_altmode2port()
345 struct typec_altmode *alt = to_typec_altmode(dev); in vdo_show() local
347 return sprintf(buf, "0x%08x\n", alt->vdo); in vdo_show()
354 struct typec_altmode *alt = to_typec_altmode(dev); in description_show() local
[all …]
/linux/drivers/usb/storage/
H A 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()
/linux/tools/objtool/arch/x86/
H A Dspecial.c12 void arch_handle_alternative(struct special_alt *alt) in arch_handle_alternative()
19 if (group && group->orig_sec == alt->orig_sec && in arch_handle_alternative()
20 group->orig_off == alt->orig_off) { in arch_handle_alternative()
24 unsigned int len = max(iter->orig_len, alt->orig_len); in arch_handle_alternative()
25 iter->orig_len = alt->orig_len = len; in arch_handle_alternative()
33 } else group = alt;
35 prev = alt; in arch_support_alt_relocation()
8 arch_handle_alternative(struct special_alt * alt) arch_handle_alternative() argument
/linux/arch/arm64/include/asm/
H A Dspectre.h106 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,
118 void spectre_bhb_patch_clearbhb(struct alt_instr *alt,
/linux/arch/arm/boot/dts/aspeed/
H A Dopenbmc-flash-layout-64-alt.dtsi13 label = "alt-u-boot";
18 label = "alt-u-boot-env";
23 label = "alt-kernel";
28 label = "alt-rofs";
33 label = "alt-rwfs";
/linux/Documentation/admin-guide/blockdev/drbd/
H A 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: peer-states-8.dot
/linux/Documentation/networking/
H A 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
/linux/drivers/usb/core/
H A Dmessage.c1245 struct usb_host_interface *alt = intf->cur_altsetting; in create_intf_ep_devs() local
1251 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in create_intf_ep_devs()
1252 (void) usb_create_ep_devs(&intf->dev, &alt->endpoint[i], udev); in create_intf_ep_devs()
1259 struct usb_host_interface *alt = intf->cur_altsetting; in remove_intf_ep_devs() local
1265 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in remove_intf_ep_devs()
1266 usb_remove_ep_devs(&alt->endpoint[i]); in remove_intf_ep_devs()
1344 struct usb_host_interface *alt = intf->cur_altsetting; in usb_disable_interface() local
1347 for (i = 0; i < alt->desc.bNumEndpoints; ++i) { in usb_disable_interface()
1349 alt->endpoint[i].desc.bEndpointAddress, in usb_disable_interface()
1480 struct usb_host_interface *alt = intf->cur_altsetting; in usb_enable_interface() local
[all …]
/linux/drivers/input/misc/
H A Dati_remote2.c768 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_probe() local
772 if (alt->desc.bInterfaceNumber) in ati_remote2_probe()
782 if (alt->desc.bNumEndpoints < 1 || !alt->endpoint) { in ati_remote2_probe()
789 ar2->ep[0] = &alt->endpoint[0].desc; in ati_remote2_probe()
805 alt = ar2->intf[1]->cur_altsetting; in ati_remote2_probe()
806 if (alt->desc.bNumEndpoints < 1 || !alt->endpoint) { in ati_remote2_probe()
812 ar2->ep[1] = &alt->endpoint[0].desc; in ati_remote2_probe()
853 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_disconnect() local
855 if (alt->desc.bInterfaceNumber) in ati_remote2_disconnect()
874 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_suspend() local
[all …]
/linux/drivers/infiniband/core/
H A Dsecurity.c135 if (pps->alt.state != IB_PORT_PKEY_NOT_VALID) { in check_qp_port_pkey_settings()
136 ret = get_pkey_and_subnet_prefix(&pps->alt, in check_qp_port_pkey_settings()
358 new_pps->alt.port_num = qp_attr->alt_port_num; in get_new_pps()
359 new_pps->alt.pkey_index = qp_attr->alt_pkey_index; in get_new_pps()
360 new_pps->alt.state = IB_PORT_PKEY_VALID; in get_new_pps()
362 new_pps->alt.port_num = qp_pps->alt.port_num; in get_new_pps()
363 new_pps->alt.pkey_index = qp_pps->alt.pkey_index; in get_new_pps()
364 if (qp_pps->alt.state != IB_PORT_PKEY_NOT_VALID) in get_new_pps()
365 new_pps->alt.state = IB_PORT_PKEY_VALID; in get_new_pps()
369 new_pps->alt.sec = qp->qp_sec; in get_new_pps()
[all …]
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-core.c37 static int alt = CX231XX_PINOUT; variable
38 module_param(alt, int, 0644);
39 MODULE_PARM_DESC(alt, "alternate setting to use for video endpoint");
456 int errCode, prev_alt = dev->video_mode.alt; in cx231xx_set_video_alternate()
469 dev->video_mode.alt = 3; in cx231xx_set_video_alternate()
472 dev->video_mode.alt = 2; in cx231xx_set_video_alternate()
475 dev->video_mode.alt = 1; in cx231xx_set_video_alternate()
478 dev->video_mode.alt = 0; in cx231xx_set_video_alternate()
482 dev->video_mode.alt = 0; in cx231xx_set_video_alternate()
484 cx231xx_coredbg("dev->video_mode.alt= %d\n", dev->video_mode.alt); in cx231xx_set_video_alternate()
[all …]

12345678910