Searched refs:freq_id (Results 1 – 7 of 7) sorted by relevance
/external/u-boot/drivers/timer/ |
D | tsc_timer.c | 83 #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/ |
D | clk-core.c | 283 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()
|
D | clk-bcm235xx.c | 284 .freq_id = 2, 303 .freq_id = 2, 323 .freq_id = 2,
|
D | clk-core.h | 435 int freq_id; member
|
/external/u-boot/arch/arm/cpu/armv7/bcm281xx/ |
D | clk-core.c | 283 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()
|
D | clk-bcm281xx.c | 284 .freq_id = 2, 307 .freq_id = 2, 327 .freq_id = 2,
|
D | clk-core.h | 435 int freq_id; member
|