Home
last modified time | relevance | path

Searched refs:to_usb_power_delivery (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/usb/typec/
H A Dpd.c536 struct usb_power_delivery *pd = to_usb_power_delivery(dev); in revision_show()
544 struct usb_power_delivery *pd = to_usb_power_delivery(dev); in version_show()
558 struct usb_power_delivery *pd = to_usb_power_delivery(kobj_to_dev(kobj)); in pd_attr_is_visible()
574 struct usb_power_delivery *pd = to_usb_power_delivery(dev); in pd_release()
592 return dev ? to_usb_power_delivery(dev) : NULL; in usb_power_delivery_find()
H A Dpd.h23 #define to_usb_power_delivery(o) container_of(o, struct usb_power_delivery, dev) macro