Lines Matching refs:funcs
103 const struct mtk_ddp_comp_funcs *funcs; member
113 if (comp->funcs && comp->funcs->config) in mtk_ddp_comp_config()
114 comp->funcs->config(comp, w, h, vrefresh, bpc, cmdq_pkt); in mtk_ddp_comp_config()
119 if (comp->funcs && comp->funcs->start) in mtk_ddp_comp_start()
120 comp->funcs->start(comp); in mtk_ddp_comp_start()
125 if (comp->funcs && comp->funcs->stop) in mtk_ddp_comp_stop()
126 comp->funcs->stop(comp); in mtk_ddp_comp_stop()
132 if (comp->funcs && comp->funcs->enable_vblank) in mtk_ddp_comp_enable_vblank()
133 comp->funcs->enable_vblank(comp, crtc); in mtk_ddp_comp_enable_vblank()
138 if (comp->funcs && comp->funcs->disable_vblank) in mtk_ddp_comp_disable_vblank()
139 comp->funcs->disable_vblank(comp); in mtk_ddp_comp_disable_vblank()
145 if (comp->funcs && comp->funcs->supported_rotations) in mtk_ddp_comp_supported_rotations()
146 return comp->funcs->supported_rotations(comp); in mtk_ddp_comp_supported_rotations()
153 if (comp->funcs && comp->funcs->layer_nr) in mtk_ddp_comp_layer_nr()
154 return comp->funcs->layer_nr(comp); in mtk_ddp_comp_layer_nr()
163 if (comp->funcs && comp->funcs->layer_check) in mtk_ddp_comp_layer_check()
164 return comp->funcs->layer_check(comp, idx, state); in mtk_ddp_comp_layer_check()
173 if (comp->funcs && comp->funcs->layer_config) in mtk_ddp_comp_layer_config()
174 comp->funcs->layer_config(comp, idx, state, cmdq_pkt); in mtk_ddp_comp_layer_config()
180 if (comp->funcs && comp->funcs->gamma_set) in mtk_ddp_gamma_set()
181 comp->funcs->gamma_set(comp, state); in mtk_ddp_gamma_set()
186 if (comp->funcs && comp->funcs->bgclr_in_on) in mtk_ddp_comp_bgclr_in_on()
187 comp->funcs->bgclr_in_on(comp); in mtk_ddp_comp_bgclr_in_on()
192 if (comp->funcs && comp->funcs->bgclr_in_off) in mtk_ddp_comp_bgclr_in_off()
193 comp->funcs->bgclr_in_off(comp); in mtk_ddp_comp_bgclr_in_off()
199 if (comp->funcs && comp->funcs->ctm_set) in mtk_ddp_ctm_set()
200 comp->funcs->ctm_set(comp, state); in mtk_ddp_ctm_set()
209 const struct mtk_ddp_comp_funcs *funcs);