Lines Matching refs:p

127 	struct seiko_panel *p = to_seiko_panel(panel);  in seiko_panel_disable()  local
129 if (!p->enabled) in seiko_panel_disable()
132 p->enabled = false; in seiko_panel_disable()
139 struct seiko_panel *p = to_seiko_panel(panel); in seiko_panel_unprepare() local
141 if (!p->prepared) in seiko_panel_unprepare()
144 gpiod_set_value_cansleep(p->enable_gpio, 0); in seiko_panel_unprepare()
146 regulator_disable(p->avdd); in seiko_panel_unprepare()
151 regulator_disable(p->dvdd); in seiko_panel_unprepare()
153 p->prepared = false; in seiko_panel_unprepare()
160 struct seiko_panel *p = to_seiko_panel(panel); in seiko_panel_prepare() local
163 if (p->prepared) in seiko_panel_prepare()
166 err = regulator_enable(p->dvdd); in seiko_panel_prepare()
175 err = regulator_enable(p->avdd); in seiko_panel_prepare()
181 gpiod_set_value_cansleep(p->enable_gpio, 1); in seiko_panel_prepare()
183 p->prepared = true; in seiko_panel_prepare()
188 regulator_disable(p->dvdd); in seiko_panel_prepare()
194 struct seiko_panel *p = to_seiko_panel(panel); in seiko_panel_enable() local
196 if (p->enabled) in seiko_panel_enable()
199 p->enabled = true; in seiko_panel_enable()
207 struct seiko_panel *p = to_seiko_panel(panel); in seiko_panel_get_modes() local
210 return seiko_panel_get_fixed_modes(p, connector); in seiko_panel_get_modes()
217 struct seiko_panel *p = to_seiko_panel(panel); in seiko_panel_get_timings() local
220 if (p->desc->num_timings < num_timings) in seiko_panel_get_timings()
221 num_timings = p->desc->num_timings; in seiko_panel_get_timings()
225 timings[i] = p->desc->timings[i]; in seiko_panel_get_timings()
227 return p->desc->num_timings; in seiko_panel_get_timings()