Lines Matching full:cam
136 int (*plat_power_up) (struct mcam_camera *cam);
137 void (*plat_power_down) (struct mcam_camera *cam);
138 void (*calc_dphy) (struct mcam_camera *cam);
180 void (*dma_setup)(struct mcam_camera *cam);
181 void (*frame_complete)(struct mcam_camera *cam, int frame);
199 static inline void mcam_reg_write(struct mcam_camera *cam, unsigned int reg, in mcam_reg_write() argument
202 iowrite32(val, cam->regs + reg); in mcam_reg_write()
205 static inline unsigned int mcam_reg_read(struct mcam_camera *cam, in mcam_reg_read() argument
208 return ioread32(cam->regs + reg); in mcam_reg_read()
212 static inline void mcam_reg_write_mask(struct mcam_camera *cam, unsigned int reg, in mcam_reg_write_mask() argument
215 unsigned int v = mcam_reg_read(cam, reg); in mcam_reg_write_mask()
218 mcam_reg_write(cam, reg, v); in mcam_reg_write_mask()
221 static inline void mcam_reg_clear_bit(struct mcam_camera *cam, in mcam_reg_clear_bit() argument
224 mcam_reg_write_mask(cam, reg, 0, val); in mcam_reg_clear_bit()
227 static inline void mcam_reg_set_bit(struct mcam_camera *cam, in mcam_reg_set_bit() argument
230 mcam_reg_write_mask(cam, reg, val, val); in mcam_reg_set_bit()
236 int mccic_register(struct mcam_camera *cam);
237 int mccic_irq(struct mcam_camera *cam, unsigned int irqs);
238 void mccic_shutdown(struct mcam_camera *cam);
239 void mccic_suspend(struct mcam_camera *cam);
240 int mccic_resume(struct mcam_camera *cam);