Home
last modified time | relevance | path

Searched refs:ch_setup (Results 1 – 1 of 1) sorted by relevance

/drivers/video/pnx4008/
Dsdum.c65 static u32 nof_pixels_dx(struct dum_ch_setup *ch_setup) in nof_pixels_dx() argument
67 return (ch_setup->xmax - ch_setup->xmin + 1); in nof_pixels_dx()
70 static u32 nof_pixels_dy(struct dum_ch_setup *ch_setup) in nof_pixels_dy() argument
72 return (ch_setup->ymax - ch_setup->ymin + 1); in nof_pixels_dy()
75 static u32 nof_pixels_dxy(struct dum_ch_setup *ch_setup) in nof_pixels_dxy() argument
77 return (nof_pixels_dx(ch_setup) * nof_pixels_dy(ch_setup)); in nof_pixels_dxy()
80 static u32 nof_bytes(struct dum_ch_setup *ch_setup) in nof_bytes() argument
82 u32 r = nof_pixels_dxy(ch_setup); in nof_bytes()
83 switch (ch_setup->format) { in nof_bytes()
107 static void build_disp_window(struct dum_ch_setup * ch_setup, struct disp_window * dw) in build_disp_window() argument
[all …]