Home
last modified time | relevance | path

Searched refs:to_typec_altmode (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/usb/typec/
H A Dbus.c438 struct typec_altmode *alt = to_typec_altmode(dev); in description_show()
453 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_match()
465 const struct typec_altmode *altmode = to_typec_altmode(dev); in typec_uevent()
503 struct typec_altmode *adev = to_typec_altmode(dev); in typec_probe()
527 struct typec_altmode *adev = to_typec_altmode(dev); in typec_remove()
533 drv->remove(to_typec_altmode(dev)); in typec_remove()
H A Dclass.c234 struct typec_altmode *adev = to_typec_altmode(dev); in altmode_match()
256 partner = to_altmode(to_typec_altmode(dev)); in typec_altmode_set_partner()
344 struct typec_altmode *alt = to_typec_altmode(dev); in vdo_show()
353 struct typec_altmode *alt = to_typec_altmode(dev); in description_show()
362 struct typec_altmode *alt = to_typec_altmode(dev); in active_show()
370 struct typec_altmode *adev = to_typec_altmode(dev); in active_store()
410 struct altmode *alt = to_altmode(to_typec_altmode(dev)); in supported_roles_show()
432 struct typec_altmode *adev = to_typec_altmode(dev); in mode_show()
441 struct typec_altmode *adev = to_typec_altmode(dev); in svid_show()
458 struct typec_altmode *adev = to_typec_altmode(kobj_to_dev(kobj)); in typec_altmode_attr_is_visible()
[all …]
/linux/include/linux/usb/
H A Dtypec_altmode.h37 #define to_typec_altmode(d) container_of(d, struct typec_altmode, dev) macro