Home
last modified time | relevance | path

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

1234567891011

/linux/include/sound/
H A Dhda-mlink.h17 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid);
18 void hdac_bus_eml_enable_interrupt_unlocked(struct hdac_bus *bus, bool alt, int elid, bool enable);
19 void hdac_bus_eml_enable_interrupt(struct hdac_bus *bus, bool alt, int elid, bool enable);
20 bool hdac_bus_eml_check_interrupt(struct hdac_bus *bus, bool alt, int elid);
22 int hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus *bus, bool alt, int elid, u32 syncprd);
25 int hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus *bus, bool alt, int elid);
28 void hdac_bus_eml_sync_arm_unlocked(struct hdac_bus *bus, bool alt, int elid, int sublink);
31 int hdac_bus_eml_sync_go_unlocked(struct hdac_bus *bus, bool alt, int elid);
34 bool hdac_bus_eml_check_cmdsync_unlocked(struct hdac_bus *bus, bool alt, int elid);
37 int hdac_bus_eml_power_up(struct hdac_bus *bus, bool alt, in
79 hdac_bus_eml_get_count(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_get_count() argument
82 hdac_bus_eml_enable_interrupt_unlocked(struct hdac_bus * bus,bool alt,int elid,bool enable) hdac_bus_eml_enable_interrupt_unlocked() argument
85 hdac_bus_eml_enable_interrupt(struct hdac_bus * bus,bool alt,int elid,bool enable) hdac_bus_eml_enable_interrupt() argument
88 hdac_bus_eml_check_interrupt(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_check_interrupt() argument
91 hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus * bus,bool alt,int elid,u32 syncprd) hdac_bus_eml_set_syncprd_unlocked() argument
103 hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_wait_syncpu_unlocked() argument
112 hdac_bus_eml_sync_arm_unlocked(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_sync_arm_unlocked() argument
118 hdac_bus_eml_sync_go_unlocked(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_sync_go_unlocked() argument
124 hdac_bus_eml_check_cmdsync_unlocked(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_check_cmdsync_unlocked() argument
130 hdac_bus_eml_power_up(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_power_up() argument
136 hdac_bus_eml_power_up_unlocked(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_power_up_unlocked() argument
142 hdac_bus_eml_power_down(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_power_down() argument
148 hdac_bus_eml_power_down_unlocked(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_power_down_unlocked() argument
187 hdac_bus_eml_get_mutex(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_get_mutex() argument
190 hdac_bus_eml_enable_offload(struct hdac_bus * bus,bool alt,int elid,bool enable) hdac_bus_eml_enable_offload() argument
196 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
202 hdac_bus_eml_is_mic_privacy_changed(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_is_mic_privacy_changed() argument
208 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/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 keycod
[all...]
/linux/drivers/usb/typec/altmodes/
H A Dthunderbolt.c30 struct typec_altmode *alt; member
38 static bool tbt_ready(struct typec_altmode *alt);
45 vdo = tbt->alt->vdo & (TBT_VENDOR_SPECIFIC_B0 | TBT_VENDOR_SPECIFIC_B1); in tbt_enter_mode()
46 vdo |= tbt->alt->vdo & TBT_INTEL_SPECIFIC_B0; in tbt_enter_mode()
63 return typec_altmode_enter(tbt->alt, &vdo); in tbt_enter_mode()
75 ret = typec_cable_altmode_enter(tbt->alt, TYPEC_PLUG_SOP_P, NULL); in tbt_altmode_work()
83 ret = typec_cable_altmode_enter(tbt->alt, TYPEC_PLUG_SOP_PP, NULL); in tbt_altmode_work()
93 dev_dbg(&tbt->alt->dev, "failed to enter mode (%d)\n", in tbt_altmode_work()
97 typec_altmode_exit(tbt->alt); in tbt_altmode_work()
100 typec_cable_altmode_exit(tbt->alt, TYPEC_PLUG_SOP_P in tbt_altmode_work()
133 tbt_enter_modes_ordered(struct typec_altmode * alt) tbt_enter_modes_ordered() argument
160 tbt_cable_altmode_vdm(struct typec_altmode * alt,enum typec_plug_index sop,const u32 hdr,const u32 * vdo,int count) tbt_cable_altmode_vdm() argument
210 tbt_altmode_vdm(struct typec_altmode * alt,const u32 hdr,const u32 * vdo,int count) tbt_altmode_vdm() argument
268 tbt_altmode_activate(struct typec_altmode * alt,int activate) tbt_altmode_activate() argument
294 tbt_altmode_probe(struct typec_altmode * alt) tbt_altmode_probe() argument
323 tbt_altmode_remove(struct typec_altmode * alt) tbt_altmode_remove() argument
336 tbt_ready(struct typec_altmode * alt) tbt_ready() argument
[all...]
H A Ddisplayport.c20 #define DP_HEADER(_dp, ver, cmd) (VDO((_dp)->alt->svid, 1, ver, cmd) \
78 struct typec_altmode *alt; member
96 return typec_altmode_notify(dp->alt, conf, &dp->data); in dp_altmode_notify()
112 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure()
121 pin_assign = DP_CAP_PIN_ASSIGN_UFP_D(dp->alt->vdo) & in dp_altmode_configure()
189 sysfs_notify(&dp->alt->dev.kobj, "displayport", "hpd"); in dp_altmode_status_update()
192 sysfs_notify(&dp->alt->dev.kobj, "displayport", "irq_hpd"); in dp_altmode_status_update()
201 sysfs_notify(&dp->alt->dev.kobj, "displayport", "configuration"); in dp_altmode_configured()
202 sysfs_notify(&dp->alt->dev.kobj, "displayport", "pin_assignment"); in dp_altmode_configured()
211 sysfs_notify(&dp->alt in dp_altmode_configured()
341 dp_altmode_attention(struct typec_altmode * alt,const u32 vdo) dp_altmode_attention() argument
367 dp_altmode_vdm(struct typec_altmode * alt,const u32 hdr,const u32 * vdo,int count) dp_altmode_vdm() argument
438 dp_cable_altmode_vdm(struct typec_altmode * alt,enum typec_plug_index sop,const u32 hdr,const u32 * vdo,int count) dp_cable_altmode_vdm() argument
497 dp_altmode_activate(struct typec_altmode * alt,int activate) dp_altmode_activate() argument
754 dp_altmode_probe(struct typec_altmode * alt) dp_altmode_probe() argument
808 dp_altmode_remove(struct typec_altmode * alt) dp_altmode_remove() argument
[all...]
H A Dnvidia.c12 static int nvidia_altmode_probe(struct typec_altmode *alt) in nvidia_altmode_probe() argument
14 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) in nvidia_altmode_probe()
15 return dp_altmode_probe(alt); in nvidia_altmode_probe()
20 static void nvidia_altmode_remove(struct typec_altmode *alt) in nvidia_altmode_remove() argument
22 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) in nvidia_altmode_remove()
23 dp_altmode_remove(alt); in nvidia_altmode_remove()
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/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 in __apply_alternatives()
203 const struct elf64_shdr *alt; apply_alternatives_vdso() local
294 alt_cb_patch_nops(struct alt_instr * alt,__le32 * origptr,__le32 * updptr,int nr_inst) alt_cb_patch_nops() argument
[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()
85 * mode, and letting the alt mode driver continue. in ucsi_displayport_enter()
88 svdm_version = typec_altmode_get_svdm_version(alt); in ucsi_displayport_enter()
109 ucsi_displayport_exit(struct typec_altmode * alt) ucsi_displayport_exit() argument
199 ucsi_displayport_vdm(struct typec_altmode * alt,u32 header,const u32 * data,int count) ucsi_displayport_vdm() argument
291 ucsi_displayport_remove_partner(struct typec_altmode * alt) ucsi_displayport_remove_partner() argument
315 struct typec_altmode *alt; ucsi_register_displayport() 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;
99 TP_printk("%s alt mode: svid %04x, mode %d vdo %x",
105 TP_PROTO(u8 recipient, struct typec_altmode *alt),
106 TP_ARGS(recipient, alt)
H A Ducsi_ccg.c402 struct ucsi_ccg_altmode *alt, *new_alt; in ucsi_ccg_update_altmodes() local
409 alt = uc->orig; in ucsi_ccg_update_altmodes()
419 alt[i].svid = orig[i].svid; in ucsi_ccg_update_altmodes()
420 alt[i].mid = orig[i].mid; in ucsi_ccg_update_altmodes()
421 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
426 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
430 if (alt[i].checked) in ucsi_ccg_update_altmodes()
433 if (!DP_CONF_GET_PIN_ASSIGN(alt[i].mid)) { in ucsi_ccg_update_altmodes()
435 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes()
436 new_alt[k].mid |= alt[ in ucsi_ccg_update_altmodes()
481 struct typec_altmode *alt = NULL; ucsi_ccg_update_set_new_cam_cmd() local
544 ucsi_ccg_nvidia_altmode(struct ucsi_ccg * uc,struct ucsi_altmode * alt,u64 command) ucsi_ccg_nvidia_altmode() argument
641 struct ucsi_altmode *alt = data; ucsi_ccg_sync_control() 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()
469 find_ext2_link(struct hdac_bus *bus, bool alt, int elid) in find_ext2_link() argument
476 if (h2link->alt == alt && h2link->elid == elid) in find_ext2_link()
483 int hdac_bus_eml_get_count(struct hdac_bus *bus, bool alt, int elid) in hdac_bus_eml_get_count() argument
487 h2link = find_ext2_link(bus, alt, eli in hdac_bus_eml_get_count()
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
535 hdac_bus_eml_check_interrupt(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_check_interrupt() argument
553 hdac_bus_eml_set_syncprd_unlocked(struct hdac_bus * bus,bool alt,int elid,u32 syncprd) hdac_bus_eml_set_syncprd_unlocked() argument
579 hdac_bus_eml_wait_syncpu_unlocked(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_wait_syncpu_unlocked() argument
603 hdac_bus_eml_sync_arm_unlocked(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_sync_arm_unlocked() argument
627 hdac_bus_eml_sync_go_unlocked(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_sync_go_unlocked() argument
653 hdac_bus_eml_check_cmdsync_unlocked(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_check_cmdsync_unlocked() argument
682 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
732 hdac_bus_eml_power_up(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_power_up() argument
738 hdac_bus_eml_power_up_unlocked(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_power_up_unlocked() argument
744 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
789 hdac_bus_eml_power_down(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_power_down() argument
795 hdac_bus_eml_power_down_unlocked(struct hdac_bus * bus,bool alt,int elid,int sublink) hdac_bus_eml_power_down_unlocked() argument
953 hdac_bus_eml_get_mutex(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_get_mutex() argument
1001 hdac_bus_eml_enable_offload(struct hdac_bus * bus,bool alt,int elid,bool enable) hdac_bus_eml_enable_offload() argument
1025 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
1051 hdac_bus_eml_is_mic_privacy_changed(struct hdac_bus * bus,bool alt,int elid) hdac_bus_eml_is_mic_privacy_changed() argument
1085 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.c95 struct alt_entry *alt; in sifive_errata_patch_func() local
107 for (alt = begin; alt < end; alt++) { in sifive_errata_patch_func()
108 if (alt->vendor_id != SIFIVE_VENDOR_ID) in sifive_errata_patch_func()
110 if (alt->patch_id >= ERRATA_SIFIVE_NUMBER) { in sifive_errata_patch_func()
111 WARN(1, "This errata id:%d is not in kernel errata list", alt->patch_id); in sifive_errata_patch_func()
115 tmp = (1U << alt->patch_id); in sifive_errata_patch_func()
118 patch_text_nosync(ALT_OLD_PTR(alt), ALT_ALT_PTR(alt), in sifive_errata_patch_func()
[all...]
/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[ 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[ in power5p_get_alternatives()
[all...]
/linux/arch/x86/include/asm/
H A Dparavirt_types.h407 #define ____PVOP_ALT_CALL(ret, op, alt, cond, call_clbr, \ argument
414 alt, cond) \
426 #define __PVOP_ALT_CALL(rettype, op, alt, cond, ...) \ argument
427 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op, alt, cond, \
435 #define __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond, ...) \ argument
436 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op.func, alt, cond, \
444 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \ argument
445 (void)____PVOP_ALT_CALL(, op, alt, cond, \
453 #define __PVOP_ALT_VCALLEESAVE(op, alt, cond, ...) \ argument
454 (void)____PVOP_ALT_CALL(, op.func, alt, con
462 PVOP_ALT_CALL0(rettype,op,alt,cond) global() argument
464 PVOP_ALT_VCALL0(op,alt,cond) global() argument
471 PVOP_ALT_CALLEE0(rettype,op,alt,cond) global() argument
473 PVOP_ALT_VCALLEE0(op,alt,cond) global() argument
481 PVOP_ALT_VCALL1(op,arg1,alt,cond) global() argument
488 PVOP_ALT_CALLEE1(rettype,op,arg1,alt,cond) global() argument
490 PVOP_ALT_VCALLEE1(op,arg1,alt,cond) global() argument
[all...]
/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/drivers/usb/typec/
H A Dbus.c17 typec_altmode_set_retimer(struct altmode *alt, unsigned long conf, void *data) in typec_altmode_set_retimer() argument
21 if (!alt->retimer) in typec_altmode_set_retimer()
24 state.alt = &alt->adev; in typec_altmode_set_retimer()
28 return typec_retimer_set(alt->retimer, &state); in typec_altmode_set_retimer()
32 typec_altmode_set_mux(struct altmode *alt, unsigned long conf, void *data) in typec_altmode_set_mux() argument
36 if (!alt->mux) in typec_altmode_set_mux()
39 state.alt = &alt->adev; in typec_altmode_set_mux()
43 return typec_mux_set(alt in typec_altmode_set_mux()
48 typec_altmode_set_switches(struct altmode * alt,unsigned long conf,void * data) typec_altmode_set_switches() argument
438 struct typec_altmode *alt = to_typec_altmode(dev); description_show() local
475 typec_altmode_create_links(struct altmode * alt) typec_altmode_create_links() argument
492 typec_altmode_remove_links(struct altmode * alt) typec_altmode_remove_links() argument
[all...]
H A Dclass.c256 /* Bind the port alt mode to the partner/plug alt mode. */ in typec_altmode_set_partner()
260 /* Bind the partner/plug alt mode to the port alt mode. */ in typec_altmode_set_partner()
324 * @alt: The Alternate Mode
326 * Returns handle to the port that a cable plug or partner with @alt is
329 struct typec_port *typec_altmode2port(struct typec_altmode *alt) in typec_altmode2port() argument
331 if (is_typec_plug(alt->dev.parent)) in typec_altmode2port()
332 return to_typec_port(alt->dev.parent->parent->parent); in typec_altmode2port()
333 if (is_typec_partner(alt in typec_altmode2port()
345 struct typec_altmode *alt = to_typec_altmode(dev); vdo_show() local
354 struct typec_altmode *alt = to_typec_altmode(dev); description_show() local
363 struct typec_altmode *alt = to_typec_altmode(dev); active_show() local
411 struct altmode *alt = to_altmode(to_typec_altmode(dev)); supported_roles_show() local
525 struct altmode *alt = to_altmode(to_typec_altmode(dev)); typec_altmode_release() local
547 struct altmode *alt; typec_register_altmode() local
2502 struct typec_altmode *alt; typec_port_register_altmodes() local
[all...]
/linux/tools/objtool/arch/x86/
H A Dspecial.c8 void arch_handle_alternative(struct special_alt *alt) in arch_handle_alternative() argument
15 if (group && group->orig_sec == alt->orig_sec && in arch_handle_alternative()
16 group->orig_off == alt->orig_off) { in arch_handle_alternative()
20 unsigned int len = max(iter->orig_len, alt->orig_len); in arch_handle_alternative()
21 iter->orig_len = alt->orig_len = len; in arch_handle_alternative()
29 } else group = alt; in arch_handle_alternative()
31 prev = alt; in arch_handle_alternative()
/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/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/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.c649 * configuration or interface alt setting is selected.
1245 struct usb_host_interface *alt = intf->cur_altsetting; in create_intf_ep_devs() local
1251 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in create_intf_ep_devs()
1252 (void) usb_create_ep_devs(&intf->dev, &alt->endpoint[i], udev); in create_intf_ep_devs()
1259 struct usb_host_interface *alt = intf->cur_altsetting; in remove_intf_ep_devs() local
1265 for (i = 0; i < alt->desc.bNumEndpoints; ++i) in remove_intf_ep_devs()
1266 usb_remove_ep_devs(&alt->endpoint[i]); in remove_intf_ep_devs()
1344 struct usb_host_interface *alt = intf->cur_altsetting; in usb_disable_interface() local
1347 for (i = 0; i < alt->desc.bNumEndpoints; ++i) { in usb_disable_interface()
1349 alt in usb_disable_interface()
1480 struct usb_host_interface *alt = intf->cur_altsetting; usb_enable_interface() local
1530 struct usb_host_interface *alt; usb_set_interface() local
1742 struct usb_host_interface *alt; usb_reset_configuration() local
1825 const struct usb_host_interface *alt; usb_if_uevent() local
2104 struct usb_host_interface *alt; usb_set_configuration() local
[all...]

1234567891011