Searched refs:typec_caps (Results 1 – 2 of 2) sorted by relevance
286 struct typec_capability typec_caps; member504 ((port)->typec_caps.data == TYPEC_PORT_UFP ? \508 ((port)->typec_caps.data == TYPEC_PORT_DFP ? \3311 port->typec_caps.data = ret; in tcpm_fw_get_caps()3320 port->typec_caps.type = TYPEC_PORT_DRP; in tcpm_fw_get_caps()3322 port->typec_caps.type = TYPEC_PORT_SRC; in tcpm_fw_get_caps()3324 port->typec_caps.type = TYPEC_PORT_SNK; in tcpm_fw_get_caps()3329 port->port_type = port->typec_caps.type; in tcpm_fw_get_caps()3356 port->typec_caps.prefer_role = TYPEC_SINK; in tcpm_fw_get_caps()3358 port->typec_caps.prefer_role = TYPEC_SOURCE; in tcpm_fw_get_caps()[all …]
304 struct typec_capability typec_caps; member540 ((port)->typec_caps.data == TYPEC_PORT_UFP ? \544 ((port)->typec_caps.data == TYPEC_PORT_DFP ? \1058 if (port->typec_caps.data == TYPEC_PORT_DRD) { in tcpm_set_roles()1063 } else if (port->typec_caps.data == TYPEC_PORT_DFP) { in tcpm_set_roles()1729 if (port->typec_caps.data == TYPEC_PORT_DRD && in tcpm_pd_svdm()1767 if (port->typec_caps.data == TYPEC_PORT_DRD && in tcpm_pd_svdm()2806 if (port->typec_caps.data != TYPEC_PORT_DRD) { in tcpm_pd_ctrl_request()4014 port->negotiated_rev = (((port->typec_caps.pd_revision >> 8) & 0xff) - 1); in run_state_machine()4265 port->negotiated_rev = (((port->typec_caps.pd_revision >> 8) & 0xff) - 1); in run_state_machine()[all …]