Home
last modified time | relevance | path

Searched refs:iqs624_pos (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/iio/position/
Diqs624-pos.c54 struct iqs624_pos_private *iqs624_pos; in iqs624_pos_notifier() local
61 iqs624_pos = container_of(notifier, struct iqs624_pos_private, in iqs624_pos_notifier()
63 indio_dev = iqs624_pos->indio_dev; in iqs624_pos_notifier()
66 iqs62x = iqs624_pos->iqs62x; in iqs624_pos_notifier()
70 mutex_lock(&iqs624_pos->lock); in iqs624_pos_notifier()
73 ret = iqs624_pos_angle_en(iqs62x, iqs624_pos->angle_en); in iqs624_pos_notifier()
81 } else if (iqs624_pos->angle_en && (angle != iqs624_pos->angle)) { in iqs624_pos_notifier()
88 iqs624_pos->angle = angle; in iqs624_pos_notifier()
94 mutex_unlock(&iqs624_pos->lock); in iqs624_pos_notifier()
101 struct iqs624_pos_private *iqs624_pos = context; in iqs624_pos_notifier_unregister() local
[all …]