Searched refs:to_typec_altmode (Results 1 – 3 of 3) sorted by relevance
299 struct typec_altmode *alt = to_typec_altmode(dev); in description_show()314 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_match()326 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_uevent()364 struct typec_altmode *adev = to_typec_altmode(dev); in typec_probe()388 struct typec_altmode *adev = to_typec_altmode(dev); in typec_remove()394 drv->remove(to_typec_altmode(dev)); in typec_remove()
227 struct typec_altmode *adev = to_typec_altmode(dev); in altmode_match()249 partner = to_altmode(to_typec_altmode(dev)); in typec_altmode_set_partner()335 struct typec_altmode *alt = to_typec_altmode(dev); in vdo_show()344 struct typec_altmode *alt = to_typec_altmode(dev); in description_show()353 struct typec_altmode *alt = to_typec_altmode(dev); in active_show()361 struct typec_altmode *adev = to_typec_altmode(dev); in active_store()401 struct altmode *alt = to_altmode(to_typec_altmode(dev)); in supported_roles_show()423 struct typec_altmode *adev = to_typec_altmode(dev); in mode_show()432 struct typec_altmode *adev = to_typec_altmode(dev); in svid_show()449 struct typec_altmode *adev = to_typec_altmode(kobj_to_dev(kobj)); in typec_altmode_attr_is_visible()[all …]
35 #define to_typec_altmode(d) container_of(d, struct typec_altmode, dev) macro