Home
last modified time | relevance | path

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

/linux/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.c1856 static DEVICE_ATTR_RW(power_role);