/linux-master/drivers/usb/typec/altmodes/ |
H A D | displayport.h | 3 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; } argument 7 void dp_altmode_remove(struct typec_altmode *alt) { } argument
|
H A D | nvidia.c | 12 static int nvidia_altmode_probe(struct typec_altmode *alt) argument 14 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) 15 return dp_altmode_probe(alt); 20 static void nvidia_altmode_remove(struct typec_altmode *alt) argument 22 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) 23 dp_altmode_remove(alt);
|
H A D | displayport.c | 20 #define DP_HEADER(_dp, ver, cmd) (VDO((_dp)->alt->svid, 1, ver, cmd) \ 71 struct typec_altmode *alt; member in struct:dp_altmode 89 return typec_altmode_notify(dp->alt, conf, &dp->data); 105 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & 114 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & 179 sysfs_notify(&dp->alt->dev.kobj, "displayport", "hpd"); 187 sysfs_notify(&dp->alt->dev.kobj, "displayport", "configuration"); 188 sysfs_notify(&dp->alt->dev.kobj, "displayport", "pin_assignment"); 197 sysfs_notify(&dp->alt->dev.kobj, "displayport", "hpd"); 206 int svdm_version = typec_altmode_get_svdm_version(dp->alt); 322 dp_altmode_attention(struct typec_altmode *alt, const u32 vdo) argument 348 dp_altmode_vdm(struct typec_altmode *alt, const u32 hdr, const u32 *vdo, int count) argument 416 dp_cable_altmode_vdm(struct typec_altmode *alt, enum typec_plug_index sop, const u32 hdr, const u32 *vdo, int count) argument 475 dp_altmode_activate(struct typec_altmode *alt, int activate) argument 723 dp_altmode_probe(struct typec_altmode *alt) argument 777 dp_altmode_remove(struct typec_altmode *alt) argument [all...] |
/linux-master/include/sound/ |
H A D | hda-mlink.h | 17 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid); 18 void hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable); 19 bool hdac_bus_eml_check_interrupt(struct hdac_bus *bus, bool alt, int elid); 21 int hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus *bus, bool alt, int elid, u32 syncprd); 24 int hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus *bus, bool alt, int elid); 27 void hdac_bus_eml_sync_arm_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink); 30 int hdac_bus_eml_sync_go_unlocked(struct hdac_bus *bus, bool alt, int elid); 33 bool hdac_bus_eml_check_cmdsync_unlocked(struct hdac_bus *bus, bool alt, int elid); 36 int hdac_bus_eml_power_up(struct hdac_bus *bus, bool alt, int elid, int sublink); 37 int hdac_bus_eml_power_up_unlocked(struct hdac_bus *bus, bool alt, in 72 hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid) argument 75 hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable) argument 78 hdac_bus_eml_check_interrupt(struct hdac_bus *bus, bool alt, int elid) argument 81 hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus *bus, bool alt, int elid, u32 syncprd) argument 93 hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus *bus, bool alt, int elid) argument 102 hdac_bus_eml_sync_arm_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink) argument 108 hdac_bus_eml_sync_go_unlocked(struct hdac_bus *bus, bool alt, int elid) argument 114 hdac_bus_eml_check_cmdsync_unlocked(struct hdac_bus *bus, bool alt, int elid) argument 120 hdac_bus_eml_power_up(struct hdac_bus *bus, bool alt, int elid, int sublink) argument 126 hdac_bus_eml_power_up_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink) argument 132 hdac_bus_eml_power_down(struct hdac_bus *bus, bool alt, int elid, int sublink) argument 138 hdac_bus_eml_power_down_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink) argument 177 hdac_bus_eml_get_mutex(struct hdac_bus *bus, bool alt, int elid) argument 180 hdac_bus_eml_enable_offload(struct hdac_bus *bus, bool alt, int elid, bool enable) argument [all...] |
/linux-master/tools/objtool/ |
H A D | special.c | 57 void __weak arch_handle_alternative(unsigned short feature, struct special_alt *alt) argument 70 struct special_alt *alt) 77 alt->group = entry->group; 78 alt->jump_or_nop = entry->jump_or_nop; 80 if (alt->group) { 81 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset + 83 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset + 94 arch_handle_alternative(feature, alt); 103 reloc_to_sec_off(orig_reloc, &alt->orig_sec, &alt 68 get_alt_entry(struct elf *elf, const struct special_entry *entry, struct section *sec, int idx, struct special_alt *alt) argument 145 struct special_alt *alt; local [all...] |
/linux-master/arch/riscv/errata/sifive/ |
H A D | errata.c | 89 struct alt_entry *alt; local 99 for (alt = begin; alt < end; alt++) { 100 if (alt->vendor_id != SIFIVE_VENDOR_ID) 102 if (alt->patch_id >= ERRATA_SIFIVE_NUMBER) { 103 WARN(1, "This errata id:%d is not in kernel errata list", alt->patch_id); 107 tmp = (1U << alt->patch_id); 110 patch_text_nosync(ALT_OLD_PTR(alt), ALT_ALT_PTR(alt), [all...] |
/linux-master/arch/arm64/kernel/ |
H A D | alternative.c | 51 static __always_inline bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) argument 53 unsigned long replptr = (unsigned long)ALT_REPL_PTR(alt); 54 return !(pc >= replptr && pc <= (replptr + alt->alt_len)); 59 static __always_inline u32 get_alt_insn(struct alt_instr *alt, __le32 *insnptr, __le32 *altinsnptr) argument 76 if (branch_insn_requires_update(alt, target)) { 104 static noinstr void patch_alternative(struct alt_instr *alt, argument 110 replptr = ALT_REPL_PTR(alt); 114 insn = get_alt_insn(alt, origptr + i, replptr + i); 146 struct alt_instr *alt; local 150 for (alt 203 const struct elf64_shdr *alt; local 294 alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr, __le32 *updptr, int nr_inst) argument [all...] |
/linux-master/arch/riscv/errata/thead/ |
H A D | errata.c | 158 struct alt_entry *alt; local 163 for (alt = begin; alt < end; alt++) { 164 if (alt->vendor_id != THEAD_VENDOR_ID) 166 if (alt->patch_id >= ERRATA_THEAD_NUMBER) 169 tmp = (1U << alt->patch_id); 171 oldptr = ALT_OLD_PTR(alt); 172 altptr = ALT_ALT_PTR(alt); 176 memcpy(oldptr, altptr, alt [all...] |
/linux-master/drivers/usb/typec/ucsi/ |
H A D | displayport.c | 21 struct typec_altmode *alt; member in struct:ucsi_dp 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) argument 50 struct ucsi_dp *dp = typec_altmode_get_drvdata(alt); 60 const struct typec_altmode *p = typec_altmode_get_partner(alt); 77 ret = dp->con->port_altmode[cur] == alt ? 0 : -EBUSY; 84 * mode, and letting the alt mode driver continue. 87 svdm_version = typec_altmode_get_svdm_version(alt); 108 ucsi_displayport_exit(struct typec_altmode *alt) argument 197 ucsi_displayport_vdm(struct typec_altmode *alt, u32 header, const u32 *data, int count) argument 292 ucsi_displayport_remove_partner(struct typec_altmode *alt) argument 314 struct typec_altmode *alt; local [all...] |
H A D | trace.h | 86 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)
|
/linux-master/drivers/usb/storage/ |
H A D | uas-detect.h | 19 struct usb_host_interface *alt = &intf->altsetting[i]; local 21 if (uas_is_interface(alt)) 22 return alt; 28 static int uas_find_endpoints(struct usb_host_interface *alt, argument 31 struct usb_host_endpoint *endpoint = alt->endpoint; 32 unsigned i, n_endpoints = alt->desc.bNumEndpoints; 63 struct usb_host_interface *alt; local 66 alt = uas_find_uas_alt_setting(intf); 67 if (!alt) 70 r = uas_find_endpoints(alt, ep [all...] |
/linux-master/arch/arm64/include/asm/ |
H A D | spectre.h | 104 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,
|
H A D | alternative.h | 21 typedef void (*alternative_cb_t)(struct alt_instr *alt, 34 void alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr,
|
/linux-master/tools/objtool/arch/x86/ |
H A D | special.c | 10 void arch_handle_alternative(unsigned short feature, struct special_alt *alt) argument 24 alt->skip_orig = true; 26 alt->skip_alt = true; 34 alt->skip_orig = true;
|
/linux-master/arch/x86/include/asm/ |
H A D | paravirt_types.h | 406 #define ____PVOP_ALT_CALL(ret, op, alt, cond, call_clbr, \ 413 alt, cond) \ 425 #define __PVOP_ALT_CALL(rettype, op, alt, cond, ...) \ 426 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op, alt, cond, \ 434 #define __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond, ...) \ 435 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op.func, alt, cond, \ 443 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \ 444 (void)____PVOP_ALT_CALL(, op, alt, cond, \ 452 #define __PVOP_ALT_VCALLEESAVE(op, alt, cond, ...) \ 453 (void)____PVOP_ALT_CALL(, op.func, alt, con [all...] |
/linux-master/sound/usb/ |
H A D | helper.h | 25 #define get_endpoint(alt,ep) (&(alt)->endpoint[ep].desc)
|
/linux-master/drivers/usb/typec/ |
H A D | bus.c | 17 typec_altmode_set_retimer(struct altmode *alt, unsigned long conf, void *data) argument 21 if (!alt->retimer) 24 state.alt = &alt->adev; 28 return typec_retimer_set(alt->retimer, &state); 32 typec_altmode_set_mux(struct altmode *alt, unsigned long conf, void *data) argument 36 if (!alt->mux) 39 state.alt = &alt->adev; 43 return typec_mux_set(alt 48 typec_altmode_set_switches(struct altmode *alt, unsigned long conf, void *data) argument 438 struct typec_altmode *alt = to_typec_altmode(dev); local 477 typec_altmode_create_links(struct altmode *alt) argument 494 typec_altmode_remove_links(struct altmode *alt) argument [all...] |
H A D | class.c | 248 /* Bind the port alt mode to the partner/plug alt mode. */ 252 /* Bind the partner/plug alt mode to the port alt mode. */ 316 * @alt: The Alternate Mode 318 * Returns handle to the port that a cable plug or partner with @alt is 321 struct typec_port *typec_altmode2port(struct typec_altmode *alt) argument 323 if (is_typec_plug(alt->dev.parent)) 324 return to_typec_port(alt->dev.parent->parent->parent); 325 if (is_typec_partner(alt 337 struct typec_altmode *alt = to_typec_altmode(dev); local 346 struct typec_altmode *alt = to_typec_altmode(dev); local 355 struct typec_altmode *alt = to_typec_altmode(dev); local 403 struct altmode *alt = to_altmode(to_typec_altmode(dev)); local 500 struct altmode *alt = to_altmode(to_typec_altmode(dev)); local 521 struct altmode *alt; local 2279 struct typec_altmode *alt; local [all...] |
/linux-master/Documentation/networking/ |
H A D | mac80211-auth-assoc-deauth.txt | 13 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-master/arch/powerpc/perf/ |
H A D | power6-pmu.c | 360 unsigned int alt = presorted_event_table[mid]; local 362 if (alt < event) 364 else if (alt > event) 373 static int p6_get_alternatives(u64 event, unsigned int flags, u64 alt[]) argument 380 alt[0] = event; 392 alt[nalt++] = aevent; 402 alt[nalt++] = ((event ^ 0x6) & ~PM_PMC_MSKS) | 407 alt[nalt++] = ((event ^ 0x2) & ~PM_PMC_MSKS) | 424 switch (alt[i]) { 426 alt[ [all...] |
/linux-master/sound/soc/sof/intel/ |
H A D | hda-mlink.c | 29 * @alt: flag set for alternate extended links 50 bool alt; member in struct:hdac_ext2_link 107 h2link->alt = FIELD_GET(AZX_ML_HDA_LCAP_ALT, hlink->lcaps); 110 if (!h2link->alt) { 409 if (!h2link->alt) 458 find_ext2_link(struct hdac_bus *bus, bool alt, int elid) argument 465 if (h2link->alt == alt && h2link->elid == elid) 472 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid) argument 476 h2link = find_ext2_link(bus, alt, eli 484 hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable) argument 506 hdac_bus_eml_check_interrupt(struct hdac_bus *bus, bool alt, int elid) argument 524 hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus *bus, bool alt, int elid, u32 syncprd) argument 550 hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus *bus, bool alt, int elid) argument 574 hdac_bus_eml_sync_arm_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink) argument 598 hdac_bus_eml_sync_go_unlocked(struct hdac_bus *bus, bool alt, int elid) argument 624 hdac_bus_eml_check_cmdsync_unlocked(struct hdac_bus *bus, bool alt, int elid) argument 653 hdac_bus_eml_power_up_base(struct hdac_bus *bus, bool alt, int elid, int sublink, bool eml_lock) argument 689 hdac_bus_eml_power_up(struct hdac_bus *bus, bool alt, int elid, int sublink) argument 695 hdac_bus_eml_power_up_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink) argument 701 hdac_bus_eml_power_down_base(struct hdac_bus *bus, bool alt, int elid, int sublink, bool eml_lock) argument 736 hdac_bus_eml_power_down(struct hdac_bus *bus, bool alt, int elid, int sublink) argument 742 hdac_bus_eml_power_down_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink) argument 900 hdac_bus_eml_get_mutex(struct hdac_bus *bus, bool alt, int elid) argument 948 hdac_bus_eml_enable_offload(struct hdac_bus *bus, bool alt, int elid, bool enable) argument [all...] |
/linux-master/arch/riscv/kernel/ |
H A D | alternative.c | 176 const Elf_Shdr *alt; local 181 alt = find_section(hdr, shdr, ".alternative"); 182 if (!alt) 185 begin = (void *)hdr + alt->sh_offset, 186 end = (void *)hdr + alt->sh_offset + alt->sh_size,
|
/linux-master/tools/objtool/include/objtool/ |
H A D | special.h | 35 void arch_handle_alternative(unsigned short feature, struct special_alt *alt);
|
/linux-master/arch/loongarch/include/asm/ |
H A D | alternative-asm.h | 15 .macro altinstruction_entry orig alt feature orig_len alt_len 17 .long \alt - .
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-rds-gen.c | 130 bool alt) 135 rds->pty = alt ? 29 : 2; 138 rds->pty = alt ? 16 : 3; 145 rds->ta = alt; 149 if (alt) 129 vivid_rds_gen_fill(struct vivid_rds_gen *rds, unsigned freq, bool alt) argument
|