/drivers/clk/samsung/ |
D | clk-s3c2410.c | 123 PLL_S3C2410_MPLL_RATE(12 * MHZ, 270000000, 127, 1, 1), 124 PLL_S3C2410_MPLL_RATE(12 * MHZ, 268000000, 126, 1, 1), 125 PLL_S3C2410_MPLL_RATE(12 * MHZ, 266000000, 125, 1, 1), 126 PLL_S3C2410_MPLL_RATE(12 * MHZ, 226000000, 105, 1, 1), 127 PLL_S3C2410_MPLL_RATE(12 * MHZ, 210000000, 132, 2, 1), 129 PLL_S3C2410_MPLL_RATE(12 * MHZ, 202800000, 161, 3, 1), 130 PLL_S3C2410_MPLL_RATE(12 * MHZ, 192000000, 88, 1, 1), 131 PLL_S3C2410_MPLL_RATE(12 * MHZ, 186000000, 85, 1, 1), 132 PLL_S3C2410_MPLL_RATE(12 * MHZ, 180000000, 82, 1, 1), 133 PLL_S3C2410_MPLL_RATE(12 * MHZ, 170000000, 77, 1, 1), [all …]
|
D | clk-exynos3250.c | 670 PLL_35XX_RATE(24 * MHZ, 1200000000, 400, 4, 1), 671 PLL_35XX_RATE(24 * MHZ, 1100000000, 275, 3, 1), 672 PLL_35XX_RATE(24 * MHZ, 1066000000, 533, 6, 1), 673 PLL_35XX_RATE(24 * MHZ, 1000000000, 250, 3, 1), 674 PLL_35XX_RATE(24 * MHZ, 960000000, 320, 4, 1), 675 PLL_35XX_RATE(24 * MHZ, 900000000, 300, 4, 1), 676 PLL_35XX_RATE(24 * MHZ, 850000000, 425, 6, 1), 677 PLL_35XX_RATE(24 * MHZ, 800000000, 200, 3, 1), 678 PLL_35XX_RATE(24 * MHZ, 700000000, 175, 3, 1), 679 PLL_35XX_RATE(24 * MHZ, 667000000, 667, 12, 1), [all …]
|
D | clk-exynos4.c | 1071 PLL_4508_RATE(24 * MHZ, 1200000000, 150, 3, 1, 28), 1072 PLL_4508_RATE(24 * MHZ, 1000000000, 250, 6, 1, 28), 1073 PLL_4508_RATE(24 * MHZ, 800000000, 200, 6, 1, 28), 1074 PLL_4508_RATE(24 * MHZ, 666857142, 389, 14, 1, 13), 1075 PLL_4508_RATE(24 * MHZ, 600000000, 100, 4, 1, 13), 1076 PLL_4508_RATE(24 * MHZ, 533000000, 533, 24, 1, 5), 1077 PLL_4508_RATE(24 * MHZ, 500000000, 250, 6, 2, 28), 1078 PLL_4508_RATE(24 * MHZ, 400000000, 200, 6, 2, 28), 1079 PLL_4508_RATE(24 * MHZ, 200000000, 200, 6, 3, 28), 1084 PLL_4600_RATE(24 * MHZ, 192000000, 48, 3, 1, 0, 0), [all …]
|
D | clk-exynos5420.c | 1400 PLL_35XX_RATE(24 * MHZ, 2000000000, 250, 3, 0), 1401 PLL_35XX_RATE(24 * MHZ, 1900000000, 475, 6, 0), 1402 PLL_35XX_RATE(24 * MHZ, 1800000000, 225, 3, 0), 1403 PLL_35XX_RATE(24 * MHZ, 1700000000, 425, 6, 0), 1404 PLL_35XX_RATE(24 * MHZ, 1600000000, 200, 3, 0), 1405 PLL_35XX_RATE(24 * MHZ, 1500000000, 250, 4, 0), 1406 PLL_35XX_RATE(24 * MHZ, 1400000000, 175, 3, 0), 1407 PLL_35XX_RATE(24 * MHZ, 1300000000, 325, 6, 0), 1408 PLL_35XX_RATE(24 * MHZ, 1200000000, 200, 2, 1), 1409 PLL_35XX_RATE(24 * MHZ, 1100000000, 275, 3, 1), [all …]
|
D | clk-exynos5250.c | 691 PLL_36XX_RATE(24 * MHZ, 266000000, 266, 3, 3, 0), 693 PLL_36XX_RATE(24 * MHZ, 70500000, 94, 2, 4, 0), 700 PLL_36XX_RATE(24 * MHZ, 192000000, 64, 2, 2, 0), 701 PLL_36XX_RATE(24 * MHZ, 180633605, 90, 3, 2, 20762), 702 PLL_36XX_RATE(24 * MHZ, 180000000, 90, 3, 2, 0), 703 PLL_36XX_RATE(24 * MHZ, 73728000, 98, 2, 4, 19923), 704 PLL_36XX_RATE(24 * MHZ, 67737602, 90, 2, 4, 20762), 705 PLL_36XX_RATE(24 * MHZ, 49152000, 98, 3, 4, 19923), 706 PLL_36XX_RATE(24 * MHZ, 45158401, 90, 3, 4, 20762), 707 PLL_36XX_RATE(24 * MHZ, 32768001, 131, 3, 5, 4719), [all …]
|
D | clk-exynos5260.c | 23 PLL_35XX_RATE(24 * MHZ, 1700000000, 425, 6, 0), 24 PLL_35XX_RATE(24 * MHZ, 1600000000, 200, 3, 0), 25 PLL_35XX_RATE(24 * MHZ, 1500000000, 250, 4, 0), 26 PLL_35XX_RATE(24 * MHZ, 1400000000, 175, 3, 0), 27 PLL_35XX_RATE(24 * MHZ, 1300000000, 325, 6, 0), 28 PLL_35XX_RATE(24 * MHZ, 1200000000, 400, 4, 1), 29 PLL_35XX_RATE(24 * MHZ, 1100000000, 275, 3, 1), 30 PLL_35XX_RATE(24 * MHZ, 1000000000, 250, 3, 1), 31 PLL_35XX_RATE(24 * MHZ, 933000000, 311, 4, 1), 32 PLL_35XX_RATE(24 * MHZ, 900000000, 300, 4, 1), [all …]
|
D | clk-exynos5410.c | 227 PLL_36XX_RATE(24 * MHZ, 400000000U, 200, 3, 2, 0), 228 PLL_36XX_RATE(24 * MHZ, 333000000U, 111, 2, 2, 0), 229 PLL_36XX_RATE(24 * MHZ, 300000000U, 100, 2, 2, 0), 230 PLL_36XX_RATE(24 * MHZ, 266000000U, 266, 3, 3, 0), 231 PLL_36XX_RATE(24 * MHZ, 200000000U, 200, 3, 3, 0), 232 PLL_36XX_RATE(24 * MHZ, 192000000U, 192, 3, 3, 0), 233 PLL_36XX_RATE(24 * MHZ, 166000000U, 166, 3, 3, 0), 234 PLL_36XX_RATE(24 * MHZ, 133000000U, 266, 3, 4, 0), 235 PLL_36XX_RATE(24 * MHZ, 100000000U, 200, 3, 4, 0), 236 PLL_36XX_RATE(24 * MHZ, 66000000U, 176, 2, 5, 0), [all …]
|
D | clk-exynos5433.c | 715 PLL_35XX_RATE(24 * MHZ, 2500000000U, 625, 6, 0), 716 PLL_35XX_RATE(24 * MHZ, 2400000000U, 500, 5, 0), 717 PLL_35XX_RATE(24 * MHZ, 2300000000U, 575, 6, 0), 718 PLL_35XX_RATE(24 * MHZ, 2200000000U, 550, 6, 0), 719 PLL_35XX_RATE(24 * MHZ, 2100000000U, 350, 4, 0), 720 PLL_35XX_RATE(24 * MHZ, 2000000000U, 500, 6, 0), 721 PLL_35XX_RATE(24 * MHZ, 1900000000U, 475, 6, 0), 722 PLL_35XX_RATE(24 * MHZ, 1800000000U, 375, 5, 0), 723 PLL_35XX_RATE(24 * MHZ, 1700000000U, 425, 6, 0), 724 PLL_35XX_RATE(24 * MHZ, 1600000000U, 400, 6, 0), [all …]
|
/drivers/clk/ |
D | clk-nspire.c | 13 #define MHZ (1000 * 1000) macro 44 clk->base_clock = 48 * MHZ; in nspire_clkinfo_cx() 46 clk->base_clock = 6 * EXTRACT(val, CX_BASE) * MHZ; in nspire_clkinfo_cx() 55 clk->base_clock = 27 * MHZ; in nspire_clkinfo_classic() 57 clk->base_clock = (300 - 6 * EXTRACT(val, CLASSIC_BASE)) * MHZ; in nspire_clkinfo_classic() 132 info.base_clock / MHZ, in nspire_clk_setup() 133 info.base_clock / info.base_cpu_ratio / MHZ, in nspire_clk_setup() 134 info.base_clock / info.base_ahb_ratio / MHZ); in nspire_clk_setup()
|
/drivers/net/can/softing/ |
D | softing_cs.c | 26 #define MHZ (1000*1000) macro 33 .freq = 16 * MHZ, .max_brp = 32, .max_sjw = 4, 45 .freq = 16 * MHZ, .max_brp = 32, .max_sjw = 4, 57 .freq = 20 * MHZ, .max_brp = 32, .max_sjw = 4, 69 .freq = 24 * MHZ, .max_brp = 64, .max_sjw = 4, 81 .freq = 16 * MHZ, .max_brp = 64, .max_sjw = 4, 93 .freq = 20 * MHZ, .max_brp = 32, .max_sjw = 4, 105 .freq = 24 * MHZ, .max_brp = 64, .max_sjw = 4, 117 .freq = 16 * MHZ, .max_brp = 64, .max_sjw = 4, 129 .freq = 24 * MHZ, .max_brp = 64, .max_sjw = 4,
|
/drivers/clk/mediatek/ |
D | clk-mt2701.c | 30 108 * MHZ), 32 400 * MHZ), 36 340 * MHZ), 38 340 * MHZ), 40 340 * MHZ), 42 27 * MHZ), 44 416 * MHZ), 46 143 * MHZ), 48 27 * MHZ), 923 #define MT8590_PLL_FMAX (2000 * MHZ)
|
D | clk-mt8183.c | 1064 #define MT8183_PLL_FMAX (3800UL * MHZ) 1065 #define MT8183_PLL_FMIN (1500UL * MHZ) 1107 { .div = 1, .freq = 1500 * MHZ }, 1108 { .div = 2, .freq = 750 * MHZ }, 1109 { .div = 3, .freq = 375 * MHZ }, 1116 { .div = 1, .freq = 1600 * MHZ }, 1117 { .div = 2, .freq = 800 * MHZ }, 1118 { .div = 3, .freq = 400 * MHZ }, 1119 { .div = 4, .freq = 200 * MHZ },
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_dsi.c | 538 #ifndef MHZ 539 #define MHZ (1000*1000) macro 553 p_min = DIV_ROUND_UP(fin, (12 * MHZ)); in exynos_dsi_pll_find_pms() 554 p_max = fin / (6 * MHZ); in exynos_dsi_pll_find_pms() 569 if (tmp < 500 * MHZ || in exynos_dsi_pll_find_pms() 570 tmp > driver_data->max_freq * MHZ) in exynos_dsi_pll_find_pms() 622 100 * MHZ, 120 * MHZ, 160 * MHZ, 200 * MHZ, in exynos_dsi_set_pll() 623 270 * MHZ, 320 * MHZ, 390 * MHZ, 450 * MHZ, in exynos_dsi_set_pll() 624 510 * MHZ, 560 * MHZ, 640 * MHZ, 690 * MHZ, in exynos_dsi_set_pll() 625 770 * MHZ, 870 * MHZ, 950 * MHZ, in exynos_dsi_set_pll() [all …]
|
/drivers/phy/samsung/ |
D | phy-exynos4x12-usb2.c | 140 case 10 * MHZ: in exynos4x12_rate_to_clk() 143 case 12 * MHZ: in exynos4x12_rate_to_clk() 149 case 20 * MHZ: in exynos4x12_rate_to_clk() 152 case 24 * MHZ: in exynos4x12_rate_to_clk() 155 case 50 * MHZ: in exynos4x12_rate_to_clk()
|
D | phy-s5pv210-usb2.c | 73 case 12 * MHZ: in s5pv210_rate_to_clk() 76 case 24 * MHZ: in s5pv210_rate_to_clk() 79 case 48 * MHZ: in s5pv210_rate_to_clk()
|
D | phy-exynos5250-usb2.c | 149 case 10 * MHZ: in exynos5250_rate_to_clk() 152 case 12 * MHZ: in exynos5250_rate_to_clk() 158 case 20 * MHZ: in exynos5250_rate_to_clk() 161 case 24 * MHZ: in exynos5250_rate_to_clk() 164 case 50 * MHZ: in exynos5250_rate_to_clk()
|
D | phy-exynos4210-usb2.c | 108 case 12 * MHZ: in exynos4210_rate_to_clk() 111 case 24 * MHZ: in exynos4210_rate_to_clk() 114 case 48 * MHZ: in exynos4210_rate_to_clk()
|
D | phy-exynos5-usbdrd.c | 150 #define MHZ (KHZ * KHZ) macro 233 case 10 * MHZ: in exynos5_rate_to_clk() 236 case 12 * MHZ: in exynos5_rate_to_clk() 242 case 20 * MHZ: in exynos5_rate_to_clk() 245 case 24 * MHZ: in exynos5_rate_to_clk() 248 case 50 * MHZ: in exynos5_rate_to_clk()
|
D | phy-samsung-usb2.h | 20 #define MHZ (KHZ * KHZ) macro
|
/drivers/soc/samsung/ |
D | exynos-asv.c | 23 #define MHZ 1000000U macro 49 opp = dev_pm_opp_find_freq_exact(cpu, opp_freq * MHZ, true); in exynos_asv_update_cpu_opps() 64 ret = dev_pm_opp_adjust_voltage(cpu, opp_freq * MHZ, in exynos_asv_update_cpu_opps()
|
/drivers/clk/hisilicon/ |
D | clk-hi3660-stub.c | 25 #define MHZ (1000 * 1000) macro 66 stub_clk->rate = readl(freq_reg + (stub_clk->id << 2)) * MHZ; in hi3660_stub_clk_recalc_rate() 86 stub_clk->msg[1] = rate / MHZ; in hi3660_stub_clk_set_rate()
|
/drivers/clk/ingenic/ |
D | jz4760-cgu.c | 20 #define MHZ (1000 * 1000) macro 64 n = parent_rate / (1 * MHZ); in jz4760_cgu_calc_m_n_od() 69 rate /= MHZ; in jz4760_cgu_calc_m_n_od() 70 parent_rate /= MHZ; in jz4760_cgu_calc_m_n_od()
|
/drivers/mfd/ |
D | sm501.c | 86 #define MHZ (1000 * 1000) macro 121 pll2 = 288 * MHZ; in decode_div() 126 #define fmt_freq(x) ((x) / MHZ), ((x) % MHZ), (x) 144 pll2 = 336 * MHZ; in sm501_dump_clk() 147 pll2 = 288 * MHZ; in sm501_dump_clk() 150 pll2 = 240 * MHZ; in sm501_dump_clk() 153 pll2 = 192 * MHZ; in sm501_dump_clk() 157 sdclk0 = (misct & (1<<12)) ? pll2 : 288 * MHZ; in sm501_dump_clk() 160 sdclk1 = (misct & (1<<20)) ? pll2 : 288 * MHZ; in sm501_dump_clk() 1538 .mclk = 72 * MHZ, [all …]
|
/drivers/tty/serial/8250/ |
D | 8250_bcm7271.c | 191 #define MHZ(x) ((x) * KHZ * KHZ) macro 194 MHZ(81), 195 MHZ(108), 196 MHZ(64), /* Actually 64285715 for some chips */ 197 MHZ(48), 201 MHZ(81), 202 MHZ(108), 204 MHZ(48),
|
/drivers/spi/ |
D | spi-ath79.c | 26 #define MHZ (1000 * 1000) macro 179 rate = DIV_ROUND_UP(clk_get_rate(sp->clk), MHZ); in ath79_spi_probe()
|