Searched refs:alt (Results 101 - 125 of 188) sorted by relevance

12345678

/linux-master/drivers/usb/typec/mux/
H A Dfsa4480.c173 if (state->alt)
174 fsa->svid = state->alt->svid;
H A Dintel_pmc_mux.c443 state->alt && state->alt->svid == USB_TYPEC_DP_SID)
448 state->alt && state->alt->svid == USB_TYPEC_TBT_SID)
522 if (state->alt) {
523 switch (state->alt->svid) {
H A Dnb7vpq904m.c285 if (state->alt)
286 nb7->svid = state->alt->svid;
H A Dit5205.c98 state->alt->svid != USB_TYPEC_DP_SID)
/linux-master/arch/x86/entry/vdso/
H A Dvma.c52 apply_alternatives((struct alt_instr *)(image->data + image->alt),
53 (struct alt_instr *)(image->data + image->alt +
/linux-master/include/linux/usb/
H A Dpd_vdo.h236 #define VDO_UFP(ver, cap, conn, vcpwr, vcr, vbr, alt, spd) \
238 | ((vcpwr) & 0x7) << 8 | (vcr) << 7 | (vbr) << 6 | ((alt) & 0x7) << 3 \
/linux-master/arch/x86/include/asm/
H A Dalternative.h387 .macro altinstr_entry orig alt ft_flags orig_len alt_len
389 .long \alt - .
/linux-master/drivers/usb/gadget/function/
H A Df_uac1_legacy.c574 static int f_audio_set_alt(struct usb_function *f, unsigned intf, unsigned alt) argument
584 DBG(cdev, "intf %d, alt %d\n", intf, alt);
591 /* No i/f has more than 2 alt settings */
592 if (alt > 1) {
599 if (alt) {
605 if (alt == 1) {
649 audio->as_alt = alt;
H A Df_sourcesink.c374 * endpoints, so null out the alt interface that contains
646 int alt)
688 if (alt == 0)
730 ss->cur_alt = alt;
732 DBG(cdev, "%s enabled, alt intf %d\n", ss->function.name, alt);
737 unsigned intf, unsigned alt)
743 return enable_source_sink(cdev, ss, alt);
645 enable_source_sink(struct usb_composite_dev *cdev, struct f_sourcesink *ss, int alt) argument
736 sourcesink_set_alt(struct usb_function *f, unsigned intf, unsigned alt) argument
H A Df_ecm.c522 static int ecm_set_alt(struct usb_function *f, unsigned intf, unsigned alt) argument
529 if (alt != 0)
543 if (alt > 1)
567 if (alt == 1) {
637 * - configured but inactive (data alt 0)
638 * - configured and active (data alt 1)
H A Df_uvc.c292 uvc_function_set_alt(struct usb_function *f, unsigned interface, unsigned alt) argument
300 uvcg_info(f, "%s(%u, %u)\n", __func__, interface, alt);
303 if (alt)
335 return alt ? -EINVAL : 0;
338 switch (alt) {
H A Df_uac1.c947 static int f_audio_set_alt(struct usb_function *f, unsigned intf, unsigned alt) argument
956 /* No i/f has more than 2 alt settings */
957 if (alt > 1) {
964 if (alt) {
980 uac1->as_out_alt = alt;
982 if (alt)
987 uac1->as_in_alt = alt;
989 if (alt)
/linux-master/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik.c184 #define PIN_CFG(num, alt) \
186 (PIN_NUM(num) | PIN_##alt))
188 #define PIN_CFG_INPUT(num, alt, pull) \
190 (PIN_NUM(num) | PIN_##alt | PIN_INPUT_##pull))
192 #define PIN_CFG_OUTPUT(num, alt, val) \
194 (PIN_NUM(num) | PIN_##alt | PIN_OUTPUT_##val))
/linux-master/drivers/media/test-drivers/visl/
H A Dvisl-dec.c106 struct vb2_buffer *alt; local
110 alt = vb2_find_buffer(cap_q, run->vp8.frame->alt_frame_ts);
117 run->vp8.frame->alt_frame_ts, alt);
125 struct vb2_buffer *alt; local
129 alt = vb2_find_buffer(cap_q, run->vp9.frame->alt_frame_ts);
136 run->vp9.frame->alt_frame_ts, alt);
/linux-master/tools/perf/
H A Dbuiltin-script.c937 struct addr_location alf, alt; local
940 addr_location__init(&alt);
942 thread__find_map_fb(thread, sample->cpumode, to, &alt);
946 printed += map__fprintf_dsoname_dsoff(alt.map, PRINT_FIELD(DSOFF), alt.addr, fp);
947 addr_location__exit(&alt);
971 struct addr_location alf, alt; local
974 addr_location__init(&alt);
979 thread__find_symbol_fb(thread, sample->cpumode, to, &alt);
985 printed += symbol__fprintf_symname_offs(alt
1009 struct addr_location alf, alt; local
[all...]
/linux-master/sound/usb/misc/
H A Dua101.c890 struct usb_host_interface *alt; local
899 alt = &interface->altsetting[0];
900 if (alt->desc.bNumEndpoints != 0) {
905 alt = &interface->altsetting[1];
906 if (alt->desc.bNumEndpoints != 1) {
911 extra = alt->extra;
912 extralen = alt->extralen;
/linux-master/drivers/usb/serial/
H A Dxr_serial.c754 struct usb_host_interface *alt = port->serial->interface->cur_altsetting; local
817 0, alt->desc.bInterfaceNumber,
953 struct usb_host_interface *alt = control->cur_altsetting; local
959 ret = cdc_parse_cdc_header(&hdrs, control, alt->extra, alt->extralen);
/linux-master/drivers/tty/
H A Dsysrq.c654 unsigned int alt; member in struct:sysrq_state
834 sysrq->alt = KEY_RESERVED;
837 sysrq->alt = code;
853 if (value == 1 && sysrq->alt != KEY_RESERVED) {
855 sysrq->alt_use = sysrq->alt;
1013 * later, but we expect all such keyboards to have left alt.
/linux-master/drivers/net/wireless/realtek/rtw88/
H A Dregd.c515 u8 alt; member in struct:rtw_regd_alternative_t
519 [(_regd)] = {.set = true, .alt = (_regd_alt)}
539 *regd_alt = rtw_regd_alt[regd].alt;
/linux-master/drivers/ata/
H A Dpata_hpt3x2n.c310 struct ata_port *alt = ap->host->ports[ap->port_no ^ 1]; local
319 if ((flags & USE_DPLL) != dpll && alt->qc_active)
/linux-master/arch/arm64/kernel/
H A Dmte.c218 void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr,
221 void __init kasan_hw_tags_enable(struct alt_instr *alt, __le32 *origptr, argument
/linux-master/drivers/media/usb/gspca/
H A Dgspca.h114 cam_v_op stopN; /* called on stream off - main alt */
115 cam_v_op stop0; /* called on stream off & disconnect - alt 0 */
210 __u8 alt; /* USB alternate setting */ member in struct:gspca_dev
/linux-master/arch/powerpc/perf/
H A Disa207-common.h285 int isa207_get_alternatives(u64 event, u64 alt[], int size, unsigned int flags,
/linux-master/drivers/w1/masters/
H A Dds2490.c1019 int i, err, alt; local
1042 alt = 3;
1044 intf->cur_altsetting->desc.bInterfaceNumber, alt);
1047 "for %d interface: err=%d.\n", alt,
/linux-master/arch/arm64/include/asm/
H A Dkvm_mmu.h102 void kvm_update_va_mask(struct alt_instr *alt,

Completed in 376 milliseconds

12345678