SAMPLE_PERIOD
duration = (duration & BUF_LEN_MASK) * SAMPLE_PERIOD;
val = DIV_ROUND_CLOSEST(val, SAMPLE_PERIOD);
duration *= SAMPLE_PERIOD;
val = raw[i].duration / SAMPLE_PERIOD;
rawir.duration = (sample & BUF_LEN_MASK) * SAMPLE_PERIOD;
#define CIR_RX_LIMIT_COUNT (IR_DEFAULT_TIMEOUT / SAMPLE_PERIOD)
.sample_period = SAMPLE_PERIOD,
.sample_period = SAMPLE_PERIOD,
.sample_period = SAMPLE_PERIOD,
.sample_period = SAMPLE_PERIOD,
.sample_period = SAMPLE_PERIOD,
PERF_CONST(SAMPLE_PERIOD),