Searched refs:clk_freq (Results 1 – 9 of 9) sorted by relevance
25 unsigned int clk_freq; in get_external_clk() local29 clk_freq = 122880000; in get_external_clk()32 clk_freq = 125000000; in get_external_clk()35 clk_freq = 122880000; in get_external_clk()38 clk_freq = 125000000; in get_external_clk()41 clk_freq = 100000000; in get_external_clk()44 clk_freq = 100000000; in get_external_clk()47 clk_freq = 0; in get_external_clk()51 return clk_freq; in get_external_clk()
16 unsigned int clk_freq; in get_external_clk() local20 clk_freq = 122880000; in get_external_clk()23 clk_freq = 100000000; in get_external_clk()26 clk_freq = 122880000; in get_external_clk()29 clk_freq = 122880000; in get_external_clk()32 clk_freq = 100000000; in get_external_clk()35 clk_freq = 0; in get_external_clk()39 return clk_freq; in get_external_clk()
16 unsigned int clk_freq; in get_external_clk() local20 clk_freq = 100000000; in get_external_clk()23 clk_freq = 100000000; in get_external_clk()26 clk_freq = 100000000; in get_external_clk()29 clk_freq = 100000000; in get_external_clk()32 clk_freq = 0; in get_external_clk()36 return clk_freq; in get_external_clk()
30 unsigned int clk_freq; in get_external_clk() local35 clk_freq = sysclk_array[sysclk_index]; in get_external_clk()38 clk_freq = sysclk_array[sysclk_index]; in get_external_clk()41 clk_freq = sysclk_array[sysclk_index]; in get_external_clk()44 clk_freq = sysclk_array[sysclk_index]; in get_external_clk()47 clk_freq = sysclk_array[sysclk_index]; in get_external_clk()50 clk_freq = 0; in get_external_clk()54 return clk_freq; in get_external_clk()
378 int freq = QIXIS_READ(clk_freq[0]) << 8 | QIXIS_READ(clk_freq[1]); in get_board_sys_clk()416 int freq = QIXIS_READ(clk_freq[2]) << 8 | QIXIS_READ(clk_freq[3]); in get_board_ddr_clk()
162 u32 mtb, clk_freq; in ddrtimingcalculation() local176 clk_freq = spd_cb->ddrspdclock / 2; in ddrtimingcalculation()277 if ((clk_freq / 2) >= 166 && (clk_freq / 2 < 275)) in ddrtimingcalculation()279 else if ((clk_freq / 2) > 225 && (clk_freq / 2 < 385)) in ddrtimingcalculation()281 else if ((clk_freq / 2) > 335 && (clk_freq / 2 < 534)) in ddrtimingcalculation()
576 int freq = QIXIS_READ(clk_freq[0]) << 8 | QIXIS_READ(clk_freq[1]); in get_board_sys_clk()613 int freq = QIXIS_READ(clk_freq[2]) << 8 | QIXIS_READ(clk_freq[3]); in get_board_ddr_clk()
152 ulong div, clk_freq; in pic32_get_pbclk() local156 clk_freq = pic32_get_sysclk(priv); in pic32_get_pbclk()161 return clk_freq / div; in pic32_get_pbclk()
78 u8 clk_freq[6]; /* Clock Measurement Registers */ member