Home
last modified time | relevance | path

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

1234567891011

/linux-6.1.9/drivers/tty/vt/
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-6.1.9/tools/objtool/
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()
93 arch_handle_alternative(feature, alt); in get_alt_entry()
102 reloc_to_sec_off(orig_reloc, &alt->orig_sec, &alt->orig_off); in get_alt_entry()
104 if (!entry->group || alt->new_len) { in get_alt_entry()
[all …]
/linux-6.1.9/arch/arm64/kernel/
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-6.1.9/drivers/usb/typec/altmodes/
Ddisplayport.c20 #define DP_HEADER(_dp, ver, cmd) (VDO((_dp)->alt->svid, 1, ver, cmd) \
66 struct typec_altmode *alt; member
83 return typec_altmode_notify(dp->alt, conf, &dp->data); in dp_altmode_notify()
96 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
102 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure()
157 sysfs_notify(&dp->alt->dev.kobj, "displayport", "configuration"); in dp_altmode_configured()
158 sysfs_notify(&dp->alt->dev.kobj, "displayport", "pin_assignment"); in dp_altmode_configured()
165 int svdm_version = typec_altmode_get_svdm_version(dp->alt); in dp_altmode_configure_vdm()
173 ret = typec_altmode_notify(dp->alt, TYPEC_STATE_SAFE, &dp->data); in dp_altmode_configure_vdm()
175 dev_err(&dp->alt->dev, in dp_altmode_configure_vdm()
[all …]
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()
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-6.1.9/drivers/usb/typec/ucsi/
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 …]
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 …]
Ducsi.c278 static int ucsi_altmode_next_mode(struct typec_altmode **alt, u16 svid) in ucsi_altmode_next_mode() argument
283 for (i = 0; alt[i]; i++) { in ucsi_altmode_next_mode()
287 if (alt[i]->svid == svid) in ucsi_altmode_next_mode()
294 static int ucsi_next_altmode(struct typec_altmode **alt) in ucsi_next_altmode() argument
299 if (!alt[i]) in ucsi_next_altmode()
305 static int ucsi_get_num_altmode(struct typec_altmode **alt) in ucsi_get_num_altmode() argument
310 if (!alt[i]) in ucsi_get_num_altmode()
320 struct typec_altmode *alt; in ucsi_register_altmode() local
343 alt = ucsi_register_displayport(con, override, i, desc); in ucsi_register_altmode()
347 alt = typec_port_register_altmode(con->port, 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;
106 TP_PROTO(u8 recipient, struct typec_altmode *alt),
107 TP_ARGS(recipient, alt)
/linux-6.1.9/arch/riscv/errata/thead/
Derrata.c68 struct alt_entry *alt; in thead_errata_patch_func() local
72 for (alt = begin; alt < end; alt++) { in thead_errata_patch_func()
73 if (alt->vendor_id != THEAD_VENDOR_ID) in thead_errata_patch_func()
75 if (alt->errata_id >= ERRATA_THEAD_NUMBER) in thead_errata_patch_func()
78 tmp = (1U << alt->errata_id); in thead_errata_patch_func()
82 memcpy((void *)__pa_symbol(alt->old_ptr), in thead_errata_patch_func()
83 (void *)__pa_symbol(alt->alt_ptr), alt->alt_len); in thead_errata_patch_func()
85 patch_text_nosync(alt->old_ptr, alt->alt_ptr, alt->alt_len); in thead_errata_patch_func()
/linux-6.1.9/arch/riscv/errata/sifive/
Derrata.c90 struct alt_entry *alt; in sifive_errata_patch_func() local
100 for (alt = begin; alt < end; alt++) { in sifive_errata_patch_func()
101 if (alt->vendor_id != SIFIVE_VENDOR_ID) in sifive_errata_patch_func()
103 if (alt->errata_id >= ERRATA_SIFIVE_NUMBER) { in sifive_errata_patch_func()
104 WARN(1, "This errata id:%d is not in kernel errata list", alt->errata_id); in sifive_errata_patch_func()
108 tmp = (1U << alt->errata_id); in sifive_errata_patch_func()
110 patch_text_nosync(alt->old_ptr, alt->alt_ptr, alt->alt_len); in sifive_errata_patch_func()
/linux-6.1.9/arch/powerpc/perf/
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 …]
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-6.1.9/arch/x86/include/asm/
Dparavirt_types.h467 #define ____PVOP_ALT_CALL(ret, op, alt, cond, clbr, call_clbr, \ argument
473 alt, cond) \
486 #define __PVOP_ALT_CALL(rettype, op, alt, cond, ...) \ argument
487 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op, alt, cond, CLBR_ANY,\
495 #define __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond, ...) \ argument
496 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op.func, alt, cond, \
504 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \ argument
505 (void)____PVOP_ALT_CALL(, op, alt, cond, CLBR_ANY, \
513 #define __PVOP_ALT_VCALLEESAVE(op, alt, cond, ...) \ argument
514 (void)____PVOP_ALT_CALL(, op.func, alt, cond, CLBR_RET_REG, \
[all …]
/linux-6.1.9/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()
/linux-6.1.9/arch/riscv/kernel/
Dcpufeature.c306 struct alt_entry *alt; in riscv_cpufeature_patch_func() local
309 for (alt = begin; alt < end; alt++) { in riscv_cpufeature_patch_func()
310 if (alt->vendor_id != 0) in riscv_cpufeature_patch_func()
312 if (alt->errata_id >= CPUFEATURE_NUMBER) { in riscv_cpufeature_patch_func()
314 alt->errata_id); in riscv_cpufeature_patch_func()
318 tmp = (1U << alt->errata_id); in riscv_cpufeature_patch_func()
320 patch_text_nosync(alt->old_ptr, alt->alt_ptr, alt->alt_len); in riscv_cpufeature_patch_func()
/linux-6.1.9/drivers/usb/typec/
Dbus.c16 typec_altmode_set_mux(struct altmode *alt, unsigned long conf, void *data) in typec_altmode_set_mux() argument
20 if (!alt->mux) in typec_altmode_set_mux()
23 state.alt = &alt->adev; in typec_altmode_set_mux()
27 return typec_mux_set(alt->mux, &state); in typec_altmode_set_mux()
299 struct typec_altmode *alt = to_typec_altmode(dev); in description_show() local
301 return sprintf(buf, "%s\n", alt->desc ? alt->desc : ""); in description_show()
338 static int typec_altmode_create_links(struct altmode *alt) in typec_altmode_create_links() argument
340 struct device *port_dev = &alt->partner->adev.dev; in typec_altmode_create_links()
341 struct device *dev = &alt->adev.dev; in typec_altmode_create_links()
355 static void typec_altmode_remove_links(struct altmode *alt) in typec_altmode_remove_links() argument
[all …]
Dclass.c319 struct typec_port *typec_altmode2port(struct typec_altmode *alt) in typec_altmode2port() argument
321 if (is_typec_plug(alt->dev.parent)) in typec_altmode2port()
322 return to_typec_port(alt->dev.parent->parent->parent); in typec_altmode2port()
323 if (is_typec_partner(alt->dev.parent)) in typec_altmode2port()
324 return to_typec_port(alt->dev.parent->parent); in typec_altmode2port()
325 if (is_typec_port(alt->dev.parent)) in typec_altmode2port()
326 return to_typec_port(alt->dev.parent); in typec_altmode2port()
335 struct typec_altmode *alt = to_typec_altmode(dev); in vdo_show() local
337 return sprintf(buf, "0x%08x\n", alt->vdo); in vdo_show()
344 struct typec_altmode *alt = to_typec_altmode(dev); in description_show() local
[all …]
/linux-6.1.9/arch/arm/boot/dts/
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-6.1.9/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: peer-states-8.dot
/linux-6.1.9/drivers/usb/core/
Dmessage.c1246 struct usb_host_interface *alt = intf->cur_altsetting; in create_intf_ep_devs() local
1252 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in create_intf_ep_devs()
1253 (void) usb_create_ep_devs(&intf->dev, &alt->endpoint[i], udev); in create_intf_ep_devs()
1260 struct usb_host_interface *alt = intf->cur_altsetting; in remove_intf_ep_devs() local
1266 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in remove_intf_ep_devs()
1267 usb_remove_ep_devs(&alt->endpoint[i]); in remove_intf_ep_devs()
1345 struct usb_host_interface *alt = intf->cur_altsetting; in usb_disable_interface() local
1348 for (i = 0; i < alt->desc.bNumEndpoints; ++i) { in usb_disable_interface()
1350 alt->endpoint[i].desc.bEndpointAddress, in usb_disable_interface()
1481 struct usb_host_interface *alt = intf->cur_altsetting; in usb_enable_interface() local
[all …]
/linux-6.1.9/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
/linux-6.1.9/drivers/staging/media/deprecated/cpia2/
Dcpia2_usb.c51 static int set_alternate(struct camera_data *cam, unsigned int alt);
52 static int configure_transfer_mode(struct camera_data *cam, unsigned int alt);
371 static int configure_transfer_mode(struct camera_data *cam, unsigned int alt) in configure_transfer_mode() argument
393 cmd.buffer.block_data[0] = iso_regs[alt][0]; in configure_transfer_mode()
394 cmd.buffer.block_data[1] = iso_regs[alt][1]; in configure_transfer_mode()
395 cmd.buffer.block_data[2] = iso_regs[alt][2]; in configure_transfer_mode()
396 cmd.buffer.block_data[3] = iso_regs[alt][3]; in configure_transfer_mode()
418 if (alt == USBIF_BULK) { in configure_transfer_mode()
422 } else if (alt >= USBIF_ISO_1) { in configure_transfer_mode()
444 unsigned int alt) in cpia2_usb_change_streaming_alternate() argument
[all …]
/linux-6.1.9/drivers/infiniband/core/
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 …]

1234567891011