Lines Matching +full:mipi +full:- +full:ccs +full:- +full:1
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * drivers/media/i2c/ccs/ccs-quirk.h
5 * Generic driver for MIPI CCS/SMIA/SMIA++ compliant camera sensors
8 * Copyright (C) 2011--2012 Nokia Corporation
18 * struct ccs_quirk - quirks for sensors that deviate from SMIA++ standard
20 * @limits: Replace sensor->limits with values which can't be read from
31 * -write: Is this read (false) or write (true) access?
32 * -reg: Pointer to the register to access
33 * -val: Register value, set by the caller on write, or
35 * -return: 0 on success, -ENOIOCTLCMD if no register
52 #define CCS_QUIRK_FLAG_8BIT_READ_ONLY (1 << 0)
66 ((sensor)->minfo.quirk && \
67 (sensor)->minfo.quirk->_quirk ? \
68 (sensor)->minfo.quirk->_quirk(sensor, ##__VA_ARGS__) : 0)
71 ((sensor)->minfo.quirk ? \
72 (sensor)->minfo.quirk->flags & _quirk : 0)