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.h93 #define is_typec_plug(dev) ((dev)->type == &typec_plug_dev_type) macro
H A Dclass.c253 if (is_typec_plug(adev->dev.parent)) { in typec_altmode_set_partner()
274 if (is_typec_plug(adev->dev.parent)) { in typec_altmode_put_partner()
323 if (is_typec_plug(alt->dev.parent)) in typec_altmode2port()
492 else if (is_typec_plug(dev)) in altmode_id_get()
506 else if (is_typec_plug(dev)) in altmode_id_remove()
583 if (is_typec_plug(parent)) in typec_register_altmode()
647 } 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()