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);
165 ctx->gpios.reset = devm_gpiod_get(&dsi->dev, "reset", GPIOD_OUT_LOW);
166 if (IS_ERR(ctx->gpios.reset)) {
168 return PTR_ERR(ctx->gpios.reset);
171 ctx->gpios.power = devm_gpiod_get(&dsi->dev, "power", GPIOD_OUT_LOW);
172 if (IS_ERR(ctx->gpios.power)) {
174 return PTR_ERR(ctx->gpios.power);
181 ctx->gpios.updn = devm_gpiod_get(&dsi->dev, "updn", GPIOD_OUT_LOW);
182 if (IS_ERR(ctx->gpios.updn)) {
184 return PTR_ERR(ctx->gpios.updn);
191 ctx->gpios.shlr = devm_gpiod_get(&dsi->dev, "shlr", GPIOD_OUT_LOW);
192 if (IS_ERR(ctx->gpios.shlr)) {
194 return PTR_ERR(ctx->gpios.shlr);