Lines Matching +full:powered +full:- +full:on
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * drivers/media/i2c/smiapp/smiapp-quirk.h
7 * Copyright (C) 2011--2012 Nokia Corporation
17 * struct smiapp_quirk - quirks for sensors that deviate from SMIA++ standard
19 * @limits: Replace sensor->limits with values which can't be read from
20 * sensor registers. Called the first time the sensor is powered up.
21 * @post_poweron: Called always after the sensor has been fully powered on.
32 * @value: Register value, set by the caller on write, or
33 * by the quirk on read
35 * @return: 0 on success, -ENOIOCTLCMD if no register
37 * value is zero), else negative error code on error
68 ((sensor)->minfo.quirk && \
69 (sensor)->minfo.quirk->_quirk ? \
70 (sensor)->minfo.quirk->_quirk(sensor, ##__VA_ARGS__) : 0)
73 ((sensor)->minfo.quirk ? \
74 (sensor)->minfo.quirk->flags & _quirk : 0)