Home
last modified time | relevance | path

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

12345678910>>...17

/openbmc/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 …]
/openbmc/linux/include/sound/
H A Dhda-mlink.h17 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);
36 int hdac_bus_eml_power_up(struct hdac_bus *bus, bool alt, int elid, int sublink);
37 int hdac_bus_eml_power_up_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink);
[all …]
/openbmc/linux/tools/objtool/
H A Dspecial.c57 void __weak arch_handle_alternative(unsigned short feature, struct special_alt *alt) in arch_handle_alternative() argument
70 struct special_alt *alt) in get_alt_entry() argument
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()
83 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
94 arch_handle_alternative(feature, alt); in get_alt_entry()
103 reloc_to_sec_off(orig_reloc, &alt->orig_sec, &alt->orig_off); in get_alt_entry()
105 if (!entry->group || alt->new_len) { in get_alt_entry()
[all …]
/openbmc/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 …]
/openbmc/linux/drivers/usb/typec/altmodes/
H A Ddisplayport.c20 #define DP_HEADER(_dp, ver, cmd) (VDO((_dp)->alt->svid, 1, ver, cmd) \
67 struct typec_altmode *alt; member
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()
103 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure()
159 sysfs_notify(&dp->alt->dev.kobj, "displayport", "hpd"); in dp_altmode_status_update()
168 sysfs_notify(&dp->alt->dev.kobj, "displayport", "configuration"); in dp_altmode_configured()
169 sysfs_notify(&dp->alt->dev.kobj, "displayport", "pin_assignment"); in dp_altmode_configured()
177 sysfs_notify(&dp->alt->dev.kobj, "displayport", "hpd"); in dp_altmode_configured()
186 int svdm_version = typec_altmode_get_svdm_version(dp->alt); in dp_altmode_configure_vdm()
[all …]
H A Dnvidia.c12 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()
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
/openbmc/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()
60 const struct typec_altmode *p = typec_altmode_get_partner(alt); in ucsi_displayport_enter()
77 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter()
87 svdm_version = typec_altmode_get_svdm_version(alt); in ucsi_displayport_enter()
108 static int ucsi_displayport_exit(struct typec_altmode *alt) in ucsi_displayport_exit() argument
110 struct ucsi_dp *dp = typec_altmode_get_drvdata(alt); in ucsi_displayport_exit()
118 const struct typec_altmode *p = typec_altmode_get_partner(alt); in ucsi_displayport_exit()
131 svdm_version = typec_altmode_get_svdm_version(alt); in ucsi_displayport_exit()
[all …]
H A Ducsi_ccg.c361 struct ucsi_ccg_altmode *alt, *new_alt; in ucsi_ccg_update_altmodes() local
365 alt = uc->orig; in ucsi_ccg_update_altmodes()
375 alt[i].svid = orig[i].svid; in ucsi_ccg_update_altmodes()
376 alt[i].mid = orig[i].mid; in ucsi_ccg_update_altmodes()
377 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
382 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
386 if (alt[i].checked) in ucsi_ccg_update_altmodes()
389 if (!DP_CONF_GET_PIN_ASSIGN(alt[i].mid)) { in ucsi_ccg_update_altmodes()
391 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes()
392 new_alt[k].mid |= alt[i].mid; in ucsi_ccg_update_altmodes()
[all …]
/openbmc/linux/arch/riscv/errata/thead/
H A Derrata.c93 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()
111 memcpy(oldptr, altptr, alt->alt_len); in thead_errata_patch_func()
114 patch_text_nosync(oldptr, altptr, alt->alt_len); in thead_errata_patch_func()
/openbmc/linux/arch/riscv/errata/sifive/
H A Derrata.c89 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()
107 tmp = (1U << alt->patch_id); in sifive_errata_patch_func()
110 patch_text_nosync(ALT_OLD_PTR(alt), ALT_ALT_PTR(alt), in sifive_errata_patch_func()
111 alt->alt_len); in sifive_errata_patch_func()
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-mlink.c50 bool alt; member
107 h2link->alt = FIELD_GET(AZX_ML_HDA_LCAP_ALT, hlink->lcaps); in hdaml_lnk_enum()
110 if (!h2link->alt) { in hdaml_lnk_enum()
409 if (!h2link->alt) in hda_ml_alloc_h2link()
458 find_ext2_link(struct hdac_bus *bus, bool alt, int elid) in find_ext2_link() argument
465 if (h2link->alt == alt && h2link->elid == elid) in find_ext2_link()
472 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_get_count() argument
476 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_get_count()
484 void hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable) in hdac_bus_eml_enable_interrupt() argument
489 h2link = find_ext2_link(bus, alt, elid); in hdac_bus_eml_enable_interrupt()
[all …]
/openbmc/linux/arch/powerpc/perf/
H A Dpower6-pmu.c345 unsigned int alt; in find_alternatives_list() local
351 alt = event_alternatives[i][j]; in find_alternatives_list()
352 if (!alt || event < alt) in find_alternatives_list()
354 if (event == alt) in find_alternatives_list()
361 static int p6_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in p6_get_alternatives() argument
368 alt[0] = event; in p6_get_alternatives()
380 alt[nalt++] = aevent; in p6_get_alternatives()
390 alt[nalt++] = ((event ^ 0x6) & ~PM_PMC_MSKS) | in p6_get_alternatives()
395 alt[nalt++] = ((event ^ 0x2) & ~PM_PMC_MSKS) | in p6_get_alternatives()
412 switch (alt[i]) { 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 …]
/openbmc/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.c320 struct typec_port *typec_altmode2port(struct typec_altmode *alt) in typec_altmode2port() argument
322 if (is_typec_plug(alt->dev.parent)) in typec_altmode2port()
323 return to_typec_port(alt->dev.parent->parent->parent); in typec_altmode2port()
324 if (is_typec_partner(alt->dev.parent)) in typec_altmode2port()
325 return to_typec_port(alt->dev.parent->parent); in typec_altmode2port()
326 if (is_typec_port(alt->dev.parent)) in typec_altmode2port()
327 return to_typec_port(alt->dev.parent); in typec_altmode2port()
336 struct typec_altmode *alt = to_typec_altmode(dev); in vdo_show() local
338 return sprintf(buf, "0x%08x\n", alt->vdo); in vdo_show()
345 struct typec_altmode *alt = to_typec_altmode(dev); in description_show() local
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Dparavirt_types.h439 #define ____PVOP_ALT_CALL(ret, op, alt, cond, call_clbr, \ argument
445 alt, cond) \
457 #define __PVOP_ALT_CALL(rettype, op, alt, cond, ...) \ argument
458 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op, alt, cond, \
466 #define __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond, ...) \ argument
467 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op.func, alt, cond, \
475 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \ argument
476 (void)____PVOP_ALT_CALL(, op, alt, cond, \
484 #define __PVOP_ALT_VCALLEESAVE(op, alt, cond, ...) \ argument
485 (void)____PVOP_ALT_CALL(, op.func, alt, cond, \
[all …]
/openbmc/phosphor-bmc-code-mgmt/static/
H A Dobmc-flash-bmc-alt@.service.in2 Description=Flash image-bmc to the alt chip and reset cs0
8 ExecStartPre=-/usr/bin/obmc-flash-bmc umount-static-altfs rofs-alt
9 ExecStartPre=-/usr/bin/obmc-flash-bmc umount-static-altfs rwfs-alt
10 ExecStart=/usr/sbin/flashcp /tmp/images/%i/image-bmc /dev/mtd/alt-bmc
11 ExecStartPost=-/usr/bin/obmc-flash-bmc static-altfs squashfs alt-rofs rofs-alt
12 ExecStartPost=-/usr/bin/obmc-flash-bmc static-altfs jffs2 alt-rwfs rwfs-alt
/openbmc/qemu/tests/unit/
H A Dtest-clone-visitor.c128 src->alt = g_new(UserDefAlternate, 1); in test_clone_complex2()
129 src->alt->type = QTYPE_QDICT; in test_clone_complex2()
130 src->alt->u.udfu.integer = 42; in test_clone_complex2()
132 src->alt->u.udfu.string = NULL; in test_clone_complex2()
133 src->alt->u.udfu.enum1 = ENUM_ONE_VALUE3; in test_clone_complex2()
134 src->alt->u.udfu.u.value3.intb = 99; in test_clone_complex2()
135 src->alt->u.udfu.u.value3.has_a_b = true; in test_clone_complex2()
136 src->alt->u.udfu.u.value3.a_b = true; in test_clone_complex2()
140 g_assert(dst->alt); in test_clone_complex2()
141 g_assert_cmpint(dst->alt->type, ==, QTYPE_QDICT); in test_clone_complex2()
[all …]
/openbmc/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()
/openbmc/openbmc/poky/meta/recipes-graphics/matchbox-wm/matchbox-wm/
H A Dkbdconfig19 <ctrl><alt>x=!xterm
20 <ctrl><alt>r=!rxvt
34 <alt>Tab=next
35 <alt><shift>Tab=prev
37 <alt>space=taskmenu
38 <alt>escape=!matchbox-remote -mbmenu
39 <alt>f4=close
/openbmc/linux/arch/arm64/include/asm/
H A Dspectre.h104 void spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
106 void smccc_patch_fw_mitigation_conduit(struct alt_instr *alt, __le32 *origptr,
108 void spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
110 void spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, __le32 *origptr,
112 void spectre_bhb_patch_loop_iter(struct alt_instr *alt,
114 void spectre_bhb_patch_wa3(struct alt_instr *alt,
116 void spectre_bhb_patch_clearbhb(struct alt_instr *alt,
/openbmc/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";
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/
H A Dttf-gentium_1.02.bb17 install -d ${D}${datadir}/doc/ttf-gentium-alt/
20 install -m 0644 ${S}/OFL ${D}${datadir}/doc/ttf-gentium-alt/
24 PACKAGES = "${PN} ${PN}-alt"
25 FONT_PACKAGES = "${PN} ${PN}-alt"
27 FILES:${PN}-alt = "${datadir}/fonts/truetype/GenAI*.ttf \
29 ${datadir}/doc/ttf-gentium-alt/*"
/openbmc/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

12345678910>>...17