1f5fbb83fSMauro Carvalho Chehab /* SPDX-License-Identifier: GPL-2.0 */ 29d4fa1a1SMauro Carvalho Chehab /* 39d4fa1a1SMauro Carvalho Chehab * Support for Medifield PNW Camera Imaging ISP subsystem. 49d4fa1a1SMauro Carvalho Chehab * 59d4fa1a1SMauro Carvalho Chehab * Copyright (c) 2010 Intel Corporation. All Rights Reserved. 69d4fa1a1SMauro Carvalho Chehab * 79d4fa1a1SMauro Carvalho Chehab * Copyright (c) 2010 Silicon Hive www.siliconhive.com. 89d4fa1a1SMauro Carvalho Chehab * 99d4fa1a1SMauro Carvalho Chehab * This program is free software; you can redistribute it and/or 109d4fa1a1SMauro Carvalho Chehab * modify it under the terms of the GNU General Public License version 119d4fa1a1SMauro Carvalho Chehab * 2 as published by the Free Software Foundation. 129d4fa1a1SMauro Carvalho Chehab * 139d4fa1a1SMauro Carvalho Chehab * This program is distributed in the hope that it will be useful, 149d4fa1a1SMauro Carvalho Chehab * but WITHOUT ANY WARRANTY; without even the implied warranty of 159d4fa1a1SMauro Carvalho Chehab * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 169d4fa1a1SMauro Carvalho Chehab * GNU General Public License for more details. 179d4fa1a1SMauro Carvalho Chehab * 189d4fa1a1SMauro Carvalho Chehab * 199d4fa1a1SMauro Carvalho Chehab */ 209d4fa1a1SMauro Carvalho Chehab 219d4fa1a1SMauro Carvalho Chehab #ifndef __ATOMISP_FOPS_H__ 229d4fa1a1SMauro Carvalho Chehab #define __ATOMISP_FOPS_H__ 239d4fa1a1SMauro Carvalho Chehab #include "atomisp_subdev.h" 249d4fa1a1SMauro Carvalho Chehab 259d4fa1a1SMauro Carvalho Chehab unsigned int atomisp_dev_users(struct atomisp_device *isp); 269d4fa1a1SMauro Carvalho Chehab unsigned int atomisp_sub_dev_users(struct atomisp_sub_device *asd); 279d4fa1a1SMauro Carvalho Chehab 289d4fa1a1SMauro Carvalho Chehab /* 299d4fa1a1SMauro Carvalho Chehab * Memory help functions for image frame and private parameters 309d4fa1a1SMauro Carvalho Chehab */ 319d4fa1a1SMauro Carvalho Chehab 329d4fa1a1SMauro Carvalho Chehab int atomisp_qbuffers_to_css(struct atomisp_sub_device *asd); 339d4fa1a1SMauro Carvalho Chehab 34*20734fcaSHans de Goede extern const struct vb2_ops atomisp_vb2_ops; 359d4fa1a1SMauro Carvalho Chehab extern const struct v4l2_file_operations atomisp_fops; 369d4fa1a1SMauro Carvalho Chehab 379d4fa1a1SMauro Carvalho Chehab #endif /* __ATOMISP_FOPS_H__ */ 38