Lines Matching defs:gpios
37 } gpios;
57 gpiod_set_value(ctx->gpios.power, 1);
59 gpiod_set_value(ctx->gpios.reset, 1);
68 gpiod_set_value(ctx->gpios.reset, 0);
69 gpiod_set_value(ctx->gpios.power, 0);
160 ctx->gpios.reset = devm_gpiod_get(&dsi->dev, "reset", GPIOD_OUT_LOW);
161 if (IS_ERR(ctx->gpios.reset)) {
163 return PTR_ERR(ctx->gpios.reset);
166 ctx->gpios.power = devm_gpiod_get(&dsi->dev, "power", GPIOD_OUT_LOW);
167 if (IS_ERR(ctx->gpios.power)) {
169 return PTR_ERR(ctx->gpios.power);
176 ctx->gpios.updn = devm_gpiod_get(&dsi->dev, "updn", GPIOD_OUT_LOW);
177 if (IS_ERR(ctx->gpios.updn)) {
179 return PTR_ERR(ctx->gpios.updn);
186 ctx->gpios.shlr = devm_gpiod_get(&dsi->dev, "shlr", GPIOD_OUT_LOW);
187 if (IS_ERR(ctx->gpios.shlr)) {
189 return PTR_ERR(ctx->gpios.shlr);