Home
last modified time | relevance | path

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

12345678910

/linux/drivers/tty/vt/
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
48 alt keycode 12 = Meta_minus
236 alt keycode 105 = Decr_Console
[all …]
/linux/tools/objtool/
A Dspecial.c70 struct special_alt *alt) in get_alt_entry() argument
77 alt->group = entry->group; in get_alt_entry()
80 if (alt->group) { in get_alt_entry()
102 reloc_to_sec_off(orig_reloc, &alt->orig_sec, &alt->orig_off); in get_alt_entry()
112 reloc_to_sec_off(new_reloc, &alt->new_sec, &alt->new_off); in get_alt_entry()
115 if (alt->new_off >= 0x7ffffff0) in get_alt_entry()
116 alt->new_off -= 0x7ffffff0; in get_alt_entry()
144 struct special_alt *alt; in special_get_alts() local
163 alt = malloc(sizeof(*alt)); in special_get_alts()
164 if (!alt) { in special_get_alts()
[all …]
/linux/drivers/usb/typec/altmodes/
A Ddisplayport.c66 struct typec_altmode *alt; member
175 dev_err(&dp->alt->dev, in dp_altmode_configure_vdm()
211 dev_err(&dp->alt->dev, in dp_altmode_work()
218 dev_err(&dp->alt->dev, in dp_altmode_work()
222 if (typec_altmode_exit(dp->alt)) in dp_altmode_work()
321 typec_altmode_exit(alt); in dp_altmode_activate()
368 if (dp->alt->active) { in configuration_store()
549 dp->alt = alt; in dp_altmode_probe()
551 alt->desc = "DisplayPort"; in dp_altmode_probe()
552 alt->ops = &dp_altmode_ops; in dp_altmode_probe()
[all …]
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()
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/arm64/kernel/
A Dalternative.c104 replptr = ALT_REPL_PTR(alt); in patch_alternative()
139 struct alt_instr *alt; in __apply_alternatives() local
143 for (alt = region->begin; alt < region->end; alt++) { in __apply_alternatives()
151 !cpus_have_cap(alt->cpufeature)) in __apply_alternatives()
154 if (alt->cpufeature == ARM64_CB_PATCH) in __apply_alternatives()
155 BUG_ON(alt->alt_len != 0); in __apply_alternatives()
157 BUG_ON(alt->alt_len != alt->orig_len); in __apply_alternatives()
161 origptr = ALT_ORIG_PTR(alt); in __apply_alternatives()
165 if (alt->cpufeature < ARM64_CB_PATCH) in __apply_alternatives()
168 alt_cb = ALT_REPL_PTR(alt); in __apply_alternatives()
[all …]
/linux/drivers/usb/typec/ucsi/
A Ddisplayport.c21 struct typec_altmode *alt; member
158 u32 cap = dp->alt->vdo; in ucsi_displayport_status_update()
296 if (!alt) in ucsi_displayport_remove_partner()
314 struct typec_altmode *alt; in ucsi_register_displayport() local
325 if (IS_ERR(alt)) in ucsi_register_displayport()
326 return alt; in ucsi_register_displayport()
330 typec_unregister_altmode(alt); in ucsi_register_displayport()
338 dp->alt = alt; in ucsi_register_displayport()
340 alt->ops = &ucsi_displayport_ops; in ucsi_register_displayport()
341 typec_altmode_set_drvdata(alt, dp); in ucsi_register_displayport()
[all …]
A Ducsi_ccg.c360 alt = uc->orig; in ucsi_ccg_update_altmodes()
372 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
377 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
381 if (alt[i].checked) in ucsi_ccg_update_altmodes()
389 alt[i].linked_idx = k; in ucsi_ccg_update_altmodes()
397 if (alt[i].svid != alt[j].svid || in ucsi_ccg_update_altmodes()
403 new_alt[k].mid |= alt[i].mid | alt[j].mid; in ucsi_ccg_update_altmodes()
405 alt[i].linked_idx = k; in ucsi_ccg_update_altmodes()
418 alt[i].linked_idx = k; in ucsi_ccg_update_altmodes()
464 if (alt && port[j].svid == alt->svid && in ucsi_ccg_update_set_new_cam_cmd()
[all …]
A Ducsi.c300 if (!alt[i]) in ucsi_next_altmode()
348 if (IS_ERR(alt)) { in ucsi_register_altmode()
349 ret = PTR_ERR(alt); in ucsi_register_altmode()
369 if (IS_ERR(alt)) { in ucsi_register_altmode()
370 ret = PTR_ERR(alt); in ucsi_register_altmode()
415 memset(&alt, 0, sizeof(alt)); in ucsi_register_altmodes_nvidia()
420 len = ucsi_send_command(con->ucsi, command, &alt, sizeof(alt)); in ucsi_register_altmodes_nvidia()
430 if (!len || !alt.svid) in ucsi_register_altmodes_nvidia()
492 memset(alt, 0, sizeof(alt)); in ucsi_register_altmodes()
497 len = ucsi_send_command(con->ucsi, command, alt, sizeof(alt)); in ucsi_register_altmodes()
[all …]
A 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/arch/riscv/errata/sifive/
A Derrata.c85 struct alt_entry *alt; in sifive_errata_patch_func() local
90 for (alt = begin; alt < end; alt++) { in sifive_errata_patch_func()
91 if (alt->vendor_id != SIFIVE_VENDOR_ID) in sifive_errata_patch_func()
93 if (alt->errata_id >= ERRATA_SIFIVE_NUMBER) { in sifive_errata_patch_func()
94 WARN(1, "This errata id:%d is not in kernel errata list", alt->errata_id); in sifive_errata_patch_func()
98 tmp = (1U << alt->errata_id); in sifive_errata_patch_func()
100 patch_text_nosync(alt->old_ptr, alt->alt_ptr, alt->alt_len); in sifive_errata_patch_func()
/linux/arch/powerpc/perf/
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()
368 alt[0] = event; in p6_get_alternatives()
380 alt[nalt++] = aevent; in p6_get_alternatives()
412 switch (alt[i]) { in p6_get_alternatives()
418 alt[j++] = 0x1e; /* PM_CYC */ in p6_get_alternatives()
425 alt[j++] = 2; /* PM_INST_CMPL */ in p6_get_alternatives()
443 alt[j] = alt[i]; in p6_get_alternatives()
[all …]
A Dpower5+-pmu.c280 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()
323 alt[j++] = 0x100009; /* PM_INST_CMPL */ in power5p_get_alternatives()
324 alt[j++] = 0x200009; in power5p_get_alternatives()
336 alt[j] = alt[i]; in power5p_get_alternatives()
345 if (power5p_limited_pmc_event(alt[i])) { in power5p_get_alternatives()
[all …]
/linux/arch/x86/include/asm/
A Dparavirt_types.h464 alt, cond) \
495 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \ argument
513 #define PVOP_ALT_CALL0(rettype, op, alt, cond) \ argument
514 __PVOP_ALT_CALL(rettype, op, alt, cond)
515 #define PVOP_ALT_VCALL0(op, alt, cond) \ argument
516 __PVOP_ALT_VCALL(op, alt, cond)
523 __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond)
524 #define PVOP_ALT_VCALLEE0(op, alt, cond) \ argument
525 __PVOP_ALT_VCALLEESAVE(op, alt, cond)
532 #define PVOP_ALT_VCALL1(op, arg1, alt, cond) \ argument
[all …]
/linux/drivers/usb/storage/
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/drivers/usb/typec/
A Dclass.c344 return sprintf(buf, "%s\n", alt->desc ? alt->desc : ""); in description_show()
500 altmode_id_remove(alt->adev.dev.parent, alt->id); in typec_altmode_release()
501 kfree(alt); in typec_altmode_release()
519 alt = kzalloc(sizeof(*alt), GFP_KERNEL); in typec_register_altmode()
520 if (!alt) { in typec_register_altmode()
529 alt->id = id; in typec_register_altmode()
541 alt->group.name = alt->group_name; in typec_register_altmode()
542 alt->group.attrs = alt->attrs; in typec_register_altmode()
543 alt->groups[0] = &alt->group; in typec_register_altmode()
546 alt->adev.dev.groups = alt->groups; in typec_register_altmode()
[all …]
A Dbus.c20 if (!alt->mux) in typec_altmode_set_mux()
23 state.alt = &alt->adev; in typec_altmode_set_mux()
27 return alt->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
357 sysfs_remove_link(&alt->partner->adev.dev.kobj, "partner"); in typec_altmode_remove_links()
[all …]
/linux/drivers/usb/core/
A Dmessage.c1549 if (!alt) { in usb_set_interface()
1625 iface->cur_altsetting = alt; in usb_set_interface()
1751 if (!alt) in usb_reset_configuration()
1752 alt = &intf->altsetting[0]; in usb_reset_configuration()
1758 intf->cur_altsetting = alt; in usb_reset_configuration()
1829 alt = intf->cur_altsetting; in usb_if_uevent()
1832 alt->desc.bInterfaceClass, in usb_if_uevent()
1846 alt->desc.bInterfaceClass, in usb_if_uevent()
2082 if (!alt) in usb_set_configuration()
2083 alt = &intf->altsetting[0]; in usb_set_configuration()
[all …]
/linux/Documentation/networking/
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/Documentation/admin-guide/blockdev/drbd/
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/drivers/media/usb/cpia2/
A Dcpia2_usb.c393 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()
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
448 if(alt < USBIF_ISO_1 || alt > USBIF_ISO_6) in cpia2_usb_change_streaming_alternate()
456 configure_transfer_mode(cam, alt); in cpia2_usb_change_streaming_alternate()
458 cam->params.camera_state.stream_mode = alt; in cpia2_usb_change_streaming_alternate()
477 if(alt == cam->cur_alt) in set_alternate()
486 if (alt != USBIF_CMDONLY) { in set_alternate()
[all …]
/linux/drivers/infiniband/core/
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()
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()
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()
464 port_pkey_list_remove(&sec->ports_pkeys->alt); in ib_destroy_qp_security_begin()
617 ret = port_pkey_list_insert(&new_pps->alt); in ib_security_modify_qp()
[all …]
/linux/drivers/media/usb/cx231xx/
A Dcx231xx-core.c38 module_param(alt, int, 0644);
469 dev->video_mode.alt = 3; in cx231xx_set_video_alternate()
499 dev->video_mode.alt, in cx231xx_set_video_alternate()
525 dev->ts1_mode.alt = alt; in cx231xx_set_alt_setting()
539 dev->adev.alt = alt; in cx231xx_set_alt_setting()
548 dev->video_mode.alt = alt; in cx231xx_set_alt_setting()
552 alt]; in cx231xx_set_alt_setting()
560 dev->vbi_mode.alt = alt; in cx231xx_set_alt_setting()
569 dev->sliced_cc_mode.alt = alt; in cx231xx_set_alt_setting()
574 alt]; in cx231xx_set_alt_setting()
[all …]
/linux/drivers/input/misc/
A Dati_remote2.c806 if (alt->desc.bInterfaceNumber) in ati_remote2_probe()
816 if (alt->desc.bNumEndpoints < 1 || !alt->endpoint) { in ati_remote2_probe()
823 ar2->ep[0] = &alt->endpoint[0].desc; in ati_remote2_probe()
839 alt = ar2->intf[1]->cur_altsetting; in ati_remote2_probe()
840 if (alt->desc.bNumEndpoints < 1 || !alt->endpoint) { in ati_remote2_probe()
895 if (alt->desc.bInterfaceNumber) in ati_remote2_disconnect()
918 if (alt->desc.bInterfaceNumber) in ati_remote2_suspend()
943 if (alt->desc.bInterfaceNumber) in ati_remote2_resume()
969 if (alt->desc.bInterfaceNumber) in ati_remote2_reset_resume()
999 if (alt->desc.bInterfaceNumber) in ati_remote2_pre_reset()
[all …]
/linux/drivers/media/usb/gspca/stv06xx/
A Dstv06xx.c274 struct usb_host_interface *alt; in stv06xx_start() local
279 alt = usb_altnum_to_altsetting(intf, sd->gspca_dev.alt); in stv06xx_start()
280 if (!alt) { in stv06xx_start()
285 if (alt->desc.bNumEndpoints < 1) in stv06xx_start()
288 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in stv06xx_start()
313 struct usb_host_interface *alt; in stv06xx_isoc_init() local
321 alt = &intfc->altsetting[1]; in stv06xx_isoc_init()
323 if (alt->desc.bNumEndpoints < 1) in stv06xx_isoc_init()
327 alt->endpoint[0].desc.wMaxPacketSize = in stv06xx_isoc_init()
336 struct usb_host_interface *alt; in stv06xx_isoc_nego() local
[all …]

Completed in 65 milliseconds

12345678910