Home
last modified time | relevance | path

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

123456789

/Linux-v5.10/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-v5.10/tools/objtool/
Dspecial.c54 void __weak arch_handle_alternative(unsigned short feature, struct special_alt *alt) in arch_handle_alternative() argument
60 struct special_alt *alt) in get_alt_entry() argument
67 alt->group = entry->group; in get_alt_entry()
68 alt->jump_or_nop = entry->jump_or_nop; in get_alt_entry()
70 if (alt->group) { in get_alt_entry()
71 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
73 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
82 arch_handle_alternative(feature, alt); in get_alt_entry()
96 alt->orig_sec = orig_reloc->sym->sec; in get_alt_entry()
97 alt->orig_off = orig_reloc->addend; in get_alt_entry()
[all …]
/Linux-v5.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.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-v5.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 …]
/Linux-v5.10/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()
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()
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()
110 const struct typec_altmode *p = typec_altmode_get_partner(alt); in ucsi_displayport_exit()
144 u32 cap = dp->alt->vdo; in ucsi_displayport_status_update()
183 static int ucsi_displayport_vdm(struct typec_altmode *alt, in ucsi_displayport_vdm() argument
[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 …]
Ducsi_ccg.c356 struct ucsi_ccg_altmode *alt, *new_alt; in ucsi_ccg_update_altmodes() local
360 alt = uc->orig; in ucsi_ccg_update_altmodes()
370 alt[i].svid = orig[i].svid; in ucsi_ccg_update_altmodes()
371 alt[i].mid = orig[i].mid; 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()
384 if (!DP_CONF_GET_PIN_ASSIGN(alt[i].mid)) { in ucsi_ccg_update_altmodes()
386 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes()
387 new_alt[k].mid |= alt[i].mid; in ucsi_ccg_update_altmodes()
[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-v5.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 …]
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 …]
Dpower7-pmu.c158 static int power7_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in power7_get_alternatives() argument
163 alt[0] = event; in power7_get_alternatives()
170 alt[nalt++] = ae; in power7_get_alternatives()
175 alt[nalt++] = ae; in power7_get_alternatives()
188 switch (alt[i]) { in power7_get_alternatives()
190 alt[j++] = 0x600f4; /* PM_RUN_CYC */ in power7_get_alternatives()
193 alt[j++] = 0x1e; in power7_get_alternatives()
196 alt[j++] = 0x500fa; /* PM_RUN_INST_CMPL */ in power7_get_alternatives()
199 alt[j++] = 0x2; /* PM_PPC_CMPL */ in power7_get_alternatives()
/Linux-v5.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()
/Linux-v5.10/drivers/usb/typec/
Dclass.c246 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()
253 return to_typec_port(alt->dev.parent); in typec_altmode2port()
262 struct typec_altmode *alt = to_typec_altmode(dev); in vdo_show() local
264 return sprintf(buf, "0x%08x\n", alt->vdo); in vdo_show()
271 struct typec_altmode *alt = to_typec_altmode(dev); in description_show() local
[all …]
Dbus.c14 typec_altmode_set_mux(struct altmode *alt, unsigned long conf, void *data) in typec_altmode_set_mux() argument
18 if (!alt->mux) in typec_altmode_set_mux()
21 state.alt = &alt->adev; in typec_altmode_set_mux()
25 return alt->mux->set(alt->mux, &state); in typec_altmode_set_mux()
297 struct typec_altmode *alt = to_typec_altmode(dev); in description_show() local
299 return sprintf(buf, "%s\n", alt->desc ? alt->desc : ""); in description_show()
336 static int typec_altmode_create_links(struct altmode *alt) in typec_altmode_create_links() argument
338 struct device *port_dev = &alt->partner->adev.dev; in typec_altmode_create_links()
339 struct device *dev = &alt->adev.dev; in typec_altmode_create_links()
353 static void typec_altmode_remove_links(struct altmode *alt) in typec_altmode_remove_links() argument
[all …]
/Linux-v5.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
/Linux-v5.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
/Linux-v5.10/drivers/usb/core/
Dmessage.c1237 struct usb_host_interface *alt = intf->cur_altsetting; in create_intf_ep_devs() local
1243 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in create_intf_ep_devs()
1244 (void) usb_create_ep_devs(&intf->dev, &alt->endpoint[i], udev); in create_intf_ep_devs()
1251 struct usb_host_interface *alt = intf->cur_altsetting; in remove_intf_ep_devs() local
1257 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in remove_intf_ep_devs()
1258 usb_remove_ep_devs(&alt->endpoint[i]); in remove_intf_ep_devs()
1336 struct usb_host_interface *alt = intf->cur_altsetting; in usb_disable_interface() local
1339 for (i = 0; i < alt->desc.bNumEndpoints; ++i) { in usb_disable_interface()
1341 alt->endpoint[i].desc.bEndpointAddress, in usb_disable_interface()
1472 struct usb_host_interface *alt = intf->cur_altsetting; in usb_enable_interface() local
[all …]
/Linux-v5.10/tools/objtool/arch/x86/
Dspecial.c10 void arch_handle_alternative(unsigned short feature, struct special_alt *alt) in arch_handle_alternative() argument
24 alt->skip_orig = true; in arch_handle_alternative()
26 alt->skip_alt = true; in arch_handle_alternative()
34 alt->skip_orig = true; in arch_handle_alternative()
/Linux-v5.10/drivers/media/usb/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-v5.10/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 …]
/Linux-v5.10/drivers/media/usb/cx231xx/
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 …]
/Linux-v5.10/drivers/input/misc/
Dati_remote2.c802 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_probe() local
806 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()
846 ar2->ep[1] = &alt->endpoint[0].desc; in ati_remote2_probe()
893 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_disconnect() local
895 if (alt->desc.bInterfaceNumber) in ati_remote2_disconnect()
916 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_suspend() local
[all …]
/Linux-v5.10/drivers/media/usb/gspca/stv06xx/
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 …]

123456789