Searched refs:pcap_rate (Results 1 – 1 of 1) sorted by relevance
348 unsigned long pcap_rate; in xadc_zynq_setup() local361 pcap_rate = clk_get_rate(xadc->clk); in xadc_zynq_setup()362 if (!pcap_rate) in xadc_zynq_setup()365 if (pcap_rate > XADC_ZYNQ_PCAP_RATE_MAX) { in xadc_zynq_setup()372 if (tck_rate > pcap_rate / 2) { in xadc_zynq_setup()375 div = pcap_rate / tck_rate; in xadc_zynq_setup()376 if (pcap_rate / div > XADC_ZYNQ_TCK_RATE_MAX) in xadc_zynq_setup()397 if (pcap_rate > XADC_ZYNQ_PCAP_RATE_MAX) { in xadc_zynq_setup()398 ret = clk_set_rate(xadc->clk, pcap_rate); in xadc_zynq_setup()