/Linux-v6.1/drivers/clk/mmp/ |
D | clk-frac.c | 3 * mmp factor clock operation source file 19 * numerator/denominator = Fin / (Fout * factor) 27 struct mmp_clk_factor *factor = to_clk_factor(hw); in clk_factor_round_rate() local 31 for (i = 0; i < factor->ftbl_cnt; i++) { in clk_factor_round_rate() 34 rate *= factor->ftbl[i].den; in clk_factor_round_rate() 35 do_div(rate, factor->ftbl[i].num * factor->masks->factor); in clk_factor_round_rate() 40 if ((i == 0) || (i == factor->ftbl_cnt)) { in clk_factor_round_rate() 53 struct mmp_clk_factor *factor = to_clk_factor(hw); in clk_factor_recalc_rate() local 54 struct mmp_clk_factor_masks *masks = factor->masks; in clk_factor_recalc_rate() 58 val = readl_relaxed(factor->base); in clk_factor_recalc_rate() [all …]
|
/Linux-v6.1/drivers/clk/mediatek/ |
D | clk-mt6795-topckgen.c | 359 FACTOR(CLK_TOP_ARMCA53PLL_754M, "armca53pll_754m", "clk26m", 1, 2), 360 FACTOR(CLK_TOP_ARMCA53PLL_502M, "armca53pll_502m", "clk26m", 1, 3), 362 FACTOR(CLK_TOP_MAIN_H546M, "main_h546m", "mainpll", 1, 2), 363 FACTOR(CLK_TOP_MAIN_H364M, "main_h364m", "mainpll", 1, 3), 364 FACTOR(CLK_TOP_MAIN_H218P4M, "main_h218p4m", "mainpll", 1, 5), 365 FACTOR(CLK_TOP_MAIN_H156M, "main_h156m", "mainpll", 1, 7), 367 FACTOR(CLK_TOP_TVDPLL_445P5M, "tvdpll_445p5m", "tvdpll", 1, 4), 368 FACTOR(CLK_TOP_TVDPLL_594M, "tvdpll_594m", "tvdpll", 1, 3), 370 FACTOR(CLK_TOP_UNIV_624M, "univ_624m", "univpll", 1, 2), 371 FACTOR(CLK_TOP_UNIV_416M, "univ_416m", "univpll", 1, 3), [all …]
|
D | clk-mt7629.c | 389 FACTOR(CLK_TOP_TO_USB3_SYS, "to_usb3_sys", "eth1pll", 1, 4), 390 FACTOR(CLK_TOP_P1_1MHZ, "p1_1mhz", "eth1pll", 1, 500), 391 FACTOR(CLK_TOP_4MHZ, "free_run_4mhz", "eth1pll", 1, 125), 392 FACTOR(CLK_TOP_P0_1MHZ, "p0_1mhz", "eth1pll", 1, 500), 393 FACTOR(CLK_TOP_ETH_500M, "eth_500m", "eth1pll", 1, 1), 394 FACTOR(CLK_TOP_TXCLK_SRC_PRE, "txclk_src_pre", "sgmiipll_d2", 1, 1), 395 FACTOR(CLK_TOP_RTC, "rtc", "clkxtal", 1, 1024), 396 FACTOR(CLK_TOP_PWM_QTR_26M, "pwm_qtr_26m", "clkxtal", 1, 1), 397 FACTOR(CLK_TOP_CPUM_TCK_IN, "cpum_tck_in", "cpum_tck", 1, 1), 398 FACTOR(CLK_TOP_TO_USB3_DA_TOP, "to_usb3_da_top", "clkxtal", 1, 1), [all …]
|
D | clk-mt8135.c | 21 FACTOR(CLK_TOP_DSI0_LNTC_DSICLK, "dsi0_lntc_dsiclk", "clk_null", 1, 1), 22 FACTOR(CLK_TOP_HDMITX_CLKDIG_CTS, "hdmitx_clkdig_cts", "clk_null", 1, 1), 23 FACTOR(CLK_TOP_CLKPH_MCK, "clkph_mck", "clk_null", 1, 1), 24 FACTOR(CLK_TOP_CPUM_TCK_IN, "cpum_tck_in", "clk_null", 1, 1), 28 FACTOR(CLK_TOP_MAINPLL_806M, "mainpll_806m", "mainpll", 1, 2), 29 FACTOR(CLK_TOP_MAINPLL_537P3M, "mainpll_537p3m", "mainpll", 1, 3), 30 FACTOR(CLK_TOP_MAINPLL_322P4M, "mainpll_322p4m", "mainpll", 1, 5), 31 FACTOR(CLK_TOP_MAINPLL_230P3M, "mainpll_230p3m", "mainpll", 1, 7), 33 FACTOR(CLK_TOP_UNIVPLL_624M, "univpll_624m", "univpll", 1, 2), 34 FACTOR(CLK_TOP_UNIVPLL_416M, "univpll_416m", "univpll", 1, 3), [all …]
|
D | clk-mt6765.c | 83 FACTOR(CLK_TOP_SYSPLL, "syspll_ck", "mainpll", 1, 1), 84 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "mainpll", 1, 2), 85 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "syspll_d2", 1, 2), 86 FACTOR(CLK_TOP_SYSPLL1_D4, "syspll1_d4", "syspll_d2", 1, 4), 87 FACTOR(CLK_TOP_SYSPLL1_D8, "syspll1_d8", "syspll_d2", 1, 8), 88 FACTOR(CLK_TOP_SYSPLL1_D16, "syspll1_d16", "syspll_d2", 1, 16), 89 FACTOR(CLK_TOP_SYSPLL_D3, "syspll_d3", "mainpll", 1, 3), 90 FACTOR(CLK_TOP_SYSPLL2_D2, "syspll2_d2", "syspll_d3", 1, 2), 91 FACTOR(CLK_TOP_SYSPLL2_D4, "syspll2_d4", "syspll_d3", 1, 4), 92 FACTOR(CLK_TOP_SYSPLL2_D8, "syspll2_d8", "syspll_d3", 1, 8), [all …]
|
D | clk-mt6797.c | 27 FACTOR(CLK_TOP_SYSPLL_CK, "syspll_ck", "mainpll", 1, 1), 28 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "mainpll", 1, 2), 29 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "syspll_d2", 1, 2), 30 FACTOR(CLK_TOP_SYSPLL1_D4, "syspll1_d4", "syspll_d2", 1, 4), 31 FACTOR(CLK_TOP_SYSPLL1_D8, "syspll1_d8", "syspll_d2", 1, 8), 32 FACTOR(CLK_TOP_SYSPLL1_D16, "syspll1_d16", "syspll_d2", 1, 16), 33 FACTOR(CLK_TOP_SYSPLL_D3, "syspll_d3", "mainpll", 1, 3), 34 FACTOR(CLK_TOP_SYSPLL_D3_D3, "syspll_d3_d3", "syspll_d3", 1, 3), 35 FACTOR(CLK_TOP_SYSPLL2_D2, "syspll2_d2", "syspll_d3", 1, 2), 36 FACTOR(CLK_TOP_SYSPLL2_D4, "syspll2_d4", "syspll_d3", 1, 4), [all …]
|
D | clk-mt8186-topckgen.c | 22 FACTOR(CLK_TOP_MAINPLL_D2, "mainpll_d2", "mainpll", 1, 2), 23 FACTOR(CLK_TOP_MAINPLL_D2_D2, "mainpll_d2_d2", "mainpll_d2", 1, 2), 24 FACTOR(CLK_TOP_MAINPLL_D2_D4, "mainpll_d2_d4", "mainpll_d2", 1, 4), 25 FACTOR(CLK_TOP_MAINPLL_D2_D16, "mainpll_d2_d16", "mainpll_d2", 1, 16), 26 FACTOR(CLK_TOP_MAINPLL_D3, "mainpll_d3", "mainpll", 1, 3), 27 FACTOR(CLK_TOP_MAINPLL_D3_D2, "mainpll_d3_d2", "mainpll_d3", 1, 2), 28 FACTOR(CLK_TOP_MAINPLL_D3_D4, "mainpll_d3_d4", "mainpll_d3", 1, 4), 29 FACTOR(CLK_TOP_MAINPLL_D5, "mainpll_d5", "mainpll", 1, 5), 30 FACTOR(CLK_TOP_MAINPLL_D5_D2, "mainpll_d5_d2", "mainpll_d5", 1, 2), 31 FACTOR(CLK_TOP_MAINPLL_D5_D4, "mainpll_d5_d4", "mainpll_d5", 1, 4), [all …]
|
D | clk-mt2701.c | 59 FACTOR(CLK_TOP_SYSPLL, "syspll_ck", "mainpll", 1, 1), 60 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "mainpll", 1, 2), 61 FACTOR(CLK_TOP_SYSPLL_D3, "syspll_d3", "mainpll", 1, 3), 62 FACTOR(CLK_TOP_SYSPLL_D5, "syspll_d5", "mainpll", 1, 5), 63 FACTOR(CLK_TOP_SYSPLL_D7, "syspll_d7", "mainpll", 1, 7), 64 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "syspll_d2", 1, 2), 65 FACTOR(CLK_TOP_SYSPLL1_D4, "syspll1_d4", "syspll_d2", 1, 4), 66 FACTOR(CLK_TOP_SYSPLL1_D8, "syspll1_d8", "syspll_d2", 1, 8), 67 FACTOR(CLK_TOP_SYSPLL1_D16, "syspll1_d16", "syspll_d2", 1, 16), 68 FACTOR(CLK_TOP_SYSPLL2_D2, "syspll2_d2", "syspll_d3", 1, 2), [all …]
|
D | clk-mt2712.c | 40 FACTOR(CLK_TOP_SYS_26M, "sys_26m", "clk26m", 1, 42 FACTOR(CLK_TOP_CLK26M_D2, "clk26m_d2", "sys_26m", 1, 47 FACTOR(CLK_TOP_ARMCA35PLL, "armca35pll_ck", "armca35pll", 1, 49 FACTOR(CLK_TOP_ARMCA35PLL_600M, "armca35pll_600m", "armca35pll_ck", 1, 51 FACTOR(CLK_TOP_ARMCA35PLL_400M, "armca35pll_400m", "armca35pll_ck", 1, 53 FACTOR(CLK_TOP_ARMCA72PLL, "armca72pll_ck", "armca72pll", 1, 55 FACTOR(CLK_TOP_SYSPLL, "syspll_ck", "mainpll", 1, 57 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "syspll_ck", 1, 59 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "syspll_d2", 1, 61 FACTOR(CLK_TOP_SYSPLL1_D4, "syspll1_d4", "syspll_d2", 1, [all …]
|
D | clk-mt8173.c | 37 FACTOR(CLK_TOP_ARMCA7PLL_754M, "armca7pll_754m", "armca7pll", 1, 2), 38 FACTOR(CLK_TOP_ARMCA7PLL_502M, "armca7pll_502m", "armca7pll", 1, 3), 40 FACTOR(CLK_TOP_MAIN_H546M, "main_h546m", "mainpll", 1, 2), 41 FACTOR(CLK_TOP_MAIN_H364M, "main_h364m", "mainpll", 1, 3), 42 FACTOR(CLK_TOP_MAIN_H218P4M, "main_h218p4m", "mainpll", 1, 5), 43 FACTOR(CLK_TOP_MAIN_H156M, "main_h156m", "mainpll", 1, 7), 45 FACTOR(CLK_TOP_TVDPLL_445P5M, "tvdpll_445p5m", "tvdpll", 1, 4), 46 FACTOR(CLK_TOP_TVDPLL_594M, "tvdpll_594m", "tvdpll", 1, 3), 48 FACTOR(CLK_TOP_UNIV_624M, "univ_624m", "univpll", 1, 2), 49 FACTOR(CLK_TOP_UNIV_416M, "univ_416m", "univpll", 1, 3), [all …]
|
D | clk-mt6779.c | 27 FACTOR(CLK_TOP_CLK13M, "clk13m", "clk26m", 1, 2), 28 FACTOR(CLK_TOP_F26M_CK_D2, "csw_f26m_ck_d2", "clk26m", 1, 2), 29 FACTOR(CLK_TOP_MAINPLL_CK, "mainpll_ck", "mainpll", 1, 1), 30 FACTOR(CLK_TOP_MAINPLL_D2, "mainpll_d2", "mainpll_ck", 1, 2), 31 FACTOR(CLK_TOP_MAINPLL_D2_D2, "mainpll_d2_d2", "mainpll_d2", 1, 2), 32 FACTOR(CLK_TOP_MAINPLL_D2_D4, "mainpll_d2_d4", "mainpll_d2", 1, 4), 33 FACTOR(CLK_TOP_MAINPLL_D2_D8, "mainpll_d2_d8", "mainpll_d2", 1, 8), 34 FACTOR(CLK_TOP_MAINPLL_D2_D16, "mainpll_d2_d16", "mainpll_d2", 1, 16), 35 FACTOR(CLK_TOP_MAINPLL_D3, "mainpll_d3", "mainpll", 1, 3), 36 FACTOR(CLK_TOP_MAINPLL_D3_D2, "mainpll_d3_d2", "mainpll_d3", 1, 2), [all …]
|
D | clk-mt8195-topckgen.c | 32 FACTOR(CLK_TOP_CLK26M_D2, "clk26m_d2", "clk26m", 1, 2), 33 FACTOR(CLK_TOP_CLK26M_D52, "clk26m_d52", "clk26m", 1, 52), 34 FACTOR(CLK_TOP_IN_DGI_D2, "in_dgi_d2", "in_dgi", 1, 2), 35 FACTOR(CLK_TOP_IN_DGI_D4, "in_dgi_d4", "in_dgi", 1, 4), 36 FACTOR(CLK_TOP_IN_DGI_D6, "in_dgi_d6", "in_dgi", 1, 6), 37 FACTOR(CLK_TOP_IN_DGI_D8, "in_dgi_d8", "in_dgi", 1, 8), 38 FACTOR(CLK_TOP_MAINPLL_D3, "mainpll_d3", "mainpll", 1, 3), 39 FACTOR(CLK_TOP_MAINPLL_D4, "mainpll_d4", "mainpll", 1, 4), 40 FACTOR(CLK_TOP_MAINPLL_D4_D2, "mainpll_d4_d2", "mainpll_d4", 1, 2), 41 FACTOR(CLK_TOP_MAINPLL_D4_D4, "mainpll_d4_d4", "mainpll_d4", 1, 4), [all …]
|
D | clk-mt7622.c | 389 FACTOR(CLK_TOP_TO_USB3_SYS, "to_usb3_sys", "eth1pll", 1, 4), 390 FACTOR(CLK_TOP_P1_1MHZ, "p1_1mhz", "eth1pll", 1, 500), 391 FACTOR(CLK_TOP_4MHZ, "free_run_4mhz", "eth1pll", 1, 125), 392 FACTOR(CLK_TOP_P0_1MHZ, "p0_1mhz", "eth1pll", 1, 500), 393 FACTOR(CLK_TOP_TXCLK_SRC_PRE, "txclk_src_pre", "sgmiipll_d2", 1, 1), 394 FACTOR(CLK_TOP_RTC, "rtc", "clkxtal", 1, 1024), 395 FACTOR(CLK_TOP_MEMPLL, "mempll", "clkxtal", 32, 1), 396 FACTOR(CLK_TOP_DMPLL, "dmpll_ck", "mempll", 1, 1), 397 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "mainpll", 1, 2), 398 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "mainpll", 1, 4), [all …]
|
D | clk-mt8183.c | 30 FACTOR(CLK_TOP_CLK13M, "clk13m", "clk26m", 1, 2), 34 FACTOR(CLK_TOP_F26M_CK_D2, "csw_f26m_ck_d2", "clk26m", 1, 36 FACTOR(CLK_TOP_SYSPLL_CK, "syspll_ck", "mainpll", 1, 38 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "syspll_ck", 1, 40 FACTOR(CLK_TOP_SYSPLL_D2_D2, "syspll_d2_d2", "syspll_d2", 1, 42 FACTOR(CLK_TOP_SYSPLL_D2_D4, "syspll_d2_d4", "syspll_d2", 1, 44 FACTOR(CLK_TOP_SYSPLL_D2_D8, "syspll_d2_d8", "syspll_d2", 1, 46 FACTOR(CLK_TOP_SYSPLL_D2_D16, "syspll_d2_d16", "syspll_d2", 1, 48 FACTOR(CLK_TOP_SYSPLL_D3, "syspll_d3", "mainpll", 1, 50 FACTOR(CLK_TOP_SYSPLL_D3_D2, "syspll_d3_d2", "syspll_d3", 1, [all …]
|
D | clk-mt8167.c | 33 FACTOR(CLK_TOP_DMPLL, "dmpll_ck", "mempll", 1, 1), 34 FACTOR(CLK_TOP_MAINPLL_D2, "mainpll_d2", "mainpll", 1, 2), 35 FACTOR(CLK_TOP_MAINPLL_D4, "mainpll_d4", "mainpll", 1, 4), 36 FACTOR(CLK_TOP_MAINPLL_D8, "mainpll_d8", "mainpll", 1, 8), 37 FACTOR(CLK_TOP_MAINPLL_D16, "mainpll_d16", "mainpll", 1, 16), 38 FACTOR(CLK_TOP_MAINPLL_D11, "mainpll_d11", "mainpll", 1, 11), 39 FACTOR(CLK_TOP_MAINPLL_D22, "mainpll_d22", "mainpll", 1, 22), 40 FACTOR(CLK_TOP_MAINPLL_D3, "mainpll_d3", "mainpll", 1, 3), 41 FACTOR(CLK_TOP_MAINPLL_D6, "mainpll_d6", "mainpll", 1, 6), 42 FACTOR(CLK_TOP_MAINPLL_D12, "mainpll_d12", "mainpll", 1, 12), [all …]
|
D | clk-mt8192.c | 30 FACTOR(CLK_TOP_CSW_F26M_D2, "csw_f26m_d2", "clk26m", 1, 2), 34 FACTOR(CLK_TOP_MAINPLL_D3, "mainpll_d3", "mainpll", 1, 3), 35 FACTOR(CLK_TOP_MAINPLL_D4, "mainpll_d4", "mainpll", 1, 4), 36 FACTOR(CLK_TOP_MAINPLL_D4_D2, "mainpll_d4_d2", "mainpll_d4", 1, 2), 37 FACTOR(CLK_TOP_MAINPLL_D4_D4, "mainpll_d4_d4", "mainpll_d4", 1, 4), 38 FACTOR(CLK_TOP_MAINPLL_D4_D8, "mainpll_d4_d8", "mainpll_d4", 1, 8), 39 FACTOR(CLK_TOP_MAINPLL_D4_D16, "mainpll_d4_d16", "mainpll_d4", 1, 16), 40 FACTOR(CLK_TOP_MAINPLL_D5, "mainpll_d5", "mainpll", 1, 5), 41 FACTOR(CLK_TOP_MAINPLL_D5_D2, "mainpll_d5_d2", "mainpll_d5", 1, 2), 42 FACTOR(CLK_TOP_MAINPLL_D5_D4, "mainpll_d5_d4", "mainpll_d5", 1, 4), [all …]
|
D | clk-mt8516.c | 29 FACTOR(CLK_TOP_DMPLL, "dmpll_ck", "mempll", 1, 1), 30 FACTOR(CLK_TOP_MAINPLL_D2, "mainpll_d2", "mainpll", 1, 2), 31 FACTOR(CLK_TOP_MAINPLL_D4, "mainpll_d4", "mainpll", 1, 4), 32 FACTOR(CLK_TOP_MAINPLL_D8, "mainpll_d8", "mainpll", 1, 8), 33 FACTOR(CLK_TOP_MAINPLL_D16, "mainpll_d16", "mainpll", 1, 16), 34 FACTOR(CLK_TOP_MAINPLL_D11, "mainpll_d11", "mainpll", 1, 11), 35 FACTOR(CLK_TOP_MAINPLL_D22, "mainpll_d22", "mainpll", 1, 22), 36 FACTOR(CLK_TOP_MAINPLL_D3, "mainpll_d3", "mainpll", 1, 3), 37 FACTOR(CLK_TOP_MAINPLL_D6, "mainpll_d6", "mainpll", 1, 6), 38 FACTOR(CLK_TOP_MAINPLL_D12, "mainpll_d12", "mainpll", 1, 12), [all …]
|
D | clk-mt7986-topckgen.c | 29 FACTOR(CLK_TOP_XTAL_D2, "top_xtal_d2", "top_xtal", 1, 2), 30 FACTOR(CLK_TOP_RTC_32K, "top_rtc_32k", "top_xtal", 1, 1250), 31 FACTOR(CLK_TOP_RTC_32P7K, "top_rtc_32p7k", "top_xtal", 1, 1220), 33 FACTOR(CLK_TOP_MPLL_D2, "top_mpll_d2", "mpll", 1, 2), 34 FACTOR(CLK_TOP_MPLL_D4, "top_mpll_d4", "mpll", 1, 4), 35 FACTOR(CLK_TOP_MPLL_D8, "top_mpll_d8", "mpll", 1, 8), 36 FACTOR(CLK_TOP_MPLL_D8_D2, "top_mpll_d8_d2", "mpll", 1, 16), 37 FACTOR(CLK_TOP_MPLL_D3_D2, "top_mpll_d3_d2", "mpll", 1, 6), 39 FACTOR(CLK_TOP_MMPLL_D2, "top_mmpll_d2", "mmpll", 1, 2), 40 FACTOR(CLK_TOP_MMPLL_D4, "top_mmpll_d4", "mmpll", 1, 4), [all …]
|
D | clk-mt8365.c | 34 FACTOR(CLK_TOP_SYS_26M_D2, "sys_26m_d2", "clk26m", 1, 2), 35 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "mainpll", 1, 2), 36 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "mainpll", 1, 4), 37 FACTOR(CLK_TOP_SYSPLL1_D4, "syspll1_d4", "mainpll", 1, 8), 38 FACTOR(CLK_TOP_SYSPLL1_D8, "syspll1_d8", "mainpll", 1, 16), 39 FACTOR(CLK_TOP_SYSPLL1_D16, "syspll1_d16", "mainpll", 1, 32), 40 FACTOR(CLK_TOP_SYSPLL_D3, "syspll_d3", "mainpll", 1, 3), 41 FACTOR(CLK_TOP_SYSPLL2_D2, "syspll2_d2", "mainpll", 1, 6), 42 FACTOR(CLK_TOP_SYSPLL2_D4, "syspll2_d4", "mainpll", 1, 12), 43 FACTOR(CLK_TOP_SYSPLL2_D8, "syspll2_d8", "mainpll", 1, 24), [all …]
|
/Linux-v6.1/drivers/iio/afe/ |
D | iio-rescale.c | 317 u32 factor; in rescale_current_sense_amplifier_props() local 331 * Calculate the scaling factor, 1 / (gain * sense), or in rescale_current_sense_amplifier_props() 335 factor = gcd(sense, 1000000); in rescale_current_sense_amplifier_props() 336 rescale->numerator = 1000000 / factor; in rescale_current_sense_amplifier_props() 337 rescale->denominator = sense / factor; in rescale_current_sense_amplifier_props() 339 factor = gcd(rescale->numerator, gain_mult); in rescale_current_sense_amplifier_props() 340 rescale->numerator /= factor; in rescale_current_sense_amplifier_props() 341 rescale->denominator *= gain_mult / factor; in rescale_current_sense_amplifier_props() 343 factor = gcd(rescale->denominator, gain_div); in rescale_current_sense_amplifier_props() 344 rescale->numerator *= gain_div / factor; in rescale_current_sense_amplifier_props() [all …]
|
/Linux-v6.1/drivers/s390/block/ |
D | dasd_proc.c | 184 static void dasd_statistics_array(struct seq_file *m, unsigned int *array, int factor) in dasd_statistics_array() argument 189 seq_printf(m, "%7d ", array[i] / factor); in dasd_statistics_array() 201 int factor; in dasd_stats_proc_show() local 214 for (factor = 1; (prof->dasd_io_reqs / factor) > 9999999; in dasd_stats_proc_show() 215 factor *= 10); in dasd_stats_proc_show() 220 seq_printf(m, "Scale Factor is %d\n", factor); in dasd_stats_proc_show() 231 dasd_statistics_array(m, prof->dasd_io_secs, factor); in dasd_stats_proc_show() 233 dasd_statistics_array(m, prof->dasd_io_times, factor); in dasd_stats_proc_show() 235 dasd_statistics_array(m, prof->dasd_io_timps, factor); in dasd_stats_proc_show() 237 dasd_statistics_array(m, prof->dasd_io_time1, factor); in dasd_stats_proc_show() [all …]
|
/Linux-v6.1/drivers/clk/actions/ |
D | owl-factor.c | 3 // OWL factor clock driver 14 #include "owl-factor.h" 136 struct owl_factor *factor = hw_to_owl_factor(hw); in owl_factor_round_rate() local 137 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_round_rate() 139 return owl_factor_helper_round_rate(&factor->common, factor_hw, in owl_factor_round_rate() 176 struct owl_factor *factor = hw_to_owl_factor(hw); in owl_factor_recalc_rate() local 177 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_recalc_rate() 178 struct owl_clk_common *common = &factor->common; in owl_factor_recalc_rate() 208 struct owl_factor *factor = hw_to_owl_factor(hw); in owl_factor_set_rate() local 209 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_set_rate() [all …]
|
/Linux-v6.1/drivers/media/platform/allegro-dvt/ |
D | nal-hevc.h | 383 int factor = 30 / 10; in nal_hevc_level() local 387 return factor * 10; in nal_hevc_level() 389 return factor * 20; in nal_hevc_level() 391 return factor * 21; in nal_hevc_level() 393 return factor * 30; in nal_hevc_level() 395 return factor * 31; in nal_hevc_level() 397 return factor * 40; in nal_hevc_level() 399 return factor * 41; in nal_hevc_level() 401 return factor * 50; in nal_hevc_level() 403 return factor * 51; in nal_hevc_level() [all …]
|
/Linux-v6.1/include/linux/platform_data/ |
D | apds990x.h | 23 * @cf1: clear channel factor 1 for raw to lux conversion 24 * @irf1: IR channel factor 1 for raw to lux conversion 25 * @cf2: clear channel factor 2 for raw to lux conversion 26 * @irf2: IR channel factor 2 for raw to lux conversion 27 * @df: device factor for conversion formulas 46 * @cf: chip factor data
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | omap36xx-omap3430es2plus-clocks.dtsi | 47 compatible = "fixed-factor-clock"; 78 compatible = "fixed-factor-clock"; 101 compatible = "fixed-factor-clock"; 109 compatible = "fixed-factor-clock"; 117 compatible = "fixed-factor-clock"; 125 compatible = "fixed-factor-clock"; 133 compatible = "fixed-factor-clock"; 141 compatible = "fixed-factor-clock"; 149 compatible = "fixed-factor-clock"; 157 compatible = "fixed-factor-clock"; [all …]
|