is_typec_port
is_port = is_typec_port(adev->dev.parent);
if (is_typec_port(pdev->dev.parent) && !pdev->active)
bool is_port = is_typec_port(adev->dev.parent);
} else if (is_typec_port(dev)) {
if (!is_typec_port(adev->dev.parent) && adev->dev.driver) {
if (is_typec_port(alt->dev.parent))
if (is_typec_port(adev->dev.parent)) {
if (!is_typec_port(adev->dev.parent)) {
if (!is_typec_port(adev->dev.parent) || !port->mode_control)
if (!is_typec_port(dev->parent))
bool is_port = is_typec_port(parent);