Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/power/power_delivery/
H A Dtcpm.c286 struct typec_capability typec_caps; member
504 ((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 …]
/OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/
H A Dtcpm.c304 struct typec_capability typec_caps; member
540 ((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 …]