Home
last modified time | relevance | path

Searched refs:power_role (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec_pdphy_stub.c48 enum typec_role power_role, in qcom_pmic_typec_pdphy_stub_set_roles() argument
55 data_role, power_role); in qcom_pmic_typec_pdphy_stub_set_roles()
H A Dqcom_pmic_typec_pdphy.c428 enum typec_role power_role, in qcom_pmic_typec_pdphy_set_roles() argument
444 (power_role == TYPEC_SOURCE ? MSG_CONFIG_PORT_POWER_ROLE : 0)); in qcom_pmic_typec_pdphy_set_roles()
449 data_role, power_role); in qcom_pmic_typec_pdphy_set_roles()
/linux-6.15/drivers/usb/typec/
H A Danx7411.c242 int power_role; member
515 ctx->typec.power_role = (ret & SINK_STATUS) ? TYPEC_SINK : TYPEC_SOURCE; in anx7411_power_role_detect()
517 if (ctx->typec.power_role == TYPEC_SOURCE) { in anx7411_power_role_detect()
522 typec_set_pwr_role(ctx->typec.port, ctx->typec.power_role); in anx7411_power_role_detect()
975 if (ctx->typec.power_role != ret) in anx7411_work_func()
H A Dclass.c1762 static DEVICE_ATTR_RW(power_role);
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-class-typec18 What: /sys/class/typec/<port>/power_role
/linux-6.15/include/linux/platform_data/
H A Dcros_ec_commands.h6049 uint8_t power_role; /* enum pd_power_role */ member