Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
H A Dclass.h97 #define is_typec_plug(dev) ((dev)->type == &typec_plug_dev_type) macro
H A Dclass.c261 if (is_typec_plug(adev->dev.parent)) { in typec_altmode_set_partner()
282 if (is_typec_plug(adev->dev.parent)) { in typec_altmode_put_partner()
331 if (is_typec_plug(alt->dev.parent)) in typec_altmode2port()
501 else if (is_typec_plug(dev)) in altmode_id_get()
515 else if (is_typec_plug(dev)) in altmode_id_remove()
592 if (is_typec_plug(parent)) in typec_register_altmode()
725 } else if (is_typec_plug(dev)) { in number_of_alternate_modes_show()
H A Dbus.c332 if (is_typec_plug(adev->dev.parent)) { in typec_cable_altmode_vdm()