| /linux/include/linux/usb/ |
| H A D | typec_altmode.h | 52 static inline void typec_altmode_set_drvdata(struct typec_altmode *altmode, in typec_altmode_set_drvdata() argument 55 dev_set_drvdata(&altmode->dev, data); in typec_altmode_set_drvdata() 58 static inline void *typec_altmode_get_drvdata(struct typec_altmode *altmode) in typec_altmode_get_drvdata() argument 60 return dev_get_drvdata(&altmode->dev); in typec_altmode_get_drvdata() 73 int (*enter)(struct typec_altmode *altmode, u32 *vdo); 74 int (*exit)(struct typec_altmode *altmode); 75 void (*attention)(struct typec_altmode *altmode, u32 vdo); 76 int (*vdm)(struct typec_altmode *altmode, const u32 hdr, 78 int (*notify)(struct typec_altmode *altmode, unsigned long conf, 80 int (*activate)(struct typec_altmode *altmode, int activate); [all …]
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | qcom,wcd939x-usbss.yaml | 7 title: Qualcomm WCD9380/WCD9385 USB SubSystem Altmode/Analog Audio Switch 14 functionally separate USB SubSystem for Altmode/Analog Audio Switch 18 graph description to handle USB-C altmode & orientation switching for Audio 48 purpose of handling altmode muxing and orientation switching.
|
| H A D | gpio-sbu-mux.yaml | 14 and swapped depending on the altmode and orientation. This binding describes 45 handling altmode muxing and orientation switching.
|
| H A D | usb-switch.yaml | 17 description: Possible handler of altmode switching
|
| H A D | usb-switch-ports.yaml | 20 handling altmode muxing and orientation switching.
|
| H A D | nxp,ptn36502.yaml | 41 handling altmode muxing and orientation switching.
|
| H A D | fcs,fsa4480.yaml | 37 handling altmode muxing and orientation switching.
|
| H A D | onnn,nb7vpq904m.yaml | 86 handling altmode muxing and orientation switching.
|
| H A D | parade,ps8830.yaml | 67 handling altmode muxing and orientation switching.
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_typec_vdm.c | 17 * Retrieves pending VDM attention messages from the EC and forwards them to the altmode driver 47 "Received VDM for unregistered altmode (SVID:%x), port: %d\n", in cros_typec_handle_vdm_attention() 57 * Retrieves a VDM response from the EC and forwards it to the altmode driver based on SVID. 84 dev_err(typec->dev, "Received VDM for unregistered altmode (SVID:%x), port: %d\n", in cros_typec_handle_vdm_response() 91 dev_err(typec->dev, "Failed to forward VDM to altmode (SVID:%x), port: %d\n", in cros_typec_handle_vdm_response()
|
| H A D | cros_typec_altmode.c | 276 int cros_typec_displayport_status_update(struct typec_altmode *altmode, in cros_typec_displayport_status_update() argument 280 typec_altmode_get_drvdata(altmode); in cros_typec_displayport_status_update() 284 dev_dbg(&altmode->dev, in cros_typec_displayport_status_update() 290 dev_dbg(&altmode->dev, in cros_typec_displayport_status_update()
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | qcom,wcd939x.yaml | 19 to handle USB-C altmode & orientation switching for Audio Accessory Mode. 34 description: Flag the port as possible handler of altmode switching 45 purpose of handling altmode muxing and orientation switching to detect and
|
| /linux/drivers/usb/typec/ |
| H A D | mode_selection.c | 145 dev_dbg(&sel->partner->dev, "%x altmode is active\n", ms->svid); in mode_selection_work_fn() 214 struct typec_altmode *altmode = to_typec_altmode(dev); in altmode_add_to_list() local 215 const struct typec_altmode *pdev = typec_altmode_get_partner(altmode); in altmode_add_to_list() 218 if (pdev && altmode->ops && altmode->ops->activate) { in altmode_add_to_list()
|
| H A D | anx7411.c | 569 dev_err(dev, "no altmode space for registering\n"); in anx7411_typec_register_altmode() 576 dev_err(dev, "failed to register altmode\n"); in anx7411_typec_register_altmode() 680 /* Update DP altmode */ in anx7411_parse_cmd() 692 /* Register DP Altmode */ in anx7411_parse_cmd() 696 /* Register other altmode */ in anx7411_parse_cmd() 1046 dev_err(dev, "dp altmode not register\n"); in anx7411_usb_mux_set()
|
| /linux/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 2043 tcpm_log_force(port, "failed to queue altmode vdm, err:%d", ret); in tcpm_queue_vdm_unlocked() 2225 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local 2232 altmode = typec_partner_register_altmode(port->partner, in tcpm_register_partner_altmodes() 2234 if (IS_ERR(altmode)) { in tcpm_register_partner_altmodes() 2237 altmode = NULL; in tcpm_register_partner_altmodes() 2239 port->partner_altmode[i] = altmode; in tcpm_register_partner_altmodes() 2246 struct typec_altmode *altmode; in tcpm_register_plug_altmodes() local 2253 altmode = typec_plug_register_altmode(port->plug_prime, in tcpm_register_plug_altmodes() 2255 if (IS_ERR(altmode)) { in tcpm_register_plug_altmodes() 2258 altmode = NULL; in tcpm_register_plug_altmodes() [all …]
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | ucsi_ccg.c | 134 /* Altmode offset for NVIDIA Function Test Board (FTB) */ 435 /* Found Non DP altmode */ in ucsi_ccg_update_altmodes() 464 /* Didn't find any duplicate DP altmode */ in ucsi_ccg_update_altmodes() 496 * If CAM is UCSI_MULTI_DP_INDEX then this is DP altmode in ucsi_ccg_update_set_new_cam_cmd() 538 * (Function Test Board) which reports altmode list with vdo=0x3 540 * based on order in altmode list and it causes a mismatch of CON
|
| H A D | ucsi_yoga_c630.c | 110 dev_dbg(ucsi->dev, "faking DP altmode for con1\n"); in yoga_c630_ucsi_sync_control()
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | phy-rockchip-usbdp.yaml | 108 description: Flag the port as possible handler of altmode switching
|
| /linux/drivers/platform/x86/intel/ |
| H A D | chtwc_int33fe.c | 145 .name = "displayport-altmode",
|
| /linux/drivers/scsi/aic94xx/ |
| H A D | aic94xx_dump.c | 277 PRINT_CREG_8bit(asd_ha, ALTMODE); in asd_dump_cseq_state() 485 PRINT_LREG_8bit(asd_ha, lseq, ALTMODE); in asd_dump_lseq_state()
|
| H A D | aic94xx_reg_def.h | 361 #define ALTMODE 0x01 macro 508 #define CALTMODE (CSEQ_CIO_REG_BASE_ADR + ALTMODE) 843 #define LmALTMODE(LinkNum) LmSEQ_PHY_REG(0, LinkNum, ALTMODE)
|
| /linux/Documentation/devicetree/bindings/connector/ |
| H A D | usb-connector.yaml | 176 description: Unique value assigned by USB-IF to the Vendor / AltMode.
|
| /linux/include/trace/events/ |
| H A D | dlm.h | 48 { DLM_SBF_ALTMODE, "ALTMODE" })
|
| /linux/drivers/phy/apple/ |
| H A D | atc.c | 1771 /* Setup AUX channel if DP altmode is requested */ in atcphy_configure()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_connector.c | 3681 * muxes the DisplayPort data and aux-lines but does not pass the altmode HPD
|