Searched refs:is_typec_plug (Results 1 – 2 of 2) sorted by relevance
71 #define is_typec_plug(dev) ((dev)->type == &typec_plug_dev_type) macro
251 if (is_typec_plug(adev->dev.parent)) { in typec_altmode_set_partner()270 if (is_typec_plug(adev->dev.parent)) { in typec_altmode_put_partner()319 if (is_typec_plug(alt->dev.parent)) in typec_altmode2port()472 else if (is_typec_plug(dev)) in altmode_id_get()486 else if (is_typec_plug(dev)) in altmode_id_remove()559 if (is_typec_plug(parent)) in typec_register_altmode()622 } else if (is_typec_plug(dev)) { in number_of_alternate_modes_show()