Home
last modified time | relevance | path

Searched refs:alt (Results 26 - 50 of 476) sorted by relevance

12345678910>>...20

/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dspectre.h104 void spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
106 void smccc_patch_fw_mitigation_conduit(struct alt_instr *alt, __le32 *origptr,
108 void spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
110 void spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, __le32 *origptr,
112 void spectre_bhb_patch_loop_iter(struct alt_instr *alt,
114 void spectre_bhb_patch_wa3(struct alt_instr *alt,
116 void spectre_bhb_patch_clearbhb(struct alt_instr *alt,
/kernel/linux/linux-5.10/drivers/usb/typec/
H A 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()
305 struct typec_altmode *alt = to_typec_altmode(dev); in description_show() local
307 return sprintf(buf, "%s\n", alt->desc ? alt->desc : ""); in description_show()
344 static int typec_altmode_create_links(struct altmode *alt) in typec_altmode_create_links() argument
361 typec_altmode_remove_links(struct altmode *alt) typec_altmode_remove_links() argument
[all...]
/kernel/linux/linux-5.10/drivers/usb/typec/altmodes/
H 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
/kernel/linux/linux-6.6/drivers/usb/typec/altmodes/
H 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
/kernel/linux/linux-6.6/drivers/usb/typec/
H A Dclass.c247 /* Bind the port alt mode to the partner/plug alt mode. */ in typec_altmode_set_partner()
251 /* Bind the partner/plug alt mode to the port alt mode. */ in typec_altmode_set_partner()
315 * @alt: The Alternate Mode
317 * Returns handle to the port that a cable plug or partner with @alt is
320 struct typec_port *typec_altmode2port(struct typec_altmode *alt) in typec_altmode2port() argument
322 if (is_typec_plug(alt->dev.parent)) in typec_altmode2port()
323 return to_typec_port(alt->dev.parent->parent->parent); in typec_altmode2port()
324 if (is_typec_partner(alt in typec_altmode2port()
336 struct typec_altmode *alt = to_typec_altmode(dev); vdo_show() local
345 struct typec_altmode *alt = to_typec_altmode(dev); description_show() local
354 struct typec_altmode *alt = to_typec_altmode(dev); active_show() local
402 struct altmode *alt = to_altmode(to_typec_altmode(dev)); supported_roles_show() local
499 struct altmode *alt = to_altmode(to_typec_altmode(dev)); typec_altmode_release() local
520 struct altmode *alt; typec_register_altmode() local
2144 struct typec_altmode *alt; typec_port_register_altmodes() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/
H A 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[ in ucsi_ccg_update_altmodes()
432 struct typec_altmode *alt = NULL; ucsi_ccg_update_set_new_cam_cmd() local
492 ucsi_ccg_nvidia_altmode(struct ucsi_ccg *uc, struct ucsi_altmode *alt) ucsi_ccg_nvidia_altmode() argument
516 struct ucsi_altmode *alt; ucsi_ccg_read() local
[all...]
H A Ducsi.c223 static int ucsi_altmode_next_mode(struct typec_altmode **alt, u16 svid) in ucsi_altmode_next_mode() argument
228 for (i = 0; alt[i]; i++) { in ucsi_altmode_next_mode()
232 if (alt[i]->svid == svid) in ucsi_altmode_next_mode()
239 static int ucsi_next_altmode(struct typec_altmode **alt) in ucsi_next_altmode() argument
244 if (!alt[i]) in ucsi_next_altmode()
254 struct typec_altmode *alt; in ucsi_register_altmode() local
277 alt = ucsi_register_displayport(con, override, i, desc); in ucsi_register_altmode()
281 alt = typec_port_register_altmode(con->port, in ucsi_register_altmode()
284 alt = ucsi_register_displayport(con, override, in ucsi_register_altmode()
288 alt in ucsi_register_altmode()
340 struct ucsi_altmode alt; ucsi_register_altmodes_nvidia() local
415 struct ucsi_altmode alt[2]; ucsi_register_altmodes() local
[all...]
H 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;
100 TP_printk("%s alt mode: svid %04x, mode %d vdo %x",
106 TP_PROTO(u8 recipient, struct typec_altmode *alt),
107 TP_ARGS(recipient, alt)
/kernel/linux/linux-6.6/drivers/usb/typec/ucsi/
H A 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[ in ucsi_ccg_update_altmodes()
437 struct typec_altmode *alt = NULL; ucsi_ccg_update_set_new_cam_cmd() local
497 ucsi_ccg_nvidia_altmode(struct ucsi_ccg *uc, struct ucsi_altmode *alt) ucsi_ccg_nvidia_altmode() argument
522 struct ucsi_altmode *alt; ucsi_ccg_read() local
[all...]
H 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;
100 TP_printk("%s alt mode: svid %04x, mode %d vdo %x",
106 TP_PROTO(u8 recipient, struct typec_altmode *alt),
107 TP_ARGS(recipient, alt)
/kernel/linux/linux-5.10/arch/powerpc/perf/
H A 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[ in power5p_get_alternatives()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/perf/
H A 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[ in power5p_get_alternatives()
[all...]
/third_party/curl/docs/examples/
H A Dsmtp-mime.c82 curl_mime *alt; in main() local
118 alt = curl_mime_init(curl); in main()
121 part = curl_mime_addpart(alt); in main()
126 part = curl_mime_addpart(alt); in main()
131 curl_mime_subparts(part, alt); in main()
/third_party/mesa3d/src/mapi/glapi/gen/
H A Dgl_x86_asm.py161 alt = "%s@%u" % (name, stack)
163 print('\tGL_STUB(%s, %d, %s)' % (name, f.offset, alt))
166 print('\tHIDDEN(GL_PREFIX(%s, %s))' % (name, alt))
172 alt = "%s@%u" % (name, stack)
178 text = '\tGL_STUB_ALIAS(%s, %d, %s, %s, %s)' % (n, f.offset, alt2, name, alt)
/kernel/linux/linux-5.10/tools/objtool/arch/x86/
H A 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()
/kernel/linux/linux-6.6/tools/objtool/arch/x86/
H A 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()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
H A DViewableTaggedData.java167 public void tagField(int position, int width, int value, String alt, String label) { in tagField() argument
168 markers.add(new Field(position, width, value, alt, label)); in tagField()
257 String alt; in tagRangeField()
262 alt = "NULL"; in tagRangeField()
269 alt = String.format("#%04x", base + value); in tagRangeField()
275 alt = String.format("#%04x", base + value); in tagRangeField()
281 alt = String.valueOf(value); in tagRangeField()
286 alt = null; in tagRangeField()
291 alt = value == 0xffff ? null : String.valueOf(value); in tagRangeField()
296 alt in tagRangeField()
506 drawLine(int position, int value, int width, String alt, String label) drawLine() argument
797 private final String alt; global() field in ViewableTaggedData.Field
800 Field(int position, int width, int value, String alt, String label) Field() argument
[all...]
/third_party/typescript/tests/baselines/reference/
H A DdoNotInferUnrelatedTypes.js5 declare var alt: Array<LiteralType>;
7 let foo: LiteralType = dearray(alt);
11 var foo = dearray(alt);
/kernel/linux/linux-5.10/drivers/input/misc/
H A 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 in ati_remote2_disconnect() local
916 struct usb_host_interface *alt = interface->cur_altsetting; ati_remote2_suspend() local
940 struct usb_host_interface *alt = interface->cur_altsetting; ati_remote2_resume() local
966 struct usb_host_interface *alt = interface->cur_altsetting; ati_remote2_reset_resume() local
997 struct usb_host_interface *alt = interface->cur_altsetting; ati_remote2_pre_reset() local
1017 struct usb_host_interface *alt = interface->cur_altsetting; ati_remote2_post_reset() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/core/
H A Dconfig.c229 struct usb_host_interface *alt; in config_endpoint_is_duplicate() local
236 alt = &intfc->altsetting[j]; in config_endpoint_is_duplicate()
238 if (alt->desc.bInterfaceNumber == inum && in config_endpoint_is_duplicate()
239 alt->desc.bAlternateSetting != asnum) in config_endpoint_is_duplicate()
242 for (k = 0; k < alt->desc.bNumEndpoints; ++k) { in config_endpoint_is_duplicate()
243 epd = &alt->endpoint[k].desc; in config_endpoint_is_duplicate()
502 struct usb_host_interface *alt = &intfc->altsetting[j]; in usb_release_interface_cache() local
504 kfree(alt->endpoint); in usb_release_interface_cache()
505 kfree(alt->string); in usb_release_interface_cache()
518 struct usb_host_interface *alt; in usb_parse_interface() local
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/cpia2/
H A 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()
443 cpia2_usb_change_streaming_alternate(struct camera_data *cam, unsigned int alt) cpia2_usb_change_streaming_alternate() argument
473 set_alternate(struct camera_data *cam, unsigned int alt) set_alternate() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/core/
H A Dconfig.c229 struct usb_host_interface *alt; in config_endpoint_is_duplicate() local
236 alt = &intfc->altsetting[j]; in config_endpoint_is_duplicate()
238 if (alt->desc.bInterfaceNumber == inum && in config_endpoint_is_duplicate()
239 alt->desc.bAlternateSetting != asnum) in config_endpoint_is_duplicate()
242 for (k = 0; k < alt->desc.bNumEndpoints; ++k) { in config_endpoint_is_duplicate()
243 epd = &alt->endpoint[k].desc; in config_endpoint_is_duplicate()
490 struct usb_host_interface *alt = &intfc->altsetting[j]; in usb_release_interface_cache() local
492 kfree(alt->endpoint); in usb_release_interface_cache()
493 kfree(alt->string); in usb_release_interface_cache()
506 struct usb_host_interface *alt; in usb_parse_interface() local
[all...]
/kernel/linux/linux-6.6/drivers/input/misc/
H A 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 in ati_remote2_disconnect() local
916 struct usb_host_interface *alt = interface->cur_altsetting; ati_remote2_suspend() local
940 struct usb_host_interface *alt = interface->cur_altsetting; ati_remote2_resume() local
966 struct usb_host_interface *alt = interface->cur_altsetting; ati_remote2_reset_resume() local
997 struct usb_host_interface *alt = interface->cur_altsetting; ati_remote2_pre_reset() local
1017 struct usb_host_interface *alt = interface->cur_altsetting; ati_remote2_post_reset() local
[all...]
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A Dalternative.c176 const Elf_Shdr *alt; in apply_vdso_alternatives() local
181 alt = find_section(hdr, shdr, ".alternative"); in apply_vdso_alternatives()
182 if (!alt) in apply_vdso_alternatives()
185 begin = (void *)hdr + alt->sh_offset, in apply_vdso_alternatives()
186 end = (void *)hdr + alt->sh_offset + alt->sh_size, in apply_vdso_alternatives()
/kernel/linux/linux-5.10/drivers/infiniband/core/
H 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()
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 in get_new_pps()
[all...]

Completed in 22 milliseconds

12345678910>>...20