IIO_ACTIVITY
case IIO_ACTIVITY:
case IIO_ACTIVITY:
IIO_MOD_EVENT_CODE(IIO_ACTIVITY, 0,
.type = IIO_ACTIVITY, \
case IIO_ACTIVITY:
ev_prev_activity = mma9553_get_event(data, IIO_ACTIVITY,
ev_activity = mma9553_get_event(data, IIO_ACTIVITY,
IIO_MOD_EVENT_CODE(IIO_ACTIVITY, 0,
IIO_MOD_EVENT_CODE(IIO_ACTIVITY, 0,
.type = IIO_ACTIVITY,
.type = IIO_ACTIVITY,
.type = IIO_ACTIVITY,
.type = IIO_ACTIVITY,
.type = IIO_ACTIVITY,
.type = IIO_ACTIVITY,
.type = IIO_ACTIVITY,
.type = IIO_ACTIVITY,
IIO_ACTIVITY);
case IIO_ACTIVITY:
case IIO_ACTIVITY:
case IIO_ACTIVITY:
case IIO_ACTIVITY:
.type = IIO_ACTIVITY, \
case IIO_ACTIVITY:
case IIO_ACTIVITY:
channel->type = IIO_ACTIVITY;
if (chan->type != IIO_ACTIVITY && chan->type != IIO_PROXIMITY)
.type = IIO_ACTIVITY,
.type = IIO_ACTIVITY,
case IIO_ACTIVITY:
case IIO_ACTIVITY:
IIO_MOD_EVENT_CODE(IIO_ACTIVITY, 0,
IIO_MOD_EVENT_CODE(IIO_ACTIVITY, 0,
case IIO_ACTIVITY:
[IIO_ACTIVITY] = "activity",
.type = IIO_ACTIVITY, \
case IIO_ACTIVITY:
[IIO_ACTIVITY] = "activity",