Searched refs:is_typec_plug (Results 1 – 3 of 3) sorted by relevance
93 #define is_typec_plug(dev) ((dev)->type == &typec_plug_dev_type) macro
253 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()
332 if (is_typec_plug(adev->dev.parent)) { in typec_cable_altmode_vdm()