Lines Matching +full:diff +full:- +full:channels
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* The industrial I/O - event passing to userspace
4 * Copyright (c) 2008-2011 Jonathan Cameron
13 * IIO_EVENT_CODE() - create event identifier
15 * @diff: Whether the event is for an differential channel or not.
19 * @chan: Channel number for non-differential channels.
20 * @chan1: First channel number for differential channels.
21 * @chan2: Second channel number for differential channels.
24 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument
26 (((u64)type << 56) | ((u64)diff << 55) | \
33 * IIO_MOD_EVENT_CODE() - create event identifier for modified channels
46 * IIO_UNMOD_EVENT_CODE() - create event identifier for unmodified channels