Home
last modified time | relevance | path

Searched refs:freq_id (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/drivers/timer/
Dtsc_timer.c83 #define id_to_freq(cpu_index, freq_id) \ argument
84 (freq_desc_tables[cpu_index].freqs[freq_id])
98 u32 lo, hi, ratio, freq_id, freq; in cpu_mhz_from_msr() local
125 freq_id = lo & 0x7; in cpu_mhz_from_msr()
126 freq = id_to_freq(cpu_index, freq_id); in cpu_mhz_from_msr()
128 freq_id, freq); in cpu_mhz_from_msr()
/external/u-boot/arch/arm/cpu/armv7/bcm235xx/
Dclk-core.c283 reg = ccu_clk->freq_id | in ccu_clk_enable()
284 (ccu_clk->freq_id << (ccu_clk->freq_bit_shift)) | in ccu_clk_enable()
285 (ccu_clk->freq_id << (ccu_clk->freq_bit_shift * 2)) | in ccu_clk_enable()
286 (ccu_clk->freq_id << (ccu_clk->freq_bit_shift * 3)); in ccu_clk_enable()
323 c->rate = ccu_clk->freq_tbl[ccu_clk->freq_id]; in ccu_clk_get_rate()
382 c->rate = bus_clk->freq_tbl[ccu_clk->freq_id]; in bus_clk_get_rate()
383 c->div = ccu_clk->freq_tbl[ccu_clk->freq_id] / c->rate; in bus_clk_get_rate()
Dclk-bcm235xx.c284 .freq_id = 2,
303 .freq_id = 2,
323 .freq_id = 2,
Dclk-core.h435 int freq_id; member
/external/u-boot/arch/arm/cpu/armv7/bcm281xx/
Dclk-core.c283 reg = ccu_clk->freq_id | in ccu_clk_enable()
284 (ccu_clk->freq_id << (ccu_clk->freq_bit_shift)) | in ccu_clk_enable()
285 (ccu_clk->freq_id << (ccu_clk->freq_bit_shift * 2)) | in ccu_clk_enable()
286 (ccu_clk->freq_id << (ccu_clk->freq_bit_shift * 3)); in ccu_clk_enable()
323 c->rate = ccu_clk->freq_tbl[ccu_clk->freq_id]; in ccu_clk_get_rate()
382 c->rate = bus_clk->freq_tbl[ccu_clk->freq_id]; in bus_clk_get_rate()
383 c->div = ccu_clk->freq_tbl[ccu_clk->freq_id] / c->rate; in bus_clk_get_rate()
Dclk-bcm281xx.c284 .freq_id = 2,
307 .freq_id = 2,
327 .freq_id = 2,
Dclk-core.h435 int freq_id; member