Lines Matching refs:lval
448 #define DLN2_ADC_CHAN(lval, idx) { \ argument
449 lval.type = IIO_VOLTAGE; \
450 lval.channel = idx; \
451 lval.indexed = 1; \
452 lval.info_mask_separate = BIT(IIO_CHAN_INFO_RAW); \
453 lval.info_mask_shared_by_all = BIT(IIO_CHAN_INFO_SCALE) | \
455 lval.scan_index = idx; \
456 lval.scan_type.sign = 'u'; \
457 lval.scan_type.realbits = DLN2_ADC_DATA_BITS; \
458 lval.scan_type.storagebits = 16; \
459 lval.scan_type.endianness = IIO_LE; \
463 #define IIO_CHAN_SOFT_TIMESTAMP_ASSIGN(lval, _si) { \ argument
464 lval.type = IIO_TIMESTAMP; \
465 lval.channel = -1; \
466 lval.scan_index = _si; \
467 lval.scan_type.sign = 's'; \
468 lval.scan_type.realbits = 64; \
469 lval.scan_type.storagebits = 64; \