Home
last modified time | relevance | path

Searched refs:typec_caps (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/usb/typec/tcpm/
Dtcpm.c200 struct typec_capability typec_caps; member
396 return container_of(cap, struct tcpm_port, typec_caps); in typec_cap_to_tcpm()
4415 port->typec_caps.data = ret; in tcpm_fw_get_caps()
4425 port->typec_caps.type = ret; in tcpm_fw_get_caps()
4426 port->port_type = port->typec_caps.type; in tcpm_fw_get_caps()
4451 port->typec_caps.prefer_role = typec_find_power_role(cap_str); in tcpm_fw_get_caps()
4452 if (port->typec_caps.prefer_role < 0) in tcpm_fw_get_caps()
4718 port->typec_caps.prefer_role = tcfg->default_role; in tcpm_copy_caps()
4719 port->typec_caps.type = tcfg->type; in tcpm_copy_caps()
4720 port->typec_caps.data = tcfg->data; in tcpm_copy_caps()
[all …]