Lines Matching refs:isp
58 #define IS_H3A_AF(stat) ((stat) == &(stat)->isp->isp_af)
59 #define IS_H3A_AEWB(stat) ((stat) == &(stat)->isp->isp_aewb)
70 dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir); in __isp_stat_buf_sync_magic()
71 dma_sync(stat->isp->dev, buf->dma_addr + (buf_size & PAGE_MASK), in __isp_stat_buf_sync_magic()
116 dev_dbg(stat->isp->dev, "%s: beginning magic check does not " in isp_stat_buf_check_magic()
125 dev_dbg(stat->isp->dev, "%s: ending magic check does " in isp_stat_buf_check_magic()
164 dma_sync_sg_for_device(stat->isp->dev, buf->sgt.sgl, in isp_stat_buf_sync_for_device()
174 dma_sync_sg_for_cpu(stat->isp->dev, buf->sgt.sgl, in isp_stat_buf_sync_for_cpu()
242 dev_dbg(stat->isp->dev, "%s: data wasn't properly written.\n", in isp_stat_buf_queue()
259 dev_dbg(stat->isp->dev, "%s: new buffer requested without " in isp_stat_buf_next()
271 spin_lock_irqsave(&stat->isp->stat_lock, flags); in isp_stat_buf_release()
273 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_buf_release()
284 spin_lock_irqsave(&stat->isp->stat_lock, flags); in isp_stat_buf_get()
289 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_buf_get()
290 dev_dbg(stat->isp->dev, "%s: cannot find a buffer.\n", in isp_stat_buf_get()
295 dev_dbg(stat->isp->dev, "%s: current buffer has " in isp_stat_buf_get()
307 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_buf_get()
310 dev_warn(stat->isp->dev, "%s: userspace's buffer size is " in isp_stat_buf_get()
323 dev_info(stat->isp->dev, in isp_stat_buf_get()
336 ? NULL : stat->isp->dev; in isp_stat_bufs_free()
355 dev_dbg(stat->isp->dev, "%s: all buffers were freed.\n", in isp_stat_bufs_free()
404 ? NULL : stat->isp->dev; in isp_stat_bufs_alloc()
408 spin_lock_irqsave(&stat->isp->stat_lock, flags); in isp_stat_bufs_alloc()
414 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_bufs_alloc()
419 dev_info(stat->isp->dev, in isp_stat_bufs_alloc()
422 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_bufs_alloc()
426 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in isp_stat_bufs_alloc()
438 dev_err(stat->isp->dev, in isp_stat_bufs_alloc()
447 dev_dbg(stat->isp->dev, in isp_stat_bufs_alloc()
487 dev_dbg(stat->isp->dev, "%s: engine not enabled.\n", in omap3isp_stat_request_statistics()
528 dev_dbg(stat->isp->dev, "%s: configuration is NULL\n", in omap3isp_stat_config()
535 dev_dbg(stat->isp->dev, "%s: configuring module with buffer " in omap3isp_stat_config()
541 dev_dbg(stat->isp->dev, "%s: configuration values are " in omap3isp_stat_config()
547 dev_dbg(stat->isp->dev, "%s: driver has corrected buffer size " in omap3isp_stat_config()
587 spin_lock_irqsave(&stat->isp->stat_lock, irqflags); in omap3isp_stat_config()
589 spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); in omap3isp_stat_config()
599 dev_dbg(stat->isp->dev, "%s: module has been successfully " in omap3isp_stat_config()
662 spin_lock_irqsave(&stat->isp->stat_lock, flags); in omap3isp_stat_suspend()
669 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in omap3isp_stat_suspend()
687 spin_lock_irqsave(&stat->isp->stat_lock, irqflags); in isp_stat_try_enable()
709 spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); in isp_stat_try_enable()
710 dev_dbg(stat->isp->dev, "%s: module is enabled.\n", in isp_stat_try_enable()
713 spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); in isp_stat_try_enable()
726 spin_lock_irqsave(&stat->isp->stat_lock, irqflags); in omap3isp_stat_sbl_overflow()
741 spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); in omap3isp_stat_sbl_overflow()
755 dev_dbg(stat->isp->dev, "%s: user wants to %s module.\n", in omap3isp_stat_enable()
761 spin_lock_irqsave(&stat->isp->stat_lock, irqflags); in omap3isp_stat_enable()
764 spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); in omap3isp_stat_enable()
766 dev_dbg(stat->isp->dev, "%s: cannot enable module as it's " in omap3isp_stat_enable()
790 spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); in omap3isp_stat_enable()
810 spin_lock_irqsave(&stat->isp->stat_lock, flags); in omap3isp_stat_s_stream()
812 spin_unlock_irqrestore(&stat->isp->stat_lock, flags); in omap3isp_stat_s_stream()
828 dev_dbg(stat->isp->dev, "%s: module is being disabled\n", in omap3isp_stat_s_stream()
850 spin_lock_irqsave(&stat->isp->stat_lock, irqflags); in __stat_isr()
852 spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); in __stat_isr()
861 spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); in __stat_isr()
862 dev_err(stat->isp->dev, in __stat_isr()
875 spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); in __stat_isr()
879 spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); in __stat_isr()
890 spin_lock_irqsave(&stat->isp->stat_lock, irqflags); in __stat_isr()
899 spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); in __stat_isr()
946 spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags); in __stat_isr()
968 dev_dbg(stat->isp->dev, "%s: cannot process buffer, " in __stat_isr()