Symbol: typec_altmode
drivers/platform/chrome/cros_ec_typec.c
401
struct typec_altmode *amode;
drivers/platform/chrome/cros_ec_typec.c
892
struct typec_altmode *amode;
drivers/platform/chrome/cros_ec_typec.h
27
struct typec_altmode *amode;
drivers/platform/chrome/cros_ec_typec.h
70
struct typec_altmode *port_altmode[CROS_EC_ALTMODE_MAX];
drivers/platform/chrome/cros_typec_altmode.c
103
static int cros_typec_altmode_exit(struct typec_altmode *alt)
drivers/platform/chrome/cros_typec_altmode.c
142
static int cros_typec_displayport_vdm(struct typec_altmode *alt, u32 header,
drivers/platform/chrome/cros_typec_altmode.c
202
static int cros_typec_thunderbolt_vdm(struct typec_altmode *alt, u32 header,
drivers/platform/chrome/cros_typec_altmode.c
21
struct typec_altmode *alt;
drivers/platform/chrome/cros_typec_altmode.c
252
static int cros_typec_altmode_vdm(struct typec_altmode *alt, u32 header,
drivers/platform/chrome/cros_typec_altmode.c
276
int cros_typec_displayport_status_update(struct typec_altmode *altmode,
drivers/platform/chrome/cros_typec_altmode.c
308
struct typec_altmode *
drivers/platform/chrome/cros_typec_altmode.c
313
struct typec_altmode *alt;
drivers/platform/chrome/cros_typec_altmode.c
344
struct typec_altmode *
drivers/platform/chrome/cros_typec_altmode.c
348
struct typec_altmode *alt;
drivers/platform/chrome/cros_typec_altmode.c
58
static int cros_typec_altmode_enter(struct typec_altmode *alt, u32 *vdo)
drivers/platform/chrome/cros_typec_altmode.h
10
struct typec_altmode;
drivers/platform/chrome/cros_typec_altmode.h
15
struct typec_altmode *
drivers/platform/chrome/cros_typec_altmode.h
20
int cros_typec_displayport_status_update(struct typec_altmode *altmode,
drivers/platform/chrome/cros_typec_altmode.h
23
static inline struct typec_altmode *
drivers/platform/chrome/cros_typec_altmode.h
31
static inline int cros_typec_displayport_status_update(struct typec_altmode *altmode,
drivers/platform/chrome/cros_typec_altmode.h
39
struct typec_altmode *
drivers/platform/chrome/cros_typec_altmode.h
43
static inline struct typec_altmode *
drivers/platform/chrome/cros_typec_switch.c
109
unsigned long mode, struct typec_altmode *alt)
drivers/platform/chrome/cros_typec_switch.c
51
static int cros_typec_get_mux_state(unsigned long mode, struct typec_altmode *alt)
drivers/platform/chrome/cros_typec_vdm.c
120
static int cros_typec_port_amode_vdm(struct typec_altmode *amode, const u32 hdr,
drivers/platform/chrome/cros_typec_vdm.c
26
struct typec_altmode *amode;
drivers/platform/chrome/cros_typec_vdm.c
65
struct typec_altmode *amode;
drivers/platform/chrome/cros_typec_vdm.c
95
static int cros_typec_port_amode_enter(struct typec_altmode *amode, u32 *vdo)
drivers/soc/qcom/pmic_glink_altmode.c
108
struct typec_altmode dp_alt;
drivers/soc/qcom/pmic_glink_altmode.c
109
struct typec_altmode tbt_alt;
drivers/usb/typec/altmodes/displayport.c
346
static void dp_altmode_attention(struct typec_altmode *alt, const u32 vdo)
drivers/usb/typec/altmodes/displayport.c
372
static int dp_altmode_vdm(struct typec_altmode *alt,
drivers/usb/typec/altmodes/displayport.c
443
static int dp_cable_altmode_vdm(struct typec_altmode *alt, enum typec_plug_index sop,
drivers/usb/typec/altmodes/displayport.c
502
static int dp_altmode_activate(struct typec_altmode *alt, int activate)
drivers/usb/typec/altmodes/displayport.c
759
int dp_altmode_probe(struct typec_altmode *alt)
drivers/usb/typec/altmodes/displayport.c
761
const struct typec_altmode *port = typec_altmode_get_partner(alt);
drivers/usb/typec/altmodes/displayport.c
762
struct typec_altmode *plug = typec_altmode_get_plug(alt, TYPEC_PLUG_SOP_P);
drivers/usb/typec/altmodes/displayport.c
78
struct typec_altmode *alt;
drivers/usb/typec/altmodes/displayport.c
79
const struct typec_altmode *port;
drivers/usb/typec/altmodes/displayport.c
81
struct typec_altmode *plug_prime;
drivers/usb/typec/altmodes/displayport.c
821
void dp_altmode_remove(struct typec_altmode *alt)
drivers/usb/typec/altmodes/displayport.h
3
int dp_altmode_probe(struct typec_altmode *alt);
drivers/usb/typec/altmodes/displayport.h
4
void dp_altmode_remove(struct typec_altmode *alt);
drivers/usb/typec/altmodes/displayport.h
6
int dp_altmode_probe(struct typec_altmode *alt) { return -ENOTSUPP; }
drivers/usb/typec/altmodes/displayport.h
7
void dp_altmode_remove(struct typec_altmode *alt) { }
drivers/usb/typec/altmodes/nvidia.c
12
static int nvidia_altmode_probe(struct typec_altmode *alt)
drivers/usb/typec/altmodes/nvidia.c
20
static void nvidia_altmode_remove(struct typec_altmode *alt)
drivers/usb/typec/altmodes/thunderbolt.c
112
static int tbt_enter_modes_ordered(struct typec_altmode *alt)
drivers/usb/typec/altmodes/thunderbolt.c
139
static int tbt_cable_altmode_vdm(struct typec_altmode *alt,
drivers/usb/typec/altmodes/thunderbolt.c
189
static int tbt_altmode_vdm(struct typec_altmode *alt,
drivers/usb/typec/altmodes/thunderbolt.c
247
static int tbt_altmode_activate(struct typec_altmode *alt, int activate)
drivers/usb/typec/altmodes/thunderbolt.c
273
static int tbt_altmode_probe(struct typec_altmode *alt)
drivers/usb/typec/altmodes/thunderbolt.c
30
struct typec_altmode *alt;
drivers/usb/typec/altmodes/thunderbolt.c
302
static void tbt_altmode_remove(struct typec_altmode *alt)
drivers/usb/typec/altmodes/thunderbolt.c
31
struct typec_altmode *plug[2];
drivers/usb/typec/altmodes/thunderbolt.c
315
static bool tbt_ready(struct typec_altmode *alt)
drivers/usb/typec/altmodes/thunderbolt.c
318
struct typec_altmode *plug;
drivers/usb/typec/altmodes/thunderbolt.c
38
static bool tbt_ready(struct typec_altmode *alt);
drivers/usb/typec/anx7411.c
1015
static void anx7411_port_unregister_altmodes(struct typec_altmode **adev)
drivers/usb/typec/anx7411.c
251
struct typec_altmode *amode[MAX_ALTMODE];
drivers/usb/typec/anx7411.c
252
struct typec_altmode *port_amode[MAX_ALTMODE];
drivers/usb/typec/bus.c
126
int typec_altmode_enter(struct typec_altmode *adev, u32 *vdo)
drivers/usb/typec/bus.c
129
struct typec_altmode *pdev = &partner->adev;
drivers/usb/typec/bus.c
157
int typec_altmode_exit(struct typec_altmode *adev)
drivers/usb/typec/bus.c
160
struct typec_altmode *pdev = &partner->adev;
drivers/usb/typec/bus.c
186
int typec_altmode_attention(struct typec_altmode *adev, u32 vdo)
drivers/usb/typec/bus.c
189
struct typec_altmode *pdev;
drivers/usb/typec/bus.c
214
int typec_altmode_vdm(struct typec_altmode *adev,
drivers/usb/typec/bus.c
217
struct typec_altmode *pdev;
drivers/usb/typec/bus.c
237
const struct typec_altmode *
drivers/usb/typec/bus.c
238
typec_altmode_get_partner(struct typec_altmode *adev)
drivers/usb/typec/bus.c
259
int typec_cable_altmode_enter(struct typec_altmode *adev, enum typec_plug_index sop, u32 *vdo)
drivers/usb/typec/bus.c
262
struct typec_altmode *pdev;
drivers/usb/typec/bus.c
289
int typec_cable_altmode_exit(struct typec_altmode *adev, enum typec_plug_index sop)
drivers/usb/typec/bus.c
292
struct typec_altmode *pdev;
drivers/usb/typec/bus.c
321
int typec_cable_altmode_vdm(struct typec_altmode *adev, enum typec_plug_index sop,
drivers/usb/typec/bus.c
325
struct typec_altmode *pdev;
drivers/usb/typec/bus.c
360
struct typec_altmode *typec_altmode_get_plug(struct typec_altmode *adev,
drivers/usb/typec/bus.c
378
void typec_altmode_put_plug(struct typec_altmode *plug)
drivers/usb/typec/bus.c
417
struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,
drivers/usb/typec/bus.c
438
struct typec_altmode *alt = to_typec_altmode(dev);
drivers/usb/typec/bus.c
469
struct typec_altmode *altmode = to_typec_altmode(dev);
drivers/usb/typec/bus.c
483
const struct typec_altmode *altmode = to_typec_altmode(dev);
drivers/usb/typec/bus.c
523
struct typec_altmode *adev = to_typec_altmode(dev);
drivers/usb/typec/bus.c
547
struct typec_altmode *adev = to_typec_altmode(dev);
drivers/usb/typec/bus.c
59
static int typec_altmode_set_state(struct typec_altmode *adev,
drivers/usb/typec/bus.c
86
int typec_altmode_notify(struct typec_altmode *adev,
drivers/usb/typec/bus.h
13
struct typec_altmode adev;
drivers/usb/typec/class.c
1056
struct typec_altmode *
drivers/usb/typec/class.c
1286
struct typec_altmode *
drivers/usb/typec/class.c
235
struct typec_altmode *adev = to_typec_altmode(dev);
drivers/usb/typec/class.c
246
struct typec_altmode *adev = &altmode->adev;
drivers/usb/typec/class.c
2572
struct typec_altmode *
drivers/usb/typec/class.c
2576
struct typec_altmode *adev;
drivers/usb/typec/class.c
2612
struct typec_altmode **altmodes, size_t n)
drivers/usb/typec/class.c
2616
struct typec_altmode *alt;
drivers/usb/typec/class.c
2673
void typec_port_register_cable_ops(struct typec_altmode **altmodes, int max_altmodes,
drivers/usb/typec/class.c
273
struct typec_altmode *adev;
drivers/usb/typec/class.c
274
struct typec_altmode *partner_adev;
drivers/usb/typec/class.c
300
void typec_altmode_update_active(struct typec_altmode *adev, bool active)
drivers/usb/typec/class.c
329
struct typec_port *typec_altmode2port(struct typec_altmode *alt)
drivers/usb/typec/class.c
345
struct typec_altmode *alt = to_typec_altmode(dev);
drivers/usb/typec/class.c
354
struct typec_altmode *alt = to_typec_altmode(dev);
drivers/usb/typec/class.c
363
struct typec_altmode *alt = to_typec_altmode(dev);
drivers/usb/typec/class.c
371
struct typec_altmode *adev = to_typec_altmode(dev);
drivers/usb/typec/class.c
433
struct typec_altmode *adev = to_typec_altmode(dev);
drivers/usb/typec/class.c
442
struct typec_altmode *adev = to_typec_altmode(dev);
drivers/usb/typec/class.c
451
struct typec_altmode **alt_target = (struct typec_altmode **)data;
drivers/usb/typec/class.c
452
struct typec_altmode *alt = to_typec_altmode(dev);
drivers/usb/typec/class.c
466
struct typec_altmode **alt_target = (struct typec_altmode **)data;
drivers/usb/typec/class.c
467
struct typec_altmode *alt = to_typec_altmode(dev);
drivers/usb/typec/class.c
475
static int typec_mode_set_priority(struct typec_altmode *alt, const u8 priority)
drivers/usb/typec/class.c
536
struct typec_altmode *adev = to_typec_altmode(kobj_to_dev(kobj));
drivers/usb/typec/class.c
570
void typec_altmode_set_ops(struct typec_altmode *adev,
drivers/usb/typec/class.c
639
static struct typec_altmode *
drivers/usb/typec/class.c
707
void typec_unregister_altmode(struct typec_altmode *adev)
drivers/usb/typec/mode_selection.c
214
struct typec_altmode *altmode = to_typec_altmode(dev);
drivers/usb/typec/mode_selection.c
215
const struct typec_altmode *pdev = typec_altmode_get_partner(altmode);
drivers/usb/typec/mode_selection.c
66
struct typec_altmode *alt = to_typec_altmode(dev);
drivers/usb/typec/tcpm/tcpm.c
1872
struct typec_altmode *altmode;
drivers/usb/typec/tcpm/tcpm.c
1893
struct typec_altmode *altmode;
drivers/usb/typec/tcpm/tcpm.c
1998
static int tcpm_pd_svdm(struct tcpm_port *port, struct typec_altmode *adev,
drivers/usb/typec/tcpm/tcpm.c
2005
struct typec_altmode *pdev, *pdev_prime;
drivers/usb/typec/tcpm/tcpm.c
2370
struct typec_altmode *adev;
drivers/usb/typec/tcpm/tcpm.c
2902
static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo)
drivers/usb/typec/tcpm/tcpm.c
2918
static int tcpm_altmode_exit(struct typec_altmode *altmode)
drivers/usb/typec/tcpm/tcpm.c
2934
static int tcpm_altmode_vdm(struct typec_altmode *altmode,
drivers/usb/typec/tcpm/tcpm.c
2949
static int tcpm_cable_altmode_enter(struct typec_altmode *altmode, enum typec_plug_index sop,
drivers/usb/typec/tcpm/tcpm.c
2966
static int tcpm_cable_altmode_exit(struct typec_altmode *altmode, enum typec_plug_index sop)
drivers/usb/typec/tcpm/tcpm.c
2982
static int tcpm_cable_altmode_vdm(struct typec_altmode *altmode, enum typec_plug_index sop,
drivers/usb/typec/tcpm/tcpm.c
509
struct typec_altmode *partner_altmode[ALTMODE_DISCOVERY_MAX];
drivers/usb/typec/tcpm/tcpm.c
510
struct typec_altmode *plug_prime_altmode[ALTMODE_DISCOVERY_MAX];
drivers/usb/typec/tcpm/tcpm.c
511
struct typec_altmode *port_altmode[ALTMODE_DISCOVERY_MAX];
drivers/usb/typec/tipd/core.c
1241
struct typec_altmode *amode;
drivers/usb/typec/tipd/core.c
210
struct typec_altmode *port_altmode_dp;
drivers/usb/typec/tipd/core.c
211
struct typec_altmode *port_altmode_tbt;
drivers/usb/typec/ucsi/displayport.c
109
static int ucsi_displayport_exit(struct typec_altmode *alt)
drivers/usb/typec/ucsi/displayport.c
120
const struct typec_altmode *p = typec_altmode_get_partner(alt);
drivers/usb/typec/ucsi/displayport.c
199
static int ucsi_displayport_vdm(struct typec_altmode *alt,
drivers/usb/typec/ucsi/displayport.c
21
struct typec_altmode *alt;
drivers/usb/typec/ucsi/displayport.c
211
const struct typec_altmode *p = typec_altmode_get_partner(alt);
drivers/usb/typec/ucsi/displayport.c
291
void ucsi_displayport_remove_partner(struct typec_altmode *alt)
drivers/usb/typec/ucsi/displayport.c
309
struct typec_altmode *ucsi_register_displayport(struct ucsi_connector *con,
drivers/usb/typec/ucsi/displayport.c
315
struct typec_altmode *alt;
drivers/usb/typec/ucsi/displayport.c
48
static int ucsi_displayport_enter(struct typec_altmode *alt, u32 *vdo)
drivers/usb/typec/ucsi/displayport.c
61
const struct typec_altmode *p = typec_altmode_get_partner(alt);
drivers/usb/typec/ucsi/thunderbolt.c
117
static int ucsi_thunderbolt_exit(struct typec_altmode *alt)
drivers/usb/typec/ucsi/thunderbolt.c
132
static int ucsi_thunderbolt_vdm(struct typec_altmode *alt,
drivers/usb/typec/ucsi/thunderbolt.c
176
struct typec_altmode *ucsi_register_thunderbolt(struct ucsi_connector *con,
drivers/usb/typec/ucsi/thunderbolt.c
180
struct typec_altmode *alt;
drivers/usb/typec/ucsi/thunderbolt.c
203
void ucsi_thunderbolt_remove_partner(struct typec_altmode *alt)
drivers/usb/typec/ucsi/thunderbolt.c
30
struct typec_altmode *alt;
drivers/usb/typec/ucsi/thunderbolt.c
81
static int ucsi_thunderbolt_enter(struct typec_altmode *alt, u32 *vdo)
drivers/usb/typec/ucsi/trace.h
105
TP_PROTO(u8 recipient, struct typec_altmode *alt),
drivers/usb/typec/ucsi/trace.h
85
TP_PROTO(u8 recipient, struct typec_altmode *alt),
drivers/usb/typec/ucsi/ucsi.c
321
const struct typec_altmode *altmode = NULL;
drivers/usb/typec/ucsi/ucsi.c
351
static int ucsi_altmode_next_mode(struct typec_altmode **alt, u16 svid)
drivers/usb/typec/ucsi/ucsi.c
367
static int ucsi_next_altmode(struct typec_altmode **alt)
drivers/usb/typec/ucsi/ucsi.c
378
static int ucsi_get_num_altmode(struct typec_altmode **alt)
drivers/usb/typec/ucsi/ucsi.c
393
struct typec_altmode *alt;
drivers/usb/typec/ucsi/ucsi.c
640
const struct typec_altmode *pdev;
drivers/usb/typec/ucsi/ucsi.c
641
struct typec_altmode **adev;
drivers/usb/typec/ucsi/ucsi.h
527
struct typec_altmode *port_altmode[UCSI_MAX_ALTMODES];
drivers/usb/typec/ucsi/ucsi.h
528
struct typec_altmode *partner_altmode[UCSI_MAX_ALTMODES];
drivers/usb/typec/ucsi/ucsi.h
529
struct typec_altmode *plug_altmode[UCSI_MAX_ALTMODES];
drivers/usb/typec/ucsi/ucsi.h
583
struct typec_altmode *
drivers/usb/typec/ucsi/ucsi.h
588
void ucsi_displayport_remove_partner(struct typec_altmode *adev);
drivers/usb/typec/ucsi/ucsi.h
591
static inline struct typec_altmode *
drivers/usb/typec/ucsi/ucsi.h
600
ucsi_displayport_remove_partner(struct typec_altmode *adev) { }
drivers/usb/typec/ucsi/ucsi.h
604
struct typec_altmode *
drivers/usb/typec/ucsi/ucsi.h
609
void ucsi_thunderbolt_remove_partner(struct typec_altmode *adev);
drivers/usb/typec/ucsi/ucsi.h
611
static inline struct typec_altmode *
drivers/usb/typec/ucsi/ucsi.h
620
ucsi_thunderbolt_remove_partner(struct typec_altmode *adev) { }
drivers/usb/typec/ucsi/ucsi_ccg.c
482
struct typec_altmode *alt = NULL;
include/linux/usb/typec.h
163
struct typec_altmode
include/linux/usb/typec.h
167
struct typec_altmode
include/linux/usb/typec.h
170
struct typec_altmode
include/linux/usb/typec.h
176
struct typec_altmode **altmodes, size_t n);
include/linux/usb/typec.h
178
void typec_port_register_cable_ops(struct typec_altmode **altmodes, int max_altmodes,
include/linux/usb/typec.h
181
void typec_unregister_altmode(struct typec_altmode *altmode);
include/linux/usb/typec.h
183
struct typec_port *typec_altmode2port(struct typec_altmode *alt);
include/linux/usb/typec.h
185
void typec_altmode_update_active(struct typec_altmode *alt, bool active);
include/linux/usb/typec.h
187
void typec_altmode_set_ops(struct typec_altmode *alt,
include/linux/usb/typec_altmode.h
103
int typec_cable_altmode_enter(struct typec_altmode *altmode, enum typec_plug_index sop, u32 *vdo);
include/linux/usb/typec_altmode.h
104
int typec_cable_altmode_exit(struct typec_altmode *altmode, enum typec_plug_index sop);
include/linux/usb/typec_altmode.h
105
int typec_cable_altmode_vdm(struct typec_altmode *altmode, enum typec_plug_index sop,
include/linux/usb/typec_altmode.h
113
typec_altmode_get_cable_svdm_version(struct typec_altmode *altmode)
include/linux/usb/typec_altmode.h
158
struct typec_altmode *typec_altmode_get_plug(struct typec_altmode *altmode,
include/linux/usb/typec_altmode.h
160
void typec_altmode_put_plug(struct typec_altmode *plug);
include/linux/usb/typec_altmode.h
162
struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,
include/linux/usb/typec_altmode.h
170
typec_altmode_get_orientation(struct typec_altmode *altmode)
include/linux/usb/typec_altmode.h
180
typec_altmode_get_svdm_version(struct typec_altmode *altmode)
include/linux/usb/typec_altmode.h
193
typec_altmode_get_data_role(struct typec_altmode *altmode)
include/linux/usb/typec_altmode.h
210
int (*probe)(struct typec_altmode *altmode);
include/linux/usb/typec_altmode.h
211
void (*remove)(struct typec_altmode *altmode);
include/linux/usb/typec_altmode.h
47
#define to_typec_altmode(d) container_of(d, struct typec_altmode, dev)
include/linux/usb/typec_altmode.h
49
static inline void typec_altmode_set_drvdata(struct typec_altmode *altmode,
include/linux/usb/typec_altmode.h
55
static inline void *typec_altmode_get_drvdata(struct typec_altmode *altmode)
include/linux/usb/typec_altmode.h
70
int (*enter)(struct typec_altmode *altmode, u32 *vdo);
include/linux/usb/typec_altmode.h
71
int (*exit)(struct typec_altmode *altmode);
include/linux/usb/typec_altmode.h
72
void (*attention)(struct typec_altmode *altmode, u32 vdo);
include/linux/usb/typec_altmode.h
73
int (*vdm)(struct typec_altmode *altmode, const u32 hdr,
include/linux/usb/typec_altmode.h
75
int (*notify)(struct typec_altmode *altmode, unsigned long conf,
include/linux/usb/typec_altmode.h
77
int (*activate)(struct typec_altmode *altmode, int activate);
include/linux/usb/typec_altmode.h
80
int typec_altmode_enter(struct typec_altmode *altmode, u32 *vdo);
include/linux/usb/typec_altmode.h
81
int typec_altmode_exit(struct typec_altmode *altmode);
include/linux/usb/typec_altmode.h
82
int typec_altmode_attention(struct typec_altmode *altmode, u32 vdo);
include/linux/usb/typec_altmode.h
83
int typec_altmode_vdm(struct typec_altmode *altmode,
include/linux/usb/typec_altmode.h
85
int typec_altmode_notify(struct typec_altmode *altmode, unsigned long conf,
include/linux/usb/typec_altmode.h
87
const struct typec_altmode *
include/linux/usb/typec_altmode.h
88
typec_altmode_get_partner(struct typec_altmode *altmode);
include/linux/usb/typec_altmode.h
97
int (*enter)(struct typec_altmode *altmode, enum typec_plug_index sop, u32 *vdo);
include/linux/usb/typec_altmode.h
98
int (*exit)(struct typec_altmode *altmode, enum typec_plug_index sop);
include/linux/usb/typec_altmode.h
99
int (*vdm)(struct typec_altmode *altmode, enum typec_plug_index sop,
include/linux/usb/typec_mux.h
15
struct typec_altmode;
include/linux/usb/typec_mux.h
82
struct typec_altmode *alt;
include/linux/usb/typec_retimer.h
11
struct typec_altmode;
include/linux/usb/typec_retimer.h
15
struct typec_altmode *alt;