Home
last modified time | relevance | path

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

/linux/drivers/iio/proximity/
H A Dsx_common.c95 prox_changed = (data->chan_prox_stat ^ val) & data->chan_event; in sx_common_push_events()
128 unsigned long chan_event) in sx_common_update_chan_en() argument
131 unsigned long channels = chan_read | chan_event; in sx_common_update_chan_en()
133 if ((data->chan_read | data->chan_event) != channels) { in sx_common_update_chan_en()
142 data->chan_event = chan_event; in sx_common_update_chan_en()
149 data->chan_event); in sx_common_get_read_channel()
155 data->chan_event); in sx_common_put_read_channel()
161 data->chan_event | BIT(channel)); in sx_common_get_event_channel()
167 data->chan_event & ~BIT(channel)); in sx_common_put_event_channel()
254 return !!(data->chan_event & BIT(chan->channel)); in sx_common_read_event_config()
[all …]