Home
last modified time | relevance | path

Searched refs:typec_cap (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/usb/typec/
Dhd3ss3220.c154 struct typec_capability typec_cap = { }; in hd3ss3220_probe() local
194 typec_cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in hd3ss3220_probe()
195 typec_cap.driver_data = hd3ss3220; in hd3ss3220_probe()
196 typec_cap.type = TYPEC_PORT_DRP; in hd3ss3220_probe()
197 typec_cap.data = TYPEC_PORT_DRD; in hd3ss3220_probe()
198 typec_cap.ops = &hd3ss3220_ops; in hd3ss3220_probe()
199 typec_cap.fwnode = connector; in hd3ss3220_probe()
201 hd3ss3220->port = typec_register_port(&client->dev, &typec_cap); in hd3ss3220_probe()
Drt1719.c847 struct typec_capability typec_cap = { }; in rt1719_probe() local
889 typec_cap.revision = USB_TYPEC_REV_1_2; in rt1719_probe()
890 typec_cap.pd_revision = 0x300; /* USB-PD spec release 3.0 */ in rt1719_probe()
891 typec_cap.type = TYPEC_PORT_SNK; in rt1719_probe()
892 typec_cap.data = TYPEC_PORT_DRD; in rt1719_probe()
893 typec_cap.ops = &rt1719_port_ops; in rt1719_probe()
894 typec_cap.fwnode = fwnode; in rt1719_probe()
895 typec_cap.driver_data = data; in rt1719_probe()
896 typec_cap.accessory[0] = TYPEC_ACCESSORY_DEBUG; in rt1719_probe()
900 data->port = typec_register_port(&i2c->dev, &typec_cap); in rt1719_probe()
/Linux-v6.1/drivers/usb/typec/tipd/
Dcore.c91 struct typec_capability typec_cap; member
695 struct typec_capability typec_cap = { }; in tps6598x_probe() local
780 typec_cap.revision = USB_TYPEC_REV_1_2; in tps6598x_probe()
781 typec_cap.pd_revision = 0x200; in tps6598x_probe()
782 typec_cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in tps6598x_probe()
783 typec_cap.driver_data = tps; in tps6598x_probe()
784 typec_cap.ops = &tps6598x_ops; in tps6598x_probe()
785 typec_cap.fwnode = fwnode; in tps6598x_probe()
790 typec_cap.type = TYPEC_PORT_SNK; in tps6598x_probe()
791 typec_cap.data = TYPEC_PORT_UFP; in tps6598x_probe()
[all …]
/Linux-v6.1/drivers/usb/typec/ucsi/
Ducsi.h331 struct typec_capability typec_cap; member
Ducsi.c1040 struct typec_capability *cap = &con->typec_cap; in ucsi_register_port()