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.c227 struct typec_altmode *adev = to_typec_altmode(dev); in altmode_match()
249 partner = to_altmode(to_typec_altmode(dev)); in typec_altmode_set_partner()
337 struct typec_altmode *alt = to_typec_altmode(dev); in vdo_show()
346 struct typec_altmode *alt = to_typec_altmode(dev); in description_show()
355 struct typec_altmode *alt = to_typec_altmode(dev); in active_show()
363 struct typec_altmode *adev = to_typec_altmode(dev); in active_store()
403 struct altmode *alt = to_altmode(to_typec_altmode(dev)); in supported_roles_show()
425 struct typec_altmode *adev = to_typec_altmode(dev); in mode_show()
434 struct typec_altmode *adev = to_typec_altmode(dev); in svid_show()
451 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