Searched refs:power_role (Results 1 – 4 of 4) sorted by relevance
241 int power_role; member512 ctx->typec.power_role = (ret & SINK_STATUS) ? TYPEC_SINK : TYPEC_SOURCE; in anx7411_power_role_detect()514 if (ctx->typec.power_role == TYPEC_SOURCE) { in anx7411_power_role_detect()519 typec_set_pwr_role(ctx->typec.port, ctx->typec.power_role); in anx7411_power_role_detect()972 if (ctx->typec.power_role != ret) in anx7411_work_func()
1485 static DEVICE_ATTR_RW(power_role);
18 What: /sys/class/typec/<port>/power_role
5849 uint8_t power_role; /* enum pd_power_role */ member