Lines Matching refs:sample_period
30 static int sample_period; variable
103 if (sample_period != ENE_DEFAULT_SAMPLE_PERIOD) in ene_hw_detect()
392 if (sample_period == ENE_DEFAULT_SAMPLE_PERIOD) in ene_rx_setup()
397 (sample_period + sample_period_adjust) | in ene_rx_setup()
443 dev->rdev->rx_resolution = sample_period; in ene_rx_setup()
450 dev->rdev->min_timeout = 127 * sample_period; in ene_rx_setup()
455 dev->rdev->tx_resolution = sample_period; in ene_rx_setup()
638 dev->tx_sample = DIV_ROUND_CLOSEST(sample, sample_period); in ene_tx_sample()
647 dbg("TX: sample %8d (%s)", raw_tx * sample_period, in ene_tx_sample()
786 hw_sample = hw_value * sample_period; in ene_isr()
1028 if (sample_period < 5 || sample_period > 0x7F) in ene_probe()
1029 sample_period = ENE_DEFAULT_SAMPLE_PERIOD; in ene_probe()
1181 module_param(sample_period, int, S_IRUGO);
1182 MODULE_PARM_DESC(sample_period, "Hardware sample period (50 us default)");