Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/
H A Dbus.c336 struct typec_altmode *alt = to_typec_altmode(dev); in description_show()
351 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_match()
363 const struct typec_altmode *altmode = to_typec_altmode(dev); in typec_uevent()
401 struct typec_altmode *adev = to_typec_altmode(dev); in typec_probe()
425 struct typec_altmode *adev = to_typec_altmode(dev); in typec_remove()
431 drv->remove(to_typec_altmode(dev)); in typec_remove()
H A Dclass.c226 struct typec_altmode *adev = to_typec_altmode(dev); in altmode_match()
248 partner = to_altmode(to_typec_altmode(dev)); in typec_altmode_set_partner()
336 struct typec_altmode *alt = to_typec_altmode(dev); in vdo_show()
345 struct typec_altmode *alt = to_typec_altmode(dev); in description_show()
354 struct typec_altmode *alt = to_typec_altmode(dev); in active_show()
362 struct typec_altmode *adev = to_typec_altmode(dev); in active_store()
402 struct altmode *alt = to_altmode(to_typec_altmode(dev)); in supported_roles_show()
424 struct typec_altmode *adev = to_typec_altmode(dev); in mode_show()
433 struct typec_altmode *adev = to_typec_altmode(dev); in svid_show()
450 struct typec_altmode *adev = to_typec_altmode(kobj_to_dev(kobj)); in typec_altmode_attr_is_visible()
[all …]
/openbmc/linux/include/linux/usb/
H A Dtypec_altmode.h35 #define to_typec_altmode(d) container_of(d, struct typec_altmode, dev) macro