Home
last modified time | relevance | path

Searched refs:MHZ (Results 1 – 25 of 29) sorted by relevance

12

/drivers/clk/
Dclk-nspire.c17 #define MHZ (1000 * 1000) macro
48 clk->base_clock = 48 * MHZ; in nspire_clkinfo_cx()
50 clk->base_clock = 6 * EXTRACT(val, CX_BASE) * MHZ; in nspire_clkinfo_cx()
59 clk->base_clock = 27 * MHZ; in nspire_clkinfo_classic()
61 clk->base_clock = (300 - 6 * EXTRACT(val, CLASSIC_BASE)) * MHZ; in nspire_clkinfo_classic()
136 info.base_clock / MHZ, in nspire_clk_setup()
137 info.base_clock / info.base_cpu_ratio / MHZ, in nspire_clk_setup()
138 info.base_clock / info.base_ahb_ratio / MHZ); in nspire_clk_setup()
/drivers/net/can/softing/
Dsofting_cs.c37 #define MHZ (1000*1000) macro
44 .freq = 16 * MHZ, .max_brp = 32, .max_sjw = 4,
56 .freq = 16 * MHZ, .max_brp = 32, .max_sjw = 4,
68 .freq = 20 * MHZ, .max_brp = 32, .max_sjw = 4,
80 .freq = 24 * MHZ, .max_brp = 64, .max_sjw = 4,
92 .freq = 16 * MHZ, .max_brp = 64, .max_sjw = 4,
104 .freq = 20 * MHZ, .max_brp = 32, .max_sjw = 4,
116 .freq = 24 * MHZ, .max_brp = 64, .max_sjw = 4,
128 .freq = 16 * MHZ, .max_brp = 64, .max_sjw = 4,
140 .freq = 24 * MHZ, .max_brp = 64, .max_sjw = 4,
/drivers/clk/mediatek/
Dclk-mt2701.c38 108 * MHZ),
40 400 * MHZ),
44 340 * MHZ),
46 340 * MHZ),
48 340 * MHZ),
50 300 * MHZ),
52 27 * MHZ),
54 416 * MHZ),
56 143 * MHZ),
58 27 * MHZ),
[all …]
Dclk-mtk.h27 #define MHZ (1000 * 1000) macro
Dclk-mt8173.c36 FIXED_CLK(CLK_TOP_USB_SYSPLL_125M, "usb_syspll_125m", "clk26m", 125 * MHZ),
1029 #define MT8173_PLL_FMAX (3000UL * MHZ)
Dclk-pll.c140 unsigned long fmin = 1000 * MHZ; in mtk_pll_calc_values()
Dclk-mt8135.c601 #define MT8135_PLL_FMAX (2000 * MHZ)
/drivers/clk/sirf/
Dclk-common.c13 #define MHZ (KHZ * KHZ) macro
91 WARN_ON(fin % MHZ); in pll_clk_recalc_rate()
92 return fin / MHZ * nf / nr / od * MHZ; in pll_clk_recalc_rate()
106 rate = rate - rate % MHZ; in pll_clk_round_rate()
108 nf = rate / MHZ; in pll_clk_round_rate()
116 nr = fin / MHZ; in pll_clk_round_rate()
138 nf = rate / MHZ; in pll_clk_set_rate()
139 if (unlikely((rate % MHZ) || nf > BIT(13) || nf < 1)) in pll_clk_set_rate()
143 BUG_ON(fin < MHZ); in pll_clk_set_rate()
145 nr = fin / MHZ; in pll_clk_set_rate()
[all …]
/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c537 #ifndef MHZ
538 #define MHZ (1000*1000) macro
552 p_min = DIV_ROUND_UP(fin, (12 * MHZ)); in exynos_dsi_pll_find_pms()
553 p_max = fin / (6 * MHZ); in exynos_dsi_pll_find_pms()
568 if (tmp < 500 * MHZ || in exynos_dsi_pll_find_pms()
569 tmp > driver_data->max_freq * MHZ) in exynos_dsi_pll_find_pms()
621 100 * MHZ, 120 * MHZ, 160 * MHZ, 200 * MHZ, in exynos_dsi_set_pll()
622 270 * MHZ, 320 * MHZ, 390 * MHZ, 450 * MHZ, in exynos_dsi_set_pll()
623 510 * MHZ, 560 * MHZ, 640 * MHZ, 690 * MHZ, in exynos_dsi_set_pll()
624 770 * MHZ, 870 * MHZ, 950 * MHZ, in exynos_dsi_set_pll()
[all …]
/drivers/phy/samsung/
Dphy-exynos4x12-usb2.c143 case 10 * MHZ: in exynos4x12_rate_to_clk()
146 case 12 * MHZ: in exynos4x12_rate_to_clk()
152 case 20 * MHZ: in exynos4x12_rate_to_clk()
155 case 24 * MHZ: in exynos4x12_rate_to_clk()
158 case 50 * MHZ: in exynos4x12_rate_to_clk()
Dphy-exynos5250-usb2.c153 case 10 * MHZ: in exynos5250_rate_to_clk()
156 case 12 * MHZ: in exynos5250_rate_to_clk()
162 case 20 * MHZ: in exynos5250_rate_to_clk()
165 case 24 * MHZ: in exynos5250_rate_to_clk()
168 case 50 * MHZ: in exynos5250_rate_to_clk()
Dphy-s5pv210-usb2.c76 case 12 * MHZ: in s5pv210_rate_to_clk()
79 case 24 * MHZ: in s5pv210_rate_to_clk()
82 case 48 * MHZ: in s5pv210_rate_to_clk()
Dphy-exynos4210-usb2.c111 case 12 * MHZ: in exynos4210_rate_to_clk()
114 case 24 * MHZ: in exynos4210_rate_to_clk()
117 case 48 * MHZ: in exynos4210_rate_to_clk()
Dphy-exynos5-usbdrd.c123 #define MHZ (KHZ * KHZ) macro
206 case 10 * MHZ: in exynos5_rate_to_clk()
209 case 12 * MHZ: in exynos5_rate_to_clk()
215 case 20 * MHZ: in exynos5_rate_to_clk()
218 case 24 * MHZ: in exynos5_rate_to_clk()
221 case 50 * MHZ: in exynos5_rate_to_clk()
Dphy-samsung-usb2.h23 #define MHZ (KHZ * KHZ) macro
/drivers/mfd/
Dsm501.c87 #define MHZ (1000 * 1000) macro
122 pll2 = 288 * MHZ; in decode_div()
127 #define fmt_freq(x) ((x) / MHZ), ((x) % MHZ), (x)
145 pll2 = 336 * MHZ; in sm501_dump_clk()
148 pll2 = 288 * MHZ; in sm501_dump_clk()
151 pll2 = 240 * MHZ; in sm501_dump_clk()
154 pll2 = 192 * MHZ; in sm501_dump_clk()
158 sdclk0 = (misct & (1<<12)) ? pll2 : 288 * MHZ; in sm501_dump_clk()
161 sdclk1 = (misct & (1<<20)) ? pll2 : 288 * MHZ; in sm501_dump_clk()
1543 .mclk = 72 * MHZ,
[all …]
/drivers/clk/ingenic/
Dcgu.c30 #define MHZ (1000 * 1000) macro
137 n = parent_rate / (10 * MHZ); in ingenic_pll_calc()
141 m = (rate / MHZ) * od * n / (parent_rate / MHZ); in ingenic_pll_calc()
/drivers/spi/
Dspi-ath79.c34 #define MHZ (1000 * 1000) macro
259 rate = DIV_ROUND_UP(clk_get_rate(sp->clk), MHZ); in ath79_spi_probe()
/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c235 CHECK_AND_PRINT_I(20MHZ), in iwl_nvm_print_channel_flags()
236 CHECK_AND_PRINT_I(40MHZ), in iwl_nvm_print_channel_flags()
237 CHECK_AND_PRINT_I(80MHZ), in iwl_nvm_print_channel_flags()
238 CHECK_AND_PRINT_I(160MHZ), in iwl_nvm_print_channel_flags()
/drivers/clk/samsung/
Dclk-s3c2410.c383 if (_get_rate("xti") == 12 * MHZ) { in s3c2410_common_clk_init()
393 if (_get_rate("xti") == 12 * MHZ) { in s3c2410_common_clk_init()
Dclk-exynos5410.c273 if (!IS_ERR(xxti) && clk_get_rate(xxti) == 24 * MHZ) in exynos5410_clk_init()
Dclk-exynos5250.c821 if (_get_rate("fin_pll") == 24 * MHZ) { in exynos5250_clk_init()
826 if (_get_rate("mout_vpllsrc") == 24 * MHZ) in exynos5250_clk_init()
Dclk.h51 #define MHZ (1000 * 1000) macro
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgk20a.h28 #define MHZ (KHZ * 1000) macro
/drivers/staging/sm750fb/
Dsm750.h7 #define MHZ(x) ((x) * 1000000) macro

12