Searched refs:sample_div (Results 1 – 2 of 2) sorted by relevance
27 int sample_div; member132 symbol /= dev->sample_div; in st_rc_rx_interrupt()134 mark /= dev->sample_div; in st_rc_rx_interrupt()182 dev->sample_div = baseclock / (10000 * rx_sampling_freq_div); in st_rc_hardware_init()183 rx_max_symbol_per = (rx_max_symbol_per * 1000)/dev->sample_div; in st_rc_hardware_init()
637 unsigned short sample_div; in sirfsoc_usp_calc_sample_div() local641 for (sample_div = SIRF_USP_MIN_SAMPLE_DIV; in sirfsoc_usp_calc_sample_div()642 sample_div <= SIRF_MAX_SAMPLE_DIV; sample_div++) { in sirfsoc_usp_calc_sample_div()644 (ioclk_rate + (set_rate * sample_div) / 2) in sirfsoc_usp_calc_sample_div()645 / (set_rate * sample_div) * set_rate * sample_div; in sirfsoc_usp_calc_sample_div()650 (set_rate * sample_div) + 1) / 2 - 1; in sirfsoc_usp_calc_sample_div()654 *sample_reg = sample_div; in sirfsoc_usp_calc_sample_div()667 unsigned short sample_div; in sirfsoc_uart_calc_sample_div() local673 for (sample_div = SIRF_MIN_SAMPLE_DIV; in sirfsoc_uart_calc_sample_div()674 sample_div <= SIRF_MAX_SAMPLE_DIV; sample_div++) { in sirfsoc_uart_calc_sample_div()[all …]