Searched refs:typec_caps (Results 1 – 1 of 1) sorted by relevance
198 struct typec_capability typec_caps; member390 return container_of(cap, struct tcpm_port, typec_caps); in typec_cap_to_tcpm()4353 port->typec_caps.data = typec_find_port_data_role(cap_str); in tcpm_fw_get_caps()4354 if (port->typec_caps.data < 0) in tcpm_fw_get_caps()4362 port->typec_caps.type = typec_find_port_power_role(cap_str); in tcpm_fw_get_caps()4363 if (port->typec_caps.type < 0) in tcpm_fw_get_caps()4365 port->port_type = port->typec_caps.type; in tcpm_fw_get_caps()4391 port->typec_caps.prefer_role = typec_find_power_role(cap_str); in tcpm_fw_get_caps()4392 if (port->typec_caps.prefer_role < 0) in tcpm_fw_get_caps()4717 port->typec_caps.prefer_role = tcfg->default_role; in tcpm_copy_caps()[all …]