Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
H A Dbus.c62 bool is_port = is_typec_port(adev->dev.parent); in typec_altmode_set_state()
102 is_port = is_typec_port(adev->dev.parent); in typec_altmode_notify()
138 if (is_typec_port(pdev->dev.parent) && !pdev->active) in typec_altmode_enter()
H A Dclass.h101 #define is_typec_port(dev) ((dev)->type == &typec_port_dev_type) macro
H A Dclass.c307 if (!is_typec_port(adev->dev.parent) && adev->dev.driver) { in typec_altmode_update_active()
335 if (is_typec_port(alt->dev.parent)) in typec_altmode2port()
383 if (is_typec_port(adev->dev.parent)) { in active_store()
540 if (!is_typec_port(adev->dev.parent)) { in typec_altmode_attr_is_visible()
545 if (!is_typec_port(adev->dev.parent) || !port->mode_control) in typec_altmode_attr_is_visible()
610 if (!is_typec_port(dev->parent)) in typec_altmode_release()
645 bool is_port = is_typec_port(parent); in typec_register_altmode()
2014 } else if (is_typec_port(dev)) { in usb_power_delivery_revision_show()