Searched refs:IIO_EVENT_CODE_EXTRACT_CHAN (Results 1 – 6 of 6) sorted by relevance
324 reg = ad7291_limit_regs[IIO_EVENT_CODE_EXTRACT_CHAN(event_code)] in ad7291_read_event_value()362 reg = ad7291_limit_regs[IIO_EVENT_CODE_EXTRACT_CHAN(event_code)] in ad7291_write_event_value()389 (1 << (15 - IIO_EVENT_CODE_EXTRACT_CHAN(event_code)))) in ad7291_read_event_config()421 IIO_EVENT_CODE_EXTRACT_CHAN(event_code))))) in ad7291_write_event_config()422 chip->c_mask &= ~(1 << (15 - IIO_EVENT_CODE_EXTRACT_CHAN in ad7291_write_event_config()425 IIO_EVENT_CODE_EXTRACT_CHAN(event_code)))))) in ad7291_write_event_config()426 chip->c_mask |= (1 << (15 - IIO_EVENT_CODE_EXTRACT_CHAN in ad7291_write_event_config()
546 *val = st->thresh_low[IIO_EVENT_CODE_EXTRACT_CHAN(event_code)]; in max1363_read_thresh()548 *val = st->thresh_high[IIO_EVENT_CODE_EXTRACT_CHAN(event_code)]; in max1363_read_thresh()571 st->thresh_low[IIO_EVENT_CODE_EXTRACT_CHAN(event_code)] = val; in max1363_write_thresh()574 st->thresh_high[IIO_EVENT_CODE_EXTRACT_CHAN(event_code)] = val; in max1363_write_thresh()625 int number = IIO_EVENT_CODE_EXTRACT_CHAN(event_code); in max1363_read_event_config()778 int number = IIO_EVENT_CODE_EXTRACT_CHAN(event_code); in max1363_write_event_config()
259 int number = IIO_EVENT_CODE_EXTRACT_CHAN(event_code); in ad799x_write_event_value()278 int number = IIO_EVENT_CODE_EXTRACT_CHAN(event_code); in ad799x_read_event_value()
170 int chan = IIO_EVENT_CODE_EXTRACT_CHAN(event_code); in ad7150_write_event_params()282 int chan = IIO_EVENT_CODE_EXTRACT_CHAN(event_code); in ad7150_read_event_value()312 int chan = IIO_EVENT_CODE_EXTRACT_CHAN(event_code); in ad7150_write_event_value()350 int chan = IIO_EVENT_CODE_EXTRACT_CHAN(this_attr->address); in ad7150_show_timeout()376 int chan = IIO_EVENT_CODE_EXTRACT_CHAN(this_attr->address); in ad7150_store_timeout()
99 #define IIO_EVENT_CODE_EXTRACT_CHAN(mask) ((__s16)(mask & 0xFFFF)) macro
141 int chan = IIO_EVENT_CODE_EXTRACT_CHAN(event->id); in print_event()