Lines Matching refs:background_struct
241 void ipa_background_struct_para_init(ipa_background_parameter_struct *background_struct) in ipa_background_struct_para_init() argument
244 background_struct->background_memaddr = IPA_DEFAULT_VALUE; in ipa_background_struct_para_init()
245 background_struct->background_lineoff = IPA_DEFAULT_VALUE; in ipa_background_struct_para_init()
246 background_struct->background_prealpha = IPA_DEFAULT_VALUE; in ipa_background_struct_para_init()
247 background_struct->background_alpha_algorithm = IPA_BG_ALPHA_MODE_0; in ipa_background_struct_para_init()
248 background_struct->background_pf = BACKGROUND_PPF_ARGB8888; in ipa_background_struct_para_init()
249 background_struct->background_prered = IPA_DEFAULT_VALUE; in ipa_background_struct_para_init()
250 background_struct->background_pregreen = IPA_DEFAULT_VALUE; in ipa_background_struct_para_init()
251 background_struct->background_preblue = IPA_DEFAULT_VALUE; in ipa_background_struct_para_init()
270 void ipa_background_init(ipa_background_parameter_struct *background_struct) in ipa_background_init() argument
281 IPA_BMADDR = background_struct->background_memaddr; in ipa_background_init()
284 IPA_BLOFF = background_struct->background_lineoff; in ipa_background_init()
287 IPA_BPCTL |= (background_struct->background_prealpha << 24U); in ipa_background_init()
288 IPA_BPCTL |= background_struct->background_alpha_algorithm; in ipa_background_init()
289 IPA_BPCTL |= background_struct->background_pf; in ipa_background_init()
292 …IPA_BPV |= ((background_struct->background_prered << 16U) | (background_struct->background_pregree… in ipa_background_init()
293 | (background_struct->background_preblue)); in ipa_background_init()