typec_altmode 62 drivers/usb/typec/altmodes/displayport.c struct typec_altmode *alt; typec_altmode 63 drivers/usb/typec/altmodes/displayport.c const struct typec_altmode *port; typec_altmode 223 drivers/usb/typec/altmodes/displayport.c static void dp_altmode_attention(struct typec_altmode *alt, const u32 vdo) typec_altmode 249 drivers/usb/typec/altmodes/displayport.c static int dp_altmode_vdm(struct typec_altmode *alt, typec_altmode 307 drivers/usb/typec/altmodes/displayport.c static int dp_altmode_activate(struct typec_altmode *alt, int activate) typec_altmode 510 drivers/usb/typec/altmodes/displayport.c int dp_altmode_probe(struct typec_altmode *alt) typec_altmode 512 drivers/usb/typec/altmodes/displayport.c const struct typec_altmode *port = typec_altmode_get_partner(alt); typec_altmode 550 drivers/usb/typec/altmodes/displayport.c void dp_altmode_remove(struct typec_altmode *alt) typec_altmode 3 drivers/usb/typec/altmodes/displayport.h int dp_altmode_probe(struct typec_altmode *alt); typec_altmode 4 drivers/usb/typec/altmodes/displayport.h void dp_altmode_remove(struct typec_altmode *alt); typec_altmode 6 drivers/usb/typec/altmodes/displayport.h int dp_altmode_probe(struct typec_altmode *alt) { return -ENOTSUPP; } typec_altmode 7 drivers/usb/typec/altmodes/displayport.h void dp_altmode_remove(struct typec_altmode *alt) { } typec_altmode 12 drivers/usb/typec/altmodes/nvidia.c static int nvidia_altmode_probe(struct typec_altmode *alt) typec_altmode 20 drivers/usb/typec/altmodes/nvidia.c static void nvidia_altmode_remove(struct typec_altmode *alt) typec_altmode 18 drivers/usb/typec/bus.c static int typec_altmode_set_state(struct typec_altmode *adev, int state) typec_altmode 51 drivers/usb/typec/bus.c int typec_altmode_notify(struct typec_altmode *adev, typec_altmode 92 drivers/usb/typec/bus.c int typec_altmode_enter(struct typec_altmode *adev) typec_altmode 95 drivers/usb/typec/bus.c struct typec_altmode *pdev = &partner->adev; typec_altmode 120 drivers/usb/typec/bus.c int typec_altmode_exit(struct typec_altmode *adev) typec_altmode 123 drivers/usb/typec/bus.c struct typec_altmode *pdev = &partner->adev; typec_altmode 149 drivers/usb/typec/bus.c void typec_altmode_attention(struct typec_altmode *adev, u32 vdo) typec_altmode 151 drivers/usb/typec/bus.c struct typec_altmode *pdev = &to_altmode(adev)->partner->adev; typec_altmode 169 drivers/usb/typec/bus.c int typec_altmode_vdm(struct typec_altmode *adev, typec_altmode 172 drivers/usb/typec/bus.c struct typec_altmode *pdev; typec_altmode 192 drivers/usb/typec/bus.c const struct typec_altmode * typec_altmode 193 drivers/usb/typec/bus.c typec_altmode_get_partner(struct typec_altmode *adev) typec_altmode 213 drivers/usb/typec/bus.c struct typec_altmode *typec_altmode_get_plug(struct typec_altmode *adev, typec_altmode 231 drivers/usb/typec/bus.c void typec_altmode_put_plug(struct typec_altmode *plug) typec_altmode 270 drivers/usb/typec/bus.c struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes, typec_altmode 291 drivers/usb/typec/bus.c struct typec_altmode *alt = to_typec_altmode(dev); typec_altmode 306 drivers/usb/typec/bus.c struct typec_altmode *altmode = to_typec_altmode(dev); typec_altmode 318 drivers/usb/typec/bus.c struct typec_altmode *altmode = to_typec_altmode(dev); typec_altmode 356 drivers/usb/typec/bus.c struct typec_altmode *adev = to_typec_altmode(dev); typec_altmode 380 drivers/usb/typec/bus.c struct typec_altmode *adev = to_typec_altmode(dev); typec_altmode 13 drivers/usb/typec/bus.h struct typec_altmode adev; typec_altmode 153 drivers/usb/typec/class.c struct typec_altmode *adev = to_typec_altmode(dev); typec_altmode 164 drivers/usb/typec/class.c struct typec_altmode *adev = &altmode->adev; typec_altmode 191 drivers/usb/typec/class.c struct typec_altmode *adev; typec_altmode 224 drivers/usb/typec/class.c struct typec_altmode * typec_altmode 261 drivers/usb/typec/class.c void typec_altmode_unregister_notifier(struct typec_altmode *adev, typec_altmode 279 drivers/usb/typec/class.c void typec_altmode_update_active(struct typec_altmode *adev, bool active) typec_altmode 308 drivers/usb/typec/class.c struct typec_port *typec_altmode2port(struct typec_altmode *alt) typec_altmode 324 drivers/usb/typec/class.c struct typec_altmode *alt = to_typec_altmode(dev); typec_altmode 333 drivers/usb/typec/class.c struct typec_altmode *alt = to_typec_altmode(dev); typec_altmode 342 drivers/usb/typec/class.c struct typec_altmode *alt = to_typec_altmode(dev); typec_altmode 350 drivers/usb/typec/class.c struct typec_altmode *adev = to_typec_altmode(dev); typec_altmode 412 drivers/usb/typec/class.c struct typec_altmode *adev = to_typec_altmode(dev); typec_altmode 421 drivers/usb/typec/class.c struct typec_altmode *adev = to_typec_altmode(dev); typec_altmode 434 drivers/usb/typec/class.c ATTRIBUTE_GROUPS(typec_altmode); typec_altmode 480 drivers/usb/typec/class.c static struct typec_altmode * typec_altmode 546 drivers/usb/typec/class.c void typec_unregister_altmode(struct typec_altmode *adev) typec_altmode 628 drivers/usb/typec/class.c struct typec_altmode * typec_altmode 725 drivers/usb/typec/class.c struct typec_altmode * typec_altmode 1499 drivers/usb/typec/class.c struct typec_altmode * typec_altmode 1503 drivers/usb/typec/class.c struct typec_altmode *adev; typec_altmode 316 drivers/usb/typec/tcpm/tcpm.c struct typec_altmode *partner_altmode[ALTMODE_DISCOVERY_MAX]; typec_altmode 317 drivers/usb/typec/tcpm/tcpm.c struct typec_altmode *port_altmode[ALTMODE_DISCOVERY_MAX]; typec_altmode 1039 drivers/usb/typec/tcpm/tcpm.c struct typec_altmode *altmode; typec_altmode 1057 drivers/usb/typec/tcpm/tcpm.c struct typec_altmode *adev; typec_altmode 1058 drivers/usb/typec/tcpm/tcpm.c struct typec_altmode *pdev; typec_altmode 1487 drivers/usb/typec/tcpm/tcpm.c static int tcpm_altmode_enter(struct typec_altmode *altmode) typec_altmode 1503 drivers/usb/typec/tcpm/tcpm.c static int tcpm_altmode_exit(struct typec_altmode *altmode) typec_altmode 1519 drivers/usb/typec/tcpm/tcpm.c static int tcpm_altmode_vdm(struct typec_altmode *altmode, typec_altmode 4831 drivers/usb/typec/tcpm/tcpm.c struct typec_altmode *alt; typec_altmode 21 drivers/usb/typec/ucsi/displayport.c struct typec_altmode *alt; typec_altmode 48 drivers/usb/typec/ucsi/displayport.c static int ucsi_displayport_enter(struct typec_altmode *alt) typec_altmode 58 drivers/usb/typec/ucsi/displayport.c const struct typec_altmode *p = typec_altmode_get_partner(alt); typec_altmode 103 drivers/usb/typec/ucsi/displayport.c static int ucsi_displayport_exit(struct typec_altmode *alt) typec_altmode 112 drivers/usb/typec/ucsi/displayport.c const struct typec_altmode *p = typec_altmode_get_partner(alt); typec_altmode 185 drivers/usb/typec/ucsi/displayport.c static int ucsi_displayport_vdm(struct typec_altmode *alt, typec_altmode 195 drivers/usb/typec/ucsi/displayport.c const struct typec_altmode *p = typec_altmode_get_partner(alt); typec_altmode 268 drivers/usb/typec/ucsi/displayport.c void ucsi_displayport_remove_partner(struct typec_altmode *alt) typec_altmode 284 drivers/usb/typec/ucsi/displayport.c struct typec_altmode *ucsi_register_displayport(struct ucsi_connector *con, typec_altmode 290 drivers/usb/typec/ucsi/displayport.c struct typec_altmode *alt; typec_altmode 139 drivers/usb/typec/ucsi/trace.h TP_PROTO(u8 recipient, struct typec_altmode *alt), typec_altmode 159 drivers/usb/typec/ucsi/trace.h TP_PROTO(u8 recipient, struct typec_altmode *alt), typec_altmode 224 drivers/usb/typec/ucsi/ucsi.c const struct typec_altmode *altmode = NULL; typec_altmode 249 drivers/usb/typec/ucsi/ucsi.c static u8 ucsi_altmode_next_mode(struct typec_altmode **alt, u16 svid) typec_altmode 261 drivers/usb/typec/ucsi/ucsi.c static int ucsi_next_altmode(struct typec_altmode **alt) typec_altmode 276 drivers/usb/typec/ucsi/ucsi.c struct typec_altmode *alt; typec_altmode 401 drivers/usb/typec/ucsi/ucsi.c const struct typec_altmode *pdev; typec_altmode 402 drivers/usb/typec/ucsi/ucsi.c struct typec_altmode **adev; typec_altmode 420 drivers/usb/typec/ucsi/ucsi.h struct typec_altmode *port_altmode[UCSI_MAX_ALTMODES]; typec_altmode 421 drivers/usb/typec/ucsi/ucsi.h struct typec_altmode *partner_altmode[UCSI_MAX_ALTMODES]; typec_altmode 436 drivers/usb/typec/ucsi/ucsi.h struct typec_altmode * typec_altmode 441 drivers/usb/typec/ucsi/ucsi.h void ucsi_displayport_remove_partner(struct typec_altmode *adev); typec_altmode 444 drivers/usb/typec/ucsi/ucsi.h static inline struct typec_altmode * typec_altmode 453 drivers/usb/typec/ucsi/ucsi.h ucsi_displayport_remove_partner(struct typec_altmode *adev) { } typec_altmode 110 include/linux/usb/typec.h struct typec_altmode typec_altmode 113 include/linux/usb/typec.h struct typec_altmode typec_altmode 116 include/linux/usb/typec.h struct typec_altmode typec_altmode 119 include/linux/usb/typec.h void typec_unregister_altmode(struct typec_altmode *altmode); typec_altmode 121 include/linux/usb/typec.h struct typec_port *typec_altmode2port(struct typec_altmode *alt); typec_altmode 123 include/linux/usb/typec.h void typec_altmode_update_active(struct typec_altmode *alt, bool active); typec_altmode 35 include/linux/usb/typec_altmode.h #define to_typec_altmode(d) container_of(d, struct typec_altmode, dev) typec_altmode 37 include/linux/usb/typec_altmode.h static inline void typec_altmode_set_drvdata(struct typec_altmode *altmode, typec_altmode 43 include/linux/usb/typec_altmode.h static inline void *typec_altmode_get_drvdata(struct typec_altmode *altmode) typec_altmode 58 include/linux/usb/typec_altmode.h int (*enter)(struct typec_altmode *altmode); typec_altmode 59 include/linux/usb/typec_altmode.h int (*exit)(struct typec_altmode *altmode); typec_altmode 60 include/linux/usb/typec_altmode.h void (*attention)(struct typec_altmode *altmode, u32 vdo); typec_altmode 61 include/linux/usb/typec_altmode.h int (*vdm)(struct typec_altmode *altmode, const u32 hdr, typec_altmode 63 include/linux/usb/typec_altmode.h int (*notify)(struct typec_altmode *altmode, unsigned long conf, typec_altmode 65 include/linux/usb/typec_altmode.h int (*activate)(struct typec_altmode *altmode, int activate); typec_altmode 68 include/linux/usb/typec_altmode.h int typec_altmode_enter(struct typec_altmode *altmode); typec_altmode 69 include/linux/usb/typec_altmode.h int typec_altmode_exit(struct typec_altmode *altmode); typec_altmode 70 include/linux/usb/typec_altmode.h void typec_altmode_attention(struct typec_altmode *altmode, u32 vdo); typec_altmode 71 include/linux/usb/typec_altmode.h int typec_altmode_vdm(struct typec_altmode *altmode, typec_altmode 73 include/linux/usb/typec_altmode.h int typec_altmode_notify(struct typec_altmode *altmode, unsigned long conf, typec_altmode 75 include/linux/usb/typec_altmode.h const struct typec_altmode * typec_altmode 76 include/linux/usb/typec_altmode.h typec_altmode_get_partner(struct typec_altmode *altmode); typec_altmode 106 include/linux/usb/typec_altmode.h struct typec_altmode *typec_altmode_get_plug(struct typec_altmode *altmode, typec_altmode 108 include/linux/usb/typec_altmode.h void typec_altmode_put_plug(struct typec_altmode *plug); typec_altmode 110 include/linux/usb/typec_altmode.h struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes, typec_altmode 113 include/linux/usb/typec_altmode.h struct typec_altmode * typec_altmode 117 include/linux/usb/typec_altmode.h void typec_altmode_unregister_notifier(struct typec_altmode *adev, typec_altmode 125 include/linux/usb/typec_altmode.h typec_altmode_get_orientation(struct typec_altmode *altmode) typec_altmode 142 include/linux/usb/typec_altmode.h int (*probe)(struct typec_altmode *altmode); typec_altmode 143 include/linux/usb/typec_altmode.h void (*remove)(struct typec_altmode *altmode);