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