Searched refs:power_role (Results 1 – 2 of 2) sorted by relevance
242 int power_role; member515 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()
1856 static DEVICE_ATTR_RW(power_role);