Home
last modified time | relevance | path

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

123456789

/Linux-v5.4/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.4/tools/objtool/
Dspecial.c73 struct special_alt *alt) in get_alt_entry() argument
80 alt->group = entry->group; in get_alt_entry()
81 alt->jump_or_nop = entry->jump_or_nop; in get_alt_entry()
83 if (alt->group) { in get_alt_entry()
84 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
86 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
102 alt->skip_orig = true; in get_alt_entry()
115 alt->skip_orig = true; in get_alt_entry()
117 alt->skip_alt = true; in get_alt_entry()
132 alt->orig_sec = orig_rela->sym->sec; in get_alt_entry()
[all …]
/Linux-v5.4/drivers/usb/typec/altmodes/
Ddisplayport.c17 #define DP_HEADER(_dp, cmd) (VDO((_dp)->alt->svid, 1, cmd) | \
62 struct typec_altmode *alt; member
70 return typec_altmode_notify(dp->alt, TYPEC_MODAL_STATE(state), in dp_altmode_notify()
84 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
90 pin_assign = DP_CAP_DFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
141 sysfs_notify(&dp->alt->dev.kobj, "displayport", "configuration"); in dp_altmode_configured()
144 return typec_altmode_notify(dp->alt, TYPEC_STATE_USB, in dp_altmode_configured()
151 sysfs_notify(&dp->alt->dev.kobj, "displayport", "pin_assignment"); in dp_altmode_configured()
161 ret = typec_altmode_notify(dp->alt, TYPEC_STATE_SAFE, &dp->data); in dp_altmode_configure_vdm()
163 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.4/arch/arm64/kernel/
Dalternative.c44 static bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) in branch_insn_requires_update() argument
51 replptr = (unsigned long)ALT_REPL_PTR(alt); in branch_insn_requires_update()
52 if (pc >= replptr && pc <= (replptr + alt->alt_len)) in branch_insn_requires_update()
64 static u32 get_alt_insn(struct alt_instr *alt, __le32 *insnptr, __le32 *altinsnptr) in get_alt_insn() argument
81 if (branch_insn_requires_update(alt, target)) { in get_alt_insn()
109 static void patch_alternative(struct alt_instr *alt, in patch_alternative() argument
115 replptr = ALT_REPL_PTR(alt); in patch_alternative()
119 insn = get_alt_insn(alt, origptr + i, replptr + i); in patch_alternative()
150 struct alt_instr *alt; in __apply_alternatives() local
155 for (alt = region->begin; alt < region->end; alt++) { in __apply_alternatives()
[all …]
/Linux-v5.4/drivers/usb/typec/ucsi/
Ddisplayport.c21 struct typec_altmode *alt; member
48 static int ucsi_displayport_enter(struct typec_altmode *alt) in ucsi_displayport_enter() argument
50 struct ucsi_dp *dp = typec_altmode_get_drvdata(alt); in ucsi_displayport_enter()
58 const struct typec_altmode *p = typec_altmode_get_partner(alt); in ucsi_displayport_enter()
78 if (dp->con->port_altmode[cur] == alt) in ucsi_displayport_enter()
103 static int ucsi_displayport_exit(struct typec_altmode *alt) in ucsi_displayport_exit() argument
105 struct ucsi_dp *dp = typec_altmode_get_drvdata(alt); in ucsi_displayport_exit()
112 const struct typec_altmode *p = typec_altmode_get_partner(alt); in ucsi_displayport_exit()
146 u32 cap = dp->alt->vdo; in ucsi_displayport_status_update()
185 static int ucsi_displayport_vdm(struct typec_altmode *alt, in ucsi_displayport_vdm() argument
[all …]
Ducsi.c249 static u8 ucsi_altmode_next_mode(struct typec_altmode **alt, u16 svid) in ucsi_altmode_next_mode() argument
254 for (i = 0; alt[i]; i++) in ucsi_altmode_next_mode()
255 if (alt[i]->svid == svid) in ucsi_altmode_next_mode()
261 static int ucsi_next_altmode(struct typec_altmode **alt) in ucsi_next_altmode() argument
266 if (!alt[i]) in ucsi_next_altmode()
276 struct typec_altmode *alt; in ucsi_register_altmode() local
297 alt = ucsi_register_displayport(con, override, i, desc); in ucsi_register_altmode()
300 alt = typec_port_register_altmode(con->port, desc); in ucsi_register_altmode()
304 if (IS_ERR(alt)) { in ucsi_register_altmode()
305 ret = PTR_ERR(alt); in ucsi_register_altmode()
[all …]
Dtrace.h139 TP_PROTO(u8 recipient, struct typec_altmode *alt),
140 TP_ARGS(recipient, alt),
149 __entry->svid = alt->svid;
150 __entry->mode = alt->mode;
151 __entry->vdo = alt->vdo;
159 TP_PROTO(u8 recipient, struct typec_altmode *alt),
160 TP_ARGS(recipient, alt)
/Linux-v5.4/arch/powerpc/perf/
Dpower6-pmu.c342 unsigned int alt; in find_alternatives_list() local
348 alt = event_alternatives[i][j]; in find_alternatives_list()
349 if (!alt || event < alt) in find_alternatives_list()
351 if (event == alt) in find_alternatives_list()
358 static int p6_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in p6_get_alternatives() argument
365 alt[0] = event; in p6_get_alternatives()
377 alt[nalt++] = aevent; in p6_get_alternatives()
387 alt[nalt++] = ((event ^ 0x6) & ~PM_PMC_MSKS) | in p6_get_alternatives()
392 alt[nalt++] = ((event ^ 0x2) & ~PM_PMC_MSKS) | in p6_get_alternatives()
409 switch (alt[i]) { in p6_get_alternatives()
[all …]
Dpower5+-pmu.c272 static int power5p_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in power5p_get_alternatives() argument
278 alt[0] = event; in power5p_get_alternatives()
286 alt[nalt++] = ae; in power5p_get_alternatives()
292 alt[nalt++] = ae; in power5p_get_alternatives()
308 switch (alt[i]) { in power5p_get_alternatives()
310 alt[j++] = 0x600005; /* PM_RUN_CYC */ in power5p_get_alternatives()
314 alt[j++] = 0xf; in power5p_get_alternatives()
317 alt[j++] = 0x500009; /* PM_RUN_INST_CMPL */ in power5p_get_alternatives()
321 alt[j++] = 0x100009; /* PM_INST_CMPL */ in power5p_get_alternatives()
322 alt[j++] = 0x200009; in power5p_get_alternatives()
[all …]
Dpower7-pmu.c156 static int power7_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in power7_get_alternatives() argument
161 alt[0] = event; in power7_get_alternatives()
168 alt[nalt++] = ae; in power7_get_alternatives()
173 alt[nalt++] = ae; in power7_get_alternatives()
186 switch (alt[i]) { in power7_get_alternatives()
188 alt[j++] = 0x600f4; /* PM_RUN_CYC */ in power7_get_alternatives()
191 alt[j++] = 0x1e; in power7_get_alternatives()
194 alt[j++] = 0x500fa; /* PM_RUN_INST_CMPL */ in power7_get_alternatives()
197 alt[j++] = 0x2; /* PM_PPC_CMPL */ in power7_get_alternatives()
/Linux-v5.4/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.4/drivers/usb/typec/
Dclass.c308 struct typec_port *typec_altmode2port(struct typec_altmode *alt) in typec_altmode2port() argument
310 if (is_typec_plug(alt->dev.parent)) in typec_altmode2port()
311 return to_typec_port(alt->dev.parent->parent->parent); in typec_altmode2port()
312 if (is_typec_partner(alt->dev.parent)) in typec_altmode2port()
313 return to_typec_port(alt->dev.parent->parent); in typec_altmode2port()
314 if (is_typec_port(alt->dev.parent)) in typec_altmode2port()
315 return to_typec_port(alt->dev.parent); in typec_altmode2port()
324 struct typec_altmode *alt = to_typec_altmode(dev); in vdo_show() local
326 return sprintf(buf, "0x%08x\n", alt->vdo); in vdo_show()
333 struct typec_altmode *alt = to_typec_altmode(dev); in description_show() local
[all …]
Dbus.c13 static inline int typec_altmode_set_mux(struct altmode *alt, u8 state) in typec_altmode_set_mux() argument
15 return alt->mux ? alt->mux->set(alt->mux, state) : 0; in typec_altmode_set_mux()
288 struct typec_altmode *alt = to_typec_altmode(dev); in description_show() local
290 return sprintf(buf, "%s\n", alt->desc ? alt->desc : ""); in description_show()
327 static int typec_altmode_create_links(struct altmode *alt) in typec_altmode_create_links() argument
329 struct device *port_dev = &alt->partner->adev.dev; in typec_altmode_create_links()
330 struct device *dev = &alt->adev.dev; in typec_altmode_create_links()
344 static void typec_altmode_remove_links(struct altmode *alt) in typec_altmode_remove_links() argument
346 sysfs_remove_link(&alt->partner->adev.dev.kobj, "partner"); in typec_altmode_remove_links()
347 sysfs_remove_link(&alt->adev.dev.kobj, "port"); in typec_altmode_remove_links()
/Linux-v5.4/drivers/usb/core/
Dmessage.c1091 struct usb_host_interface *alt = intf->cur_altsetting; in create_intf_ep_devs() local
1097 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in create_intf_ep_devs()
1098 (void) usb_create_ep_devs(&intf->dev, &alt->endpoint[i], udev); in create_intf_ep_devs()
1105 struct usb_host_interface *alt = intf->cur_altsetting; in remove_intf_ep_devs() local
1111 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in remove_intf_ep_devs()
1112 usb_remove_ep_devs(&alt->endpoint[i]); in remove_intf_ep_devs()
1190 struct usb_host_interface *alt = intf->cur_altsetting; in usb_disable_interface() local
1193 for (i = 0; i < alt->desc.bNumEndpoints; ++i) { in usb_disable_interface()
1195 alt->endpoint[i].desc.bEndpointAddress, in usb_disable_interface()
1313 struct usb_host_interface *alt = intf->cur_altsetting; in usb_enable_interface() local
[all …]
/Linux-v5.4/arch/x86/kernel/
Dlivepatch.c17 Elf_Shdr *s, *alt = NULL, *para = NULL; in arch_klp_init_object_loaded() local
39 alt = s; in arch_klp_init_object_loaded()
44 if (alt) { in arch_klp_init_object_loaded()
45 aseg = (void *) alt->sh_addr; in arch_klp_init_object_loaded()
46 apply_alternatives(aseg, aseg + alt->sh_size); in arch_klp_init_object_loaded()
/Linux-v5.4/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.4/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.4/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.4/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()
365 new_pps->alt.port_num = qp_attr->alt_port_num; in get_new_pps()
366 new_pps->alt.pkey_index = qp_attr->alt_pkey_index; in get_new_pps()
367 new_pps->alt.state = IB_PORT_PKEY_VALID; in get_new_pps()
369 new_pps->alt.port_num = qp_pps->alt.port_num; in get_new_pps()
370 new_pps->alt.pkey_index = qp_pps->alt.pkey_index; in get_new_pps()
371 if (qp_pps->alt.state != IB_PORT_PKEY_NOT_VALID) in get_new_pps()
372 new_pps->alt.state = IB_PORT_PKEY_VALID; in get_new_pps()
376 new_pps->alt.sec = qp->qp_sec; in get_new_pps()
[all …]
/Linux-v5.4/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");
460 int errCode, prev_alt = dev->video_mode.alt; in cx231xx_set_video_alternate()
473 dev->video_mode.alt = 3; in cx231xx_set_video_alternate()
476 dev->video_mode.alt = 2; in cx231xx_set_video_alternate()
479 dev->video_mode.alt = 1; in cx231xx_set_video_alternate()
482 dev->video_mode.alt = 0; in cx231xx_set_video_alternate()
486 dev->video_mode.alt = 0; in cx231xx_set_video_alternate()
488 cx231xx_coredbg("dev->video_mode.alt= %d\n", dev->video_mode.alt); in cx231xx_set_video_alternate()
[all …]
/Linux-v5.4/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.4/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 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in stv06xx_start()
309 struct usb_host_interface *alt; in stv06xx_isoc_init() local
313 alt = &gspca_dev->dev->actconfig->intf_cache[0]->altsetting[1]; in stv06xx_isoc_init()
314 alt->endpoint[0].desc.wMaxPacketSize = in stv06xx_isoc_init()
323 struct usb_host_interface *alt; in stv06xx_isoc_nego() local
326 alt = &gspca_dev->dev->actconfig->intf_cache[0]->altsetting[1]; in stv06xx_isoc_nego()
327 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in stv06xx_isoc_nego()
[all …]
/Linux-v5.4/drivers/media/platform/vivid/
Dvivid-rds-gen.c130 bool alt) in vivid_rds_gen_fill() argument
135 rds->pty = alt ? 29 : 2; in vivid_rds_gen_fill()
138 rds->pty = alt ? 16 : 3; in vivid_rds_gen_fill()
145 rds->ta = alt; in vivid_rds_gen_fill()
149 if (alt) in vivid_rds_gen_fill()

123456789