Home
last modified time | relevance | path

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

/drivers/iio/proximity/
Dsx_common.c95 prox_changed = (data->chan_prox_stat ^ val) & data->chan_event; in sx_common_push_events()
129 unsigned long chan_event) in sx_common_update_chan_en() argument
132 unsigned long channels = chan_read | chan_event; in sx_common_update_chan_en()
134 if ((data->chan_read | data->chan_event) != channels) { in sx_common_update_chan_en()
143 data->chan_event = chan_event; in sx_common_update_chan_en()
150 data->chan_event); in sx_common_get_read_channel()
156 data->chan_event); in sx_common_put_read_channel()
162 data->chan_event | BIT(channel)); in sx_common_get_event_channel()
168 data->chan_event & ~BIT(channel)); in sx_common_put_event_channel()
255 return !!(data->chan_event & BIT(chan->channel)); in sx_common_read_event_config()
[all …]
Dsx_common.h134 unsigned long chan_event; member