Lines Matching refs:desc
21 void print_descriptor_info(struct device *dev, struct mxc_jpeg_desc *desc) in print_descriptor_info() argument
24 desc->next_descpt_ptr); in print_descriptor_info()
25 dev_dbg(dev, " MXC JPEG BUF_BASE0 0x%x\n", desc->buf_base0); in print_descriptor_info()
26 dev_dbg(dev, " MXC JPEG BUF_BASE1 0x%x\n", desc->buf_base1); in print_descriptor_info()
27 dev_dbg(dev, " MXC JPEG LINE_PITCH %d\n", desc->line_pitch); in print_descriptor_info()
28 dev_dbg(dev, " MXC JPEG STM_BUFBASE 0x%x\n", desc->stm_bufbase); in print_descriptor_info()
29 dev_dbg(dev, " MXC JPEG STM_BUFSIZE %d\n", desc->stm_bufsize); in print_descriptor_info()
30 dev_dbg(dev, " MXC JPEG IMGSIZE %x (%d x %d)\n", desc->imgsize, in print_descriptor_info()
31 desc->imgsize >> 16, desc->imgsize & 0xFFFF); in print_descriptor_info()
32 dev_dbg(dev, " MXC JPEG STM_CTRL 0x%x\n", desc->stm_ctrl); in print_descriptor_info()
167 void mxc_jpeg_set_bufsize(struct mxc_jpeg_desc *desc, u32 bufsize) in mxc_jpeg_set_bufsize() argument
169 desc->stm_bufsize = bufsize; in mxc_jpeg_set_bufsize()
172 void mxc_jpeg_set_res(struct mxc_jpeg_desc *desc, u16 w, u16 h) in mxc_jpeg_set_res() argument
174 desc->imgsize = w << 16 | h; in mxc_jpeg_set_res()
177 void mxc_jpeg_set_line_pitch(struct mxc_jpeg_desc *desc, u32 line_pitch) in mxc_jpeg_set_line_pitch() argument
179 desc->line_pitch = line_pitch; in mxc_jpeg_set_line_pitch()
182 void mxc_jpeg_set_desc(u32 desc, void __iomem *reg, int slot) in mxc_jpeg_set_desc() argument
184 writel(desc | MXC_NXT_DESCPT_EN, in mxc_jpeg_set_desc()