Searched refs:partner_pd (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/usb/typec/ucsi/ |
D | ucsi.c | 662 if (con->partner_pd) in ucsi_register_partner_pdos() 665 con->partner_pd = usb_power_delivery_register(NULL, &desc); in ucsi_register_partner_pdos() 666 if (IS_ERR(con->partner_pd)) in ucsi_register_partner_pdos() 667 return PTR_ERR(con->partner_pd); in ucsi_register_partner_pdos() 675 cap = usb_power_delivery_register_capabilities(con->partner_pd, &caps); in ucsi_register_partner_pdos() 681 ret = typec_partner_set_usb_power_delivery(con->partner, con->partner_pd); in ucsi_register_partner_pdos() 695 cap = usb_power_delivery_register_capabilities(con->partner_pd, &caps); in ucsi_register_partner_pdos() 701 ret = typec_partner_set_usb_power_delivery(con->partner, con->partner_pd); in ucsi_register_partner_pdos() 717 usb_power_delivery_unregister(con->partner_pd); in ucsi_unregister_partner_pdos() 718 con->partner_pd = NULL; in ucsi_unregister_partner_pdos()
|
D | ucsi.h | 359 struct usb_power_delivery *partner_pd; member
|
/linux-6.6.21/drivers/platform/chrome/ |
D | cros_ec_typec.c | 205 usb_power_delivery_unregister(port->partner_pd); in cros_typec_remove_partner() 206 port->partner_pd = NULL; in cros_typec_remove_partner() 937 if (!port->partner || port->partner_pd) in cros_typec_register_partner_pdos() 944 port->partner_pd = typec_partner_usb_power_delivery_register(port->partner, &desc); in cros_typec_register_partner_pdos() 945 if (IS_ERR(port->partner_pd)) { in cros_typec_register_partner_pdos() 950 typec_partner_set_usb_power_delivery(port->partner, port->partner_pd); in cros_typec_register_partner_pdos() 954 port->partner_src_caps = usb_power_delivery_register_capabilities(port->partner_pd, in cros_typec_register_partner_pdos() 962 port->partner_sink_caps = usb_power_delivery_register_capabilities(port->partner_pd, in cros_typec_register_partner_pdos()
|
D | cros_ec_typec.h | 78 struct usb_power_delivery *partner_pd; member
|
/linux-6.6.21/drivers/usb/typec/tcpm/ |
D | tcpm.c | 403 struct usb_power_delivery *partner_pd; member 2404 if (!port->partner_pd) in tcpm_register_source_caps() 2405 port->partner_pd = usb_power_delivery_register(NULL, &desc); in tcpm_register_source_caps() 2406 if (IS_ERR(port->partner_pd)) in tcpm_register_source_caps() 2407 return PTR_ERR(port->partner_pd); in tcpm_register_source_caps() 2412 cap = usb_power_delivery_register_capabilities(port->partner_pd, &caps); in tcpm_register_source_caps() 2427 if (!port->partner_pd) in tcpm_register_sink_caps() 2428 port->partner_pd = usb_power_delivery_register(NULL, &desc); in tcpm_register_sink_caps() 2429 if (IS_ERR(port->partner_pd)) in tcpm_register_sink_caps() 2430 return PTR_ERR(port->partner_pd); in tcpm_register_sink_caps() [all …]
|