Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec.c121 enum typec_role power_role, in qcom_pmic_typec_set_roles() argument
127 data_role, power_role); in qcom_pmic_typec_set_roles()
/openbmc/linux/drivers/usb/typec/
H A Danx7411.c241 int power_role; member
514 ctx->typec.power_role = (ret & SINK_STATUS) ? TYPEC_SINK : TYPEC_SOURCE; in anx7411_power_role_detect()
516 if (ctx->typec.power_role == TYPEC_SOURCE) { in anx7411_power_role_detect()
521 typec_set_pwr_role(ctx->typec.port, ctx->typec.power_role); in anx7411_power_role_detect()
974 if (ctx->typec.power_role != ret) in anx7411_work_func()
H A Dclass.c1514 static DEVICE_ATTR_RW(power_role);
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-typec18 What: /sys/class/typec/<port>/power_role
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_commands.h5880 uint8_t power_role; /* enum pd_power_role */ member