Searched defs:sample_period (Results 1 - 3 of 3) sorted by relevance

/drivers/media/rc/
H A Dene_ir.c45 static int sample_period; variable
118 if (sample_period != ENE_DEFAULT_SAMPLE_PERIOD)
407 if (sample_period == ENE_DEFAULT_SAMPLE_PERIOD)
412 (sample_period + sample_period_adjust) |
458 dev->rdev->rx_resolution = US_TO_NS(sample_period);
465 dev->rdev->min_timeout = US_TO_NS(127 * sample_period);
470 dev->rdev->tx_resolution = US_TO_NS(sample_period);
642 dev->tx_sample = DIV_ROUND_CLOSEST(sample, sample_period);
651 dbg("TX: sample %8d (%s)", raw_tx * sample_period,
790 hw_sample = hw_value * sample_period;
[all...]
H A Dite-cir.c78 static long sample_period; variable
79 module_param(sample_period, long, S_IRUGO | S_IWUSR);
80 MODULE_PARM_DESC(sample_period, "Override carrier sample period, us");
180 u32 sample_period; local
188 sample_period = dev->params.sample_period;
195 ITE_BITS_TO_NS(next_one, sample_period);
202 ev.duration = ITE_BITS_TO_NS(next_zero - next_one, sample_period);
213 sample_period);
411 (ITE_BAUDRATE_DIVISOR * dev->params.sample_period *
[all...]
H A Dite-cir.h67 u32 sample_period; member in struct:ite_dev_params
170 #define ITE_BITS_TO_NS(bits, sample_period) \
171 ((u32) ((bits) * ITE_BAUDRATE_DIVISOR * sample_period))

Completed in 61 milliseconds