Home
last modified time | relevance | path

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

12345678

/linux/drivers/platform/chrome/
H A Dcros_typec_altmode.c21 struct typec_altmode *alt; member
47 if (typec_altmode_vdm(data->alt, data->header, data->vdo_data, in cros_typec_altmode_work()
49 dev_err(&data->alt->dev, "VDM 0x%x failed\n", data->header); in cros_typec_altmode_work()
58 static int cros_typec_altmode_enter(struct typec_altmode *alt, u32 *vdo) in cros_typec_altmode_enter() argument
60 struct cros_typec_altmode_data *adata = typec_altmode_get_drvdata(alt); in cros_typec_altmode_enter()
69 dev_warn(&alt->dev, in cros_typec_altmode_enter()
86 svdm_version = typec_altmode_get_svdm_version(alt); in cros_typec_altmode_enter()
103 static int cros_typec_altmode_exit(struct typec_altmode *alt) in cros_typec_altmode_exit() argument
105 struct cros_typec_altmode_data *adata = typec_altmode_get_drvdata(alt); in cros_typec_altmode_exit()
114 dev_warn(&alt in cros_typec_altmode_exit()
142 cros_typec_displayport_vdm(struct typec_altmode * alt,u32 header,const u32 * data,int count) cros_typec_displayport_vdm() argument
202 cros_typec_thunderbolt_vdm(struct typec_altmode * alt,u32 header,const u32 * data,int count) cros_typec_thunderbolt_vdm() argument
252 cros_typec_altmode_vdm(struct typec_altmode * alt,u32 header,const u32 * data,int count) cros_typec_altmode_vdm() argument
313 struct typec_altmode *alt; cros_typec_register_displayport() local
348 struct typec_altmode *alt; cros_typec_register_thunderbolt() local
[all...]
/linux/drivers/tty/vt/
H A 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/arch/arm64/kernel/
H A Dalternative.c51 static __always_inline bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) in branch_insn_requires_update() argument
53 unsigned long replptr = (unsigned long)ALT_REPL_PTR(alt); in branch_insn_requires_update()
54 return !(pc >= replptr && pc <= (replptr + alt->alt_len)); in branch_insn_requires_update()
59 static __always_inline u32 get_alt_insn(struct alt_instr *alt, __le32 *insnptr, __le32 *altinsnptr) in get_alt_insn() argument
76 if (branch_insn_requires_update(alt, target)) { in get_alt_insn()
104 static noinstr void patch_alternative(struct alt_instr *alt, in patch_alternative() argument
110 replptr = ALT_REPL_PTR(alt); in patch_alternative()
114 insn = get_alt_insn(alt, origptr + i, replptr + i); in patch_alternative()
146 struct alt_instr *alt; in __apply_alternatives() local
150 for (alt = region->begin; alt < region->end; alt++) { in __apply_alternatives()
[all …]
/linux/drivers/usb/typec/ucsi/
H A Ddisplayport.c21 struct typec_altmode *alt; member
39 * them. That is because UCSI defines alt mode details and alt mode "overriding"
42 * In case alt mode details are supported, but overriding is not, the driver
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()
61 const struct typec_altmode *p = typec_altmode_get_partner(alt); in ucsi_displayport_enter()
78 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; in ucsi_displayport_enter()
88 * mode, and letting the alt mode driver continue. in ucsi_displayport_enter()
91 svdm_version = typec_altmode_get_svdm_version(alt); in ucsi_displayport_enter()
112 ucsi_displayport_exit(struct typec_altmode * alt) ucsi_displayport_exit() argument
201 ucsi_displayport_vdm(struct typec_altmode * alt,u32 header,const u32 * data,int count) ucsi_displayport_vdm() argument
297 ucsi_displayport_remove_partner(struct typec_altmode * alt) ucsi_displayport_remove_partner() argument
321 struct typec_altmode *alt; ucsi_register_displayport() local
[all...]
H A Ducsi_ccg.c430 struct ucsi_ccg_altmode *alt, *new_alt; in ucsi_ccg_update_altmodes()
437 alt = uc->orig; in ucsi_ccg_update_altmodes()
447 alt[i].svid = orig[i].svid; in ucsi_ccg_update_altmodes()
448 alt[i].mid = orig[i].mid; in ucsi_ccg_update_altmodes()
449 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
454 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
458 if (alt[i].checked) in ucsi_ccg_update_altmodes()
461 if (!DP_CONF_GET_PIN_ASSIGN(alt[i].mid)) { in ucsi_ccg_update_altmodes()
463 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes()
464 new_alt[k].mid |= alt[ in ucsi_ccg_update_altmodes()
403 struct ucsi_ccg_altmode *alt, *new_alt; ucsi_ccg_update_altmodes() local
482 struct typec_altmode *alt = NULL; ucsi_ccg_update_set_new_cam_cmd() local
545 ucsi_ccg_nvidia_altmode(struct ucsi_ccg * uc,struct ucsi_altmode * alt,u64 command) ucsi_ccg_nvidia_altmode() argument
644 struct ucsi_altmode *alt = data; ucsi_ccg_sync_control() local
[all...]
H A Dtrace.h85 TP_PROTO(u8 recipient, struct typec_altmode *alt),
86 TP_ARGS(recipient, alt),
95 __entry->svid = alt->svid;
96 __entry->mode = alt->mode;
97 __entry->vdo = alt->vdo;
105 TP_PROTO(u8 recipient, struct typec_altmode *alt),
106 TP_ARGS(recipient, alt)
/linux/arch/riscv/errata/mips/
H A Derrata.c61 struct alt_entry *alt; in mips_errata_patch_func()
68 for (alt = begin; alt < end; alt++) {
69 if (alt->vendor_id != MIPS_VENDOR_ID)
72 if (alt->patch_id >= ERRATA_MIPS_NUMBER)
75 tmp = (1U << alt->patch_id);
77 oldptr = ALT_OLD_PTR(alt);
78 altptr = ALT_ALT_PTR(alt);
81 memcpy(oldptr, altptr, alt
40 struct alt_entry *alt; mips_errata_patch_func() local
[all...]
/linux/sound/soc/sof/intel/
H A Dhda-mlink.c30 * @alt: flag set for alternate extended links
52 bool alt; member
118 h2link->alt = FIELD_GET(AZX_ML_HDA_LCAP_ALT, hlink->lcaps); in hdaml_lnk_enum()
121 if (!h2link->alt) { in hdaml_lnk_enum()
420 if (!h2link->alt) in hda_ml_alloc_h2link()
473 find_ext2_link(struct hdac_bus *bus, bool alt, int elid) in find_ext2_link()
480 if (h2link->alt == alt && h2link->elid == elid) in find_ext2_link()
487 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_get_count()
491 h2link = find_ext2_link(bus, alt, eli in hdac_bus_eml_get_count()
469 find_ext2_link(struct hdac_bus * bus,bool alt,int elid) find_ext2_link() argument
483 hdac_bus_eml_get_count(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_get_count() argument
495 hdac_bus_eml_enable_interrupt_unlocked(struct hdac_bus * bus,bool alt,int elid,bool enable) hdac_bus_eml_enable_interrupt_unlocked() argument
513 hdac_bus_eml_enable_interrupt(struct hdac_bus * bus,bool alt,int elid,bool enable) hdac_bus_eml_enable_interrupt() argument
532 hdac_bus_eml_check_interrupt(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_check_interrupt() argument
550 hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus * bus,bool alt,int elid,u32 syncprd) hdac_bus_eml_set_syncprd_unlocked() argument
576 hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_wait_syncpu_unlocked() argument
600 hdac_bus_eml_sync_arm_unlocked(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_sync_arm_unlocked() argument
624 hdac_bus_eml_sync_go_unlocked(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_sync_go_unlocked() argument
650 hdac_bus_eml_check_cmdsync_unlocked(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_check_cmdsync_unlocked() argument
679 hdac_bus_eml_power_up_base(struct hdac_bus * bus,bool alt,int elid,int sublink,bool eml_lock) hdac_bus_eml_power_up_base() argument
729 hdac_bus_eml_power_up(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_power_up() argument
735 hdac_bus_eml_power_up_unlocked(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_power_up_unlocked() argument
741 hdac_bus_eml_power_down_base(struct hdac_bus * bus,bool alt,int elid,int sublink,bool eml_lock) hdac_bus_eml_power_down_base() argument
786 hdac_bus_eml_power_down(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_power_down() argument
792 hdac_bus_eml_power_down_unlocked(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_power_down_unlocked() argument
943 hdac_bus_eml_get_mutex(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_get_mutex() argument
991 hdac_bus_eml_enable_offload(struct hdac_bus * bus,bool alt,int elid,bool enable) hdac_bus_eml_enable_offload() argument
1012 hdac_bus_eml_set_mic_privacy_mask(struct hdac_bus * bus,bool alt,int elid,unsigned long mask) hdac_bus_eml_set_mic_privacy_mask() argument
1038 hdac_bus_eml_is_mic_privacy_changed(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_is_mic_privacy_changed() argument
1072 hdac_bus_eml_get_mic_privacy_state(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_get_mic_privacy_state() argument
[all...]
/linux/arch/riscv/errata/sifive/
H A Derrata.c102 struct alt_entry *alt; in sifive_errata_patch_func() local
113 for (alt = begin; alt < end; alt++) { in sifive_errata_patch_func()
114 if (alt->vendor_id != SIFIVE_VENDOR_ID) in sifive_errata_patch_func()
116 if (alt->patch_id >= ERRATA_SIFIVE_NUMBER) in sifive_errata_patch_func()
119 tmp = (1U << alt->patch_id); in sifive_errata_patch_func()
122 patch_text_nosync(ALT_OLD_PTR(alt), ALT_ALT_PTR(alt), in sifive_errata_patch_func()
123 alt->alt_len); in sifive_errata_patch_func()
/linux/arch/powerpc/perf/
H A Dpower6-pmu.c360 unsigned int alt = presorted_event_table[mid]; in find_alternatives_list() local
362 if (alt < event) in find_alternatives_list()
364 else if (alt > event) in find_alternatives_list()
373 static int p6_get_alternatives(u64 event, unsigned int flags, u64 alt[]) in p6_get_alternatives() argument
380 alt[0] = event; in p6_get_alternatives()
392 alt[nalt++] = aevent; in p6_get_alternatives()
402 alt[nalt++] = ((event ^ 0x6) & ~PM_PMC_MSKS) | in p6_get_alternatives()
407 alt[nalt++] = ((event ^ 0x2) & ~PM_PMC_MSKS) | in p6_get_alternatives()
424 switch (alt[i]) { in p6_get_alternatives()
426 alt[j++] = 0x600005; /* PM_RUN_CYC */ in p6_get_alternatives()
[all …]
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[j++] = 0x200009; in power5p_get_alternatives()
[all …]
/linux/arch/riscv/errata/thead/
H A Derrata.c193 struct alt_entry *alt; in thead_errata_patch_func() local
200 for (alt = begin; alt < end; alt++) { in thead_errata_patch_func()
201 if (alt->vendor_id != THEAD_VENDOR_ID) in thead_errata_patch_func()
203 if (alt->patch_id >= ERRATA_THEAD_NUMBER) in thead_errata_patch_func()
206 tmp = (1U << alt->patch_id); in thead_errata_patch_func()
208 oldptr = ALT_OLD_PTR(alt); in thead_errata_patch_func()
209 altptr = ALT_ALT_PTR(alt); in thead_errata_patch_func()
213 memcpy(oldptr, altptr, alt->alt_len); in thead_errata_patch_func()
216 patch_text_nosync(oldptr, altptr, alt->alt_len); in thead_errata_patch_func()
/linux/drivers/usb/storage/
H A 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, ep in uas_use_uas_driver()
[all...]
/linux/tools/objtool/arch/x86/
H A Dspecial.c39 void arch_handle_alternative(struct special_alt *alt) in arch_support_alt_relocation()
46 if (group && group->orig_sec == alt->orig_sec &&
47 group->orig_off == alt->orig_off) {
51 unsigned int len = max(iter->orig_len, alt->orig_len);
52 iter->orig_len = alt->orig_len = len;
60 } else group = alt;
62 prev = alt;
8 arch_handle_alternative(struct special_alt * alt) arch_handle_alternative() argument
/linux/arch/arm64/include/asm/
H A Dspectre.h106 void spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
108 void smccc_patch_fw_mitigation_conduit(struct alt_instr *alt, __le32 *origptr,
110 void spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
112 void spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, __le32 *origptr,
114 void spectre_bhb_patch_loop_iter(struct alt_instr *alt,
116 void spectre_bhb_patch_wa3(struct alt_instr *alt,
118 void spectre_bhb_patch_clearbhb(struct alt_instr *alt,
/linux/arch/arm/boot/dts/aspeed/
H A Dopenbmc-flash-layout-64-alt.dtsi13 label = "alt-u-boot";
18 label = "alt-u-boot-env";
23 label = "alt-kernel";
28 label = "alt-rofs";
33 label = "alt-rwfs";
/linux/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
/linux/Documentation/admin-guide/blockdev/drbd/
H A 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: peer-states-8.dot
/linux/tools/objtool/
H A Ddisas.c49 struct alternative *alt; /* alternative or NULL if default code */ member
60 #define DALT_DEFAULT(dalt) (!(dalt)->alt)
61 #define DALT_INSN(dalt) (DALT_DEFAULT(dalt) ? (dalt)->orig_insn : (dalt)->alt->insn)
624 struct alternative *alt; in disas_alt_type_name()
628 for (alt = insn->alts; alt; alt = alt->next) { in disas_alt_type_name()
629 if (alt->type == ALT_TYPE_INSTRUCTIONS) { in disas_alt_type_name()
634 switch (alt in disas_alt_type_name()
626 struct alternative *alt; disas_alt_type_name() local
655 disas_alt_name(struct alternative * alt) disas_alt_name() argument
722 disas_alt_init(struct disas_alt * dalt,struct instruction * orig_insn,struct alternative * alt) disas_alt_init() argument
1081 struct alternative *alt; disas_alt() local
[all...]
H A Dklp-checksum.c74 struct alternative *alt; in checksum_update_insn() local
166 for (alt = insn->alts; alt; alt = alt->next) { in checksum_update_insn()
167 struct alt_group *alt_group = alt->insn->alt_group; in checksum_update_insn()
174 __checksum_update_insn(func, insn, &alt->type, in checksum_update_insn()
175 sizeof(alt->type)); in checksum_update_insn()
182 for (alt_insn = alt->insn; alt_insn; alt_insn = next_insn_same_sec(file, alt_insn)) { in checksum_update_insn()
188 checksum_update_insn(file, func, alt->insn); in checksum_update_insn()
/linux/Documentation/networking/
H A 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/drivers/usb/core/
H A Dmessage.c707 * configuration or interface alt setting is selected.
1305 struct usb_host_interface *alt = intf->cur_altsetting; in create_intf_ep_devs() local
1311 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in create_intf_ep_devs()
1312 (void) usb_create_ep_devs(&intf->dev, &alt->endpoint[i], udev); in create_intf_ep_devs()
1319 struct usb_host_interface *alt = intf->cur_altsetting; in remove_intf_ep_devs() local
1325 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in remove_intf_ep_devs()
1326 usb_remove_ep_devs(&alt->endpoint[i]); in remove_intf_ep_devs()
1410 struct usb_host_interface *alt = intf->cur_altsetting; in usb_disable_interface() local
1413 for (i = 0; i < alt->desc.bNumEndpoints; ++i) { in usb_disable_interface()
1415 alt in usb_disable_interface()
1546 struct usb_host_interface *alt = intf->cur_altsetting; usb_enable_interface() local
1596 struct usb_host_interface *alt; usb_set_interface() local
1808 struct usb_host_interface *alt; usb_reset_configuration() local
1891 const struct usb_host_interface *alt; usb_if_uevent() local
2168 struct usb_host_interface *alt; usb_set_configuration() local
[all...]
/linux/drivers/input/misc/
H A Dati_remote2.c764 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_probe() local
768 if (alt->desc.bInterfaceNumber) in ati_remote2_probe()
778 if (alt->desc.bNumEndpoints < 1 || !alt->endpoint) { in ati_remote2_probe()
785 ar2->ep[0] = &alt->endpoint[0].desc; in ati_remote2_probe()
801 alt = ar2->intf[1]->cur_altsetting; in ati_remote2_probe()
802 if (alt->desc.bNumEndpoints < 1 || !alt->endpoint) { in ati_remote2_probe()
808 ar2->ep[1] = &alt->endpoint[0].desc; in ati_remote2_probe()
849 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_disconnect() local
851 if (alt->desc.bInterfaceNumber) in ati_remote2_disconnect()
870 struct usb_host_interface *alt = interface->cur_altsetting; in ati_remote2_suspend() local
[all …]
/linux/arch/s390/kernel/
H A Dvdso.c144 const struct elf64_shdr *alt, *shdr; in vdso_apply_alternatives()
150 alt = find_section(hdr, shdr, ".altinstructions"); in vdso_apply_alternatives()
151 if (!alt) in vdso_apply_alternatives()
153 start = (void *)hdr + alt->sh_offset; in vdso_apply_alternatives()
154 end = (void *)hdr + alt->sh_offset + alt->sh_size; in vdso_apply_alternatives()
145 const struct elf64_shdr *alt, *shdr; vdso_apply_alternatives() local
/linux/drivers/media/usb/cx231xx/
H A 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 …]

12345678