Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
H A Dhd3ss3220.c351 struct typec_capability typec_cap = { }; in hd3ss3220_probe() local
433 typec_cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in hd3ss3220_probe()
434 typec_cap.driver_data = hd3ss3220; in hd3ss3220_probe()
435 typec_cap.type = TYPEC_PORT_DRP; in hd3ss3220_probe()
436 typec_cap.data = TYPEC_PORT_DRD; in hd3ss3220_probe()
437 typec_cap.ops = &hd3ss3220_ops; in hd3ss3220_probe()
438 typec_cap.fwnode = connector; in hd3ss3220_probe()
440 ret = hd3ss3220_configure_source_pref(hd3ss3220, connector, &typec_cap); in hd3ss3220_probe()
444 ret = hd3ss3220_configure_port_type(hd3ss3220, connector, &typec_cap); in hd3ss3220_probe()
448 hd3ss3220->port = typec_register_port(&client->dev, &typec_cap); in hd3ss3220_probe()
H A Drt1719.c842 struct typec_capability typec_cap = { }; in rt1719_probe() local
884 typec_cap.revision = USB_TYPEC_REV_1_2; in rt1719_probe()
885 typec_cap.pd_revision = 0x300; /* USB-PD spec release 3.0 */ in rt1719_probe()
886 typec_cap.type = TYPEC_PORT_SNK; in rt1719_probe()
887 typec_cap.data = TYPEC_PORT_DRD; in rt1719_probe()
888 typec_cap.ops = &rt1719_port_ops; in rt1719_probe()
889 typec_cap.fwnode = fwnode; in rt1719_probe()
890 typec_cap.driver_data = data; in rt1719_probe()
891 typec_cap.accessory[0] = TYPEC_ACCESSORY_DEBUG; in rt1719_probe()
895 data->port = typec_register_port(&i2c->dev, &typec_cap); in rt1719_probe()
/linux/drivers/usb/typec/tipd/
H A Dcore.c177 struct typec_capability typec_cap; member
1191 struct typec_capability typec_cap = { }; in tps6598x_register_port() local
1197 typec_cap.revision = USB_TYPEC_REV_1_2; in tps6598x_register_port()
1198 typec_cap.pd_revision = 0x200; in tps6598x_register_port()
1199 typec_cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in tps6598x_register_port()
1200 typec_cap.driver_data = tps; in tps6598x_register_port()
1201 typec_cap.ops = &tps6598x_ops; in tps6598x_register_port()
1202 typec_cap.fwnode = fwnode; in tps6598x_register_port()
1207 typec_cap.type = TYPEC_PORT_SNK; in tps6598x_register_port()
1208 typec_cap.data = TYPEC_PORT_UFP; in tps6598x_register_port()
[all …]
/linux/drivers/extcon/
H A Dextcon-rtk-type-c.c1239 struct typec_capability typec_cap = { }; in extcon_rtk_type_c_init() local
1244 typec_cap.revision = USB_TYPEC_REV_1_0; in extcon_rtk_type_c_init()
1245 typec_cap.prefer_role = TYPEC_NO_PREFERRED_ROLE; in extcon_rtk_type_c_init()
1246 typec_cap.driver_data = type_c; in extcon_rtk_type_c_init()
1247 typec_cap.ops = &type_c_port_ops; in extcon_rtk_type_c_init()
1262 typec_cap.type = ret; in extcon_rtk_type_c_init()
1273 typec_cap.data = ret; in extcon_rtk_type_c_init()
1275 type_c->port = typec_register_port(type_c->dev, &typec_cap); in extcon_rtk_type_c_init()
/linux/drivers/usb/typec/ucsi/
H A Ducsi_yoga_c630.c165 con->typec_cap.orientation_aware = true; in yoga_c630_ucsi_update_connector()
H A Ducsi_glink.c204 con->typec_cap.orientation_aware = true; in pmic_glink_ucsi_update_connector()
H A Ducsi_huawei_gaokun.c166 con->typec_cap.orientation_aware = true; in gaokun_ucsi_update_connector()
H A Ducsi.h527 struct typec_capability typec_cap; member
H A Ducsi.c1591 struct typec_capability *cap = &con->typec_cap; in ucsi_register_port()
1664 con->typec_cap.orientation_aware = true; in ucsi_register_port()