Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/typec/
Dclass.c76 struct typec_port *port = to_typec_port(dev->parent); in get_pd_product_type()
322 return to_typec_port(alt->dev.parent->parent->parent); in typec_altmode2port()
324 return to_typec_port(alt->dev.parent->parent); in typec_altmode2port()
326 return to_typec_port(alt->dev.parent); in typec_altmode2port()
477 ids = &to_typec_port(dev)->mode_ids; in altmode_id_get()
491 ids = &to_typec_port(dev)->mode_ids; in altmode_id_remove()
1243 struct typec_port *port = to_typec_port(dev); in select_usb_power_delivery_store()
1259 struct typec_port *port = to_typec_port(dev); in select_usb_power_delivery_show()
1291 struct typec_port *port = to_typec_port(kobj_to_dev(kobj)); in port_attr_is_visible()
1344 struct typec_port *port = to_typec_port(dev); in preferred_role_store()
[all …]
Dclass.h64 #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev) macro