| /linux/drivers/soc/qcom/ |
| H A D | pmic_glink_altmode.c | 100 struct pmic_glink_altmode *altmode; member 143 static int pmic_glink_altmode_request(struct pmic_glink_altmode *altmode, u32 cmd, u32 arg) in pmic_glink_altmode_request() argument 153 guard(mutex)(&altmode->lock); in pmic_glink_altmode_request() 155 req.hdr.owner = cpu_to_le32(altmode->owner_id); in pmic_glink_altmode_request() 161 ret = pmic_glink_send(altmode->client, &req, sizeof(req)); in pmic_glink_altmode_request() 163 dev_err(altmode->dev, "failed to send altmode request: %#x (%d)\n", cmd, ret); in pmic_glink_altmode_request() 167 left = wait_for_completion_timeout(&altmode->pan_ack, 5 * HZ); in pmic_glink_altmode_request() 169 dev_err(altmode->dev, "timeout waiting for altmode request ack for: %#x\n", cmd); in pmic_glink_altmode_request() 176 static void pmic_glink_altmode_enable_dp(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_enable_dp() argument 197 dev_err(altmode->dev, "failed to switch mux to DP: %d\n", ret); in pmic_glink_altmode_enable_dp() [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 | class.c | 244 static void typec_altmode_set_partner(struct altmode *altmode) in typec_altmode_set_partner() argument 246 struct typec_altmode *adev = &altmode->adev; in typec_altmode_set_partner() 249 struct altmode *partner; in typec_altmode_set_partner() 258 altmode->partner = partner; in typec_altmode_set_partner() 264 partner->plug[plug->index] = altmode; in typec_altmode_set_partner() 266 partner->partner = altmode; in typec_altmode_set_partner() 270 static void typec_altmode_put_partner(struct altmode *altmode) in typec_altmode_put_partner() argument 272 struct altmode *partner = altmode->partner; in typec_altmode_put_partner() 279 adev = &altmode->adev; in typec_altmode_put_partner() 372 struct altmode *altmode = to_altmode(adev); in active_store() local [all …]
|
| /linux/drivers/usb/typec/altmodes/ |
| H A D | thunderbolt.c | 109 * stop attempting to enter either cable altmode (probably not supported) and 110 * directly enter the port altmode. 206 /* Port altmode is last to enter and first to exit. */ in tbt_altmode_vdm() 329 /* We accept systems without SOP' or SOP''. This means the port altmode in tbt_ready()
|
| /linux/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 1849 tcpm_log_force(port, "failed to queue altmode vdm, err:%d", ret); in tcpm_queue_vdm_unlocked() 2026 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local 2033 altmode = typec_partner_register_altmode(port->partner, in tcpm_register_partner_altmodes() 2035 if (IS_ERR(altmode)) { in tcpm_register_partner_altmodes() 2038 altmode = NULL; in tcpm_register_partner_altmodes() 2040 port->partner_altmode[i] = altmode; in tcpm_register_partner_altmodes() 2047 struct typec_altmode *altmode; in tcpm_register_plug_altmodes() local 2053 altmode = typec_plug_register_altmode(port->plug_prime, in tcpm_register_plug_altmodes() 2055 if (IS_ERR(altmode)) { in tcpm_register_plug_altmodes() 2058 altmode = NULL; in tcpm_register_plug_altmodes() [all …]
|
| /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()
|