Searched refs:power_role (Results 1 – 5 of 5) sorted by relevance
121 enum typec_role power_role, in qcom_pmic_typec_set_roles() argument127 data_role, power_role); in qcom_pmic_typec_set_roles()
241 int power_role; member514 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()
1514 static DEVICE_ATTR_RW(power_role);
18 What: /sys/class/typec/<port>/power_role
5880 uint8_t power_role; /* enum pd_power_role */ member