Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/drivers/tty/vt/
Ddefkeymap.map15 alt keycode 1 = Meta_Escape
17 alt keycode 2 = Meta_one
21 alt keycode 3 = Meta_two
24 alt keycode 4 = Meta_three
27 alt keycode 5 = Meta_four
30 alt keycode 6 = Meta_five
33 alt keycode 7 = Meta_six
36 alt keycode 8 = Meta_seven
39 alt keycode 9 = Meta_eight
41 alt keycode 10 = Meta_nine
[all …]
/Linux-v4.19/tools/objtool/
Dspecial.c83 struct special_alt *alt) in get_alt_entry() argument
90 alt->group = entry->group; in get_alt_entry()
91 alt->jump_or_nop = entry->jump_or_nop; in get_alt_entry()
93 if (alt->group) { in get_alt_entry()
94 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
96 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
112 alt->skip_orig = true; in get_alt_entry()
126 alt->orig_sec = orig_rela->sym->sec; in get_alt_entry()
127 alt->orig_off = orig_rela->addend; in get_alt_entry()
129 if (!entry->group || alt->new_len) { in get_alt_entry()
[all …]
/Linux-v4.19/arch/arm64/kernel/
Dalternative.c45 static bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) in branch_insn_requires_update() argument
52 replptr = (unsigned long)ALT_REPL_PTR(alt); in branch_insn_requires_update()
53 if (pc >= replptr && pc <= (replptr + alt->alt_len)) in branch_insn_requires_update()
65 static u32 get_alt_insn(struct alt_instr *alt, __le32 *insnptr, __le32 *altinsnptr) in get_alt_insn() argument
82 if (branch_insn_requires_update(alt, target)) { in get_alt_insn()
110 static void patch_alternative(struct alt_instr *alt, in patch_alternative() argument
116 replptr = ALT_REPL_PTR(alt); in patch_alternative()
120 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-v4.19/drivers/usb/typec/altmodes/
Ddisplayport.c66 struct typec_altmode *alt; member
74 return typec_altmode_notify(dp->alt, TYPEC_MODAL_STATE(state), in dp_altmode_notify()
88 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
94 pin_assign = DP_CAP_DFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
145 sysfs_notify(&dp->alt->dev.kobj, "displayport", "configuration"); in dp_altmode_configured()
148 return typec_altmode_notify(dp->alt, TYPEC_STATE_USB, in dp_altmode_configured()
155 sysfs_notify(&dp->alt->dev.kobj, "displayport", "pin_assignment"); in dp_altmode_configured()
165 ret = typec_altmode_notify(dp->alt, TYPEC_STATE_SAFE, &dp->data); in dp_altmode_configure_vdm()
167 dev_err(&dp->alt->dev, in dp_altmode_configure_vdm()
172 ret = typec_altmode_vdm(dp->alt, header, &conf, 2); in dp_altmode_configure_vdm()
[all …]
/Linux-v4.19/arch/powerpc/perf/
Dpower6-pmu.c346 unsigned int alt; in find_alternatives_list() local
352 alt = event_alternatives[i][j]; in find_alternatives_list()
353 if (!alt || event < alt) in find_alternatives_list()
355 if (event == alt) in find_alternatives_list()
362 static int p6_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in p6_get_alternatives() argument
369 alt[0] = event; in p6_get_alternatives()
381 alt[nalt++] = aevent; in p6_get_alternatives()
391 alt[nalt++] = ((event ^ 0x6) & ~PM_PMC_MSKS) | in p6_get_alternatives()
396 alt[nalt++] = ((event ^ 0x2) & ~PM_PMC_MSKS) | in p6_get_alternatives()
413 switch (alt[i]) { in p6_get_alternatives()
[all …]
Dpower5+-pmu.c276 static int power5p_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in power5p_get_alternatives() argument
282 alt[0] = event; in power5p_get_alternatives()
290 alt[nalt++] = ae; in power5p_get_alternatives()
296 alt[nalt++] = ae; in power5p_get_alternatives()
312 switch (alt[i]) { in power5p_get_alternatives()
314 alt[j++] = 0x600005; /* PM_RUN_CYC */ in power5p_get_alternatives()
318 alt[j++] = 0xf; in power5p_get_alternatives()
321 alt[j++] = 0x500009; /* PM_RUN_INST_CMPL */ in power5p_get_alternatives()
325 alt[j++] = 0x100009; /* PM_INST_CMPL */ in power5p_get_alternatives()
326 alt[j++] = 0x200009; in power5p_get_alternatives()
[all …]
Dpower7-pmu.c160 static int power7_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in power7_get_alternatives() argument
165 alt[0] = event; in power7_get_alternatives()
172 alt[nalt++] = ae; in power7_get_alternatives()
177 alt[nalt++] = ae; in power7_get_alternatives()
190 switch (alt[i]) { in power7_get_alternatives()
192 alt[j++] = 0x600f4; /* PM_RUN_CYC */ in power7_get_alternatives()
195 alt[j++] = 0x1e; in power7_get_alternatives()
198 alt[j++] = 0x500fa; /* PM_RUN_INST_CMPL */ in power7_get_alternatives()
201 alt[j++] = 0x2; /* PM_PPC_CMPL */ in power7_get_alternatives()
Disa207-common.c489 int isa207_get_alternatives(u64 event, u64 alt[], int size, unsigned int flags, in isa207_get_alternatives() argument
495 alt[num_alt++] = event; in isa207_get_alternatives()
502 alt[num_alt++] = alt_event; in isa207_get_alternatives()
513 switch (alt[i]) { in isa207_get_alternatives()
515 alt[j++] = 0x600f4; /* PM_RUN_CYC */ in isa207_get_alternatives()
518 alt[j++] = 0x1e; in isa207_get_alternatives()
521 alt[j++] = 0x500fa; /* PM_RUN_INST_CMPL */ in isa207_get_alternatives()
524 alt[j++] = 0x2; in isa207_get_alternatives()
/Linux-v4.19/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-v4.19/drivers/usb/typec/
Dclass.c302 struct typec_port *typec_altmode2port(struct typec_altmode *alt) in typec_altmode2port() argument
304 if (is_typec_plug(alt->dev.parent)) in typec_altmode2port()
305 return to_typec_port(alt->dev.parent->parent->parent); in typec_altmode2port()
306 if (is_typec_partner(alt->dev.parent)) in typec_altmode2port()
307 return to_typec_port(alt->dev.parent->parent); in typec_altmode2port()
308 if (is_typec_port(alt->dev.parent)) in typec_altmode2port()
309 return to_typec_port(alt->dev.parent); in typec_altmode2port()
318 struct typec_altmode *alt = to_typec_altmode(dev); in vdo_show() local
320 return sprintf(buf, "0x%08x\n", alt->vdo); in vdo_show()
327 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-v4.19/drivers/usb/core/
Dmessage.c1089 struct usb_host_interface *alt = intf->cur_altsetting; in create_intf_ep_devs() local
1095 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in create_intf_ep_devs()
1096 (void) usb_create_ep_devs(&intf->dev, &alt->endpoint[i], udev); in create_intf_ep_devs()
1103 struct usb_host_interface *alt = intf->cur_altsetting; in remove_intf_ep_devs() local
1109 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in remove_intf_ep_devs()
1110 usb_remove_ep_devs(&alt->endpoint[i]); in remove_intf_ep_devs()
1188 struct usb_host_interface *alt = intf->cur_altsetting; in usb_disable_interface() local
1191 for (i = 0; i < alt->desc.bNumEndpoints; ++i) { in usb_disable_interface()
1193 alt->endpoint[i].desc.bEndpointAddress, in usb_disable_interface()
1312 struct usb_host_interface *alt = intf->cur_altsetting; in usb_enable_interface() local
[all …]
Dconfig.c428 struct usb_host_interface *alt = &intfc->altsetting[j]; in usb_release_interface_cache() local
430 kfree(alt->endpoint); in usb_release_interface_cache()
431 kfree(alt->string); in usb_release_interface_cache()
444 struct usb_host_interface *alt; in usb_parse_interface() local
470 for ((i = 0, alt = &intfc->altsetting[0]); in usb_parse_interface()
472 (++i, ++alt)) { in usb_parse_interface()
473 if (alt->desc.bAlternateSetting == asnum) { in usb_parse_interface()
482 memcpy(&alt->desc, d, USB_DT_INTERFACE_SIZE); in usb_parse_interface()
486 alt->extra = buffer; in usb_parse_interface()
489 alt->extralen = i; in usb_parse_interface()
[all …]
/Linux-v4.19/arch/x86/kernel/
Dlivepatch.c29 Elf_Shdr *s, *alt = NULL, *para = NULL; in arch_klp_init_object_loaded() local
51 alt = s; in arch_klp_init_object_loaded()
56 if (alt) { in arch_klp_init_object_loaded()
57 aseg = (void *) alt->sh_addr; in arch_klp_init_object_loaded()
58 apply_alternatives(aseg, aseg + alt->sh_size); in arch_klp_init_object_loaded()
Dmodule.c230 const Elf_Shdr *s, *text = NULL, *alt = NULL, *locks = NULL, in module_finalize() local
238 alt = s; in module_finalize()
249 if (alt) { in module_finalize()
251 void *aseg = (void *)alt->sh_addr; in module_finalize()
252 apply_alternatives(aseg, aseg + alt->sh_size); in module_finalize()
/Linux-v4.19/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-v4.19/drivers/media/usb/cpia2/
Dcpia2_usb.c60 static int set_alternate(struct camera_data *cam, unsigned int alt);
61 static int configure_transfer_mode(struct camera_data *cam, unsigned int alt);
380 static int configure_transfer_mode(struct camera_data *cam, unsigned int alt) in configure_transfer_mode() argument
402 cmd.buffer.block_data[0] = iso_regs[alt][0]; in configure_transfer_mode()
403 cmd.buffer.block_data[1] = iso_regs[alt][1]; in configure_transfer_mode()
404 cmd.buffer.block_data[2] = iso_regs[alt][2]; in configure_transfer_mode()
405 cmd.buffer.block_data[3] = iso_regs[alt][3]; in configure_transfer_mode()
427 if (alt == USBIF_BULK) { in configure_transfer_mode()
431 } else if (alt >= USBIF_ISO_1) { in configure_transfer_mode()
453 unsigned int alt) in cpia2_usb_change_streaming_alternate() argument
[all …]
/Linux-v4.19/drivers/infiniband/core/
Dsecurity.c132 if (pps->alt.state != IB_PORT_PKEY_NOT_VALID) { in check_qp_port_pkey_settings()
133 ret = get_pkey_and_subnet_prefix(&pps->alt, in check_qp_port_pkey_settings()
362 new_pps->alt.port_num = qp_attr->alt_port_num; in get_new_pps()
363 new_pps->alt.pkey_index = qp_attr->alt_pkey_index; in get_new_pps()
364 new_pps->alt.state = IB_PORT_PKEY_VALID; in get_new_pps()
366 new_pps->alt.port_num = qp_pps->alt.port_num; in get_new_pps()
367 new_pps->alt.pkey_index = qp_pps->alt.pkey_index; in get_new_pps()
368 if (qp_pps->alt.state != IB_PORT_PKEY_NOT_VALID) in get_new_pps()
369 new_pps->alt.state = IB_PORT_PKEY_VALID; in get_new_pps()
373 new_pps->alt.sec = qp->qp_sec; in get_new_pps()
[all …]
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx-core.c49 static int alt = CX231XX_PINOUT; variable
50 module_param(alt, int, 0644);
51 MODULE_PARM_DESC(alt, "alternate setting to use for video endpoint");
472 int errCode, prev_alt = dev->video_mode.alt; in cx231xx_set_video_alternate()
485 dev->video_mode.alt = 3; in cx231xx_set_video_alternate()
488 dev->video_mode.alt = 2; in cx231xx_set_video_alternate()
491 dev->video_mode.alt = 1; in cx231xx_set_video_alternate()
494 dev->video_mode.alt = 0; in cx231xx_set_video_alternate()
498 dev->video_mode.alt = 0; in cx231xx_set_video_alternate()
500 cx231xx_coredbg("dev->video_mode.alt= %d\n", dev->video_mode.alt); in cx231xx_set_video_alternate()
[all …]
/Linux-v4.19/drivers/input/misc/
Dati_remote2.c805 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_probe() local
809 if (alt->desc.bInterfaceNumber) in ati_remote2_probe()
819 if (alt->desc.bNumEndpoints < 1 || !alt->endpoint) { in ati_remote2_probe()
826 ar2->ep[0] = &alt->endpoint[0].desc; in ati_remote2_probe()
842 alt = ar2->intf[1]->cur_altsetting; in ati_remote2_probe()
843 if (alt->desc.bNumEndpoints < 1 || !alt->endpoint) { in ati_remote2_probe()
849 ar2->ep[1] = &alt->endpoint[0].desc; in ati_remote2_probe()
896 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_disconnect() local
898 if (alt->desc.bInterfaceNumber) in ati_remote2_disconnect()
919 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_suspend() local
[all …]
/Linux-v4.19/drivers/media/usb/gspca/
Dgspca.c501 if (gspca_dev->alt == 0) in gspca_set_alt0()
515 static struct usb_host_endpoint *alt_xfer(struct usb_host_interface *alt, in alt_xfer() argument
521 for (i = 0; i < alt->desc.bNumEndpoints; i++) { in alt_xfer()
522 ep = &alt->endpoint[i]; in alt_xfer()
572 u32 alt; member
619 ep_tb->alt = j; in build_isoc_ep_tb()
626 ep_tb->alt, ep_tb->bandwidth); in build_isoc_ep_tb()
765 int n, ret, xfer, alt, alt_idx; in gspca_init_transfer() local
776 gspca_dev->alt = gspca_dev->cam.bulk ? intf->num_altsetting : 0; in gspca_init_transfer()
786 if (gspca_dev->alt != 0) { in gspca_init_transfer()
[all …]
/Linux-v4.19/drivers/media/usb/gspca/stv06xx/
Dstv06xx.c283 struct usb_host_interface *alt; in stv06xx_start() local
288 alt = usb_altnum_to_altsetting(intf, sd->gspca_dev.alt); in stv06xx_start()
289 if (!alt) { in stv06xx_start()
294 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in stv06xx_start()
318 struct usb_host_interface *alt; in stv06xx_isoc_init() local
322 alt = &gspca_dev->dev->actconfig->intf_cache[0]->altsetting[1]; in stv06xx_isoc_init()
323 alt->endpoint[0].desc.wMaxPacketSize = in stv06xx_isoc_init()
332 struct usb_host_interface *alt; in stv06xx_isoc_nego() local
335 alt = &gspca_dev->dev->actconfig->intf_cache[0]->altsetting[1]; in stv06xx_isoc_nego()
336 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in stv06xx_isoc_nego()
[all …]
/Linux-v4.19/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()
/Linux-v4.19/drivers/media/usb/stk1160/
Dstk1160-v4l.c174 int i, prev_alt = dev->alt; in stk1160_set_alternate()
187 dev->alt = i; in stk1160_set_alternate()
194 dev->alt_max_pkt_size[dev->alt]) in stk1160_set_alternate()
195 dev->alt = i; in stk1160_set_alternate()
198 stk1160_dbg("setting alternate %d\n", dev->alt); in stk1160_set_alternate()
200 if (dev->alt != prev_alt) { in stk1160_set_alternate()
202 min_pkt_size, dev->alt); in stk1160_set_alternate()
204 dev->alt, dev->alt_max_pkt_size[dev->alt]); in stk1160_set_alternate()
205 usb_set_interface(dev->udev, 0, dev->alt); in stk1160_set_alternate()
208 new_pkt_size = dev->max_pkt_size != dev->alt_max_pkt_size[dev->alt]; in stk1160_set_alternate()
[all …]
/Linux-v4.19/include/linux/
Dusb.h104 usb_find_common_endpoints(struct usb_host_interface *alt,
111 usb_find_common_endpoints_reverse(struct usb_host_interface *alt,
118 usb_find_bulk_in_endpoint(struct usb_host_interface *alt, in usb_find_bulk_in_endpoint() argument
121 return usb_find_common_endpoints(alt, bulk_in, NULL, NULL, NULL); in usb_find_bulk_in_endpoint()
125 usb_find_bulk_out_endpoint(struct usb_host_interface *alt, in usb_find_bulk_out_endpoint() argument
128 return usb_find_common_endpoints(alt, NULL, bulk_out, NULL, NULL); in usb_find_bulk_out_endpoint()
132 usb_find_int_in_endpoint(struct usb_host_interface *alt, in usb_find_int_in_endpoint() argument
135 return usb_find_common_endpoints(alt, NULL, NULL, int_in, NULL); in usb_find_int_in_endpoint()
139 usb_find_int_out_endpoint(struct usb_host_interface *alt, in usb_find_int_out_endpoint() argument
142 return usb_find_common_endpoints(alt, NULL, NULL, NULL, int_out); in usb_find_int_out_endpoint()
[all …]

12345678