Lines Matching defs:mdp_hist
207 struct mdp_histogram mdp_hist;
210 static struct mdp_histogram mdp_hist;
224 mdp_hist.bin_cnt = hist->bin_cnt;
225 mdp_hist.r = (hist->r) ? mdp_hist_r : 0;
226 mdp_hist.g = (hist->g) ? mdp_hist_g : 0;
227 mdp_hist.b = (hist->b) ? mdp_hist_b : 0;
239 ret = copy_to_user(hist->r, mdp_hist.r, hist->bin_cnt*4);
244 ret = copy_to_user(hist->g, mdp_hist.g, hist->bin_cnt*4);
249 ret = copy_to_user(hist->b, mdp_hist.b, hist->bin_cnt*4);
565 if (mdp_hist.r)
566 memcpy(mdp_hist.r, MDP_BASE + 0x94100,
567 mdp_hist.bin_cnt*4);
568 if (mdp_hist.g)
569 memcpy(mdp_hist.g, MDP_BASE + 0x94200,
570 mdp_hist.bin_cnt*4);
571 if (mdp_hist.b)
572 memcpy(mdp_hist.b, MDP_BASE + 0x94300,
573 mdp_hist.bin_cnt*4);