Lines Matching refs:clk_freq
1657 ssp_clock_params * clk_freq)
1721 clk_freq->cpsdvsr = (u8) (best_cpsdvsr & 0xFF);
1722 clk_freq->scr = (u8) (best_scr & 0xFF);
1727 clk_freq->cpsdvsr, clk_freq->scr);
1765 struct ssp_clock_params clk_freq = { .cpsdvsr = 0, .scr = 0};
1804 if ((0 == chip_info->clk_freq.cpsdvsr)
1805 && (0 == chip_info->clk_freq.scr)) {
1808 &clk_freq);
1812 memcpy(&clk_freq, &chip_info->clk_freq, sizeof(clk_freq));
1813 if ((clk_freq.cpsdvsr % 2) != 0)
1814 clk_freq.cpsdvsr =
1815 clk_freq.cpsdvsr - 1;
1817 if ((clk_freq.cpsdvsr < CPSDVR_MIN)
1818 || (clk_freq.cpsdvsr > CPSDVR_MAX)) {
1889 chip->cpsr = clk_freq.cpsdvsr;
1946 SSP_WRITE_BITS(chip->cr0, clk_freq.scr, SSP_CR0_MASK_SCR, 8);