Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
H A Dpd.c534 struct usb_power_delivery *pd = to_usb_power_delivery(dev); in revision_show()
542 struct usb_power_delivery *pd = to_usb_power_delivery(dev); in version_show()
556 struct usb_power_delivery *pd = to_usb_power_delivery(kobj_to_dev(kobj)); in pd_attr_is_visible()
572 struct usb_power_delivery *pd = to_usb_power_delivery(dev); in pd_release()
590 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