Searched refs:is_typec_plug (Results 1 – 2 of 2) sorted by relevance
81 #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()476 else if (is_typec_plug(dev)) in altmode_id_get()490 else if (is_typec_plug(dev)) in altmode_id_remove()564 if (is_typec_plug(parent)) in typec_register_altmode()627 } else if (is_typec_plug(dev)) { in number_of_alternate_modes_show()