/openbmc/linux/drivers/clk/mmp/ |
H A 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 …]
|
/openbmc/linux/drivers/clk/mediatek/ |
H A D | clk-mt7981-topckgen.c | 23 FACTOR(CLK_TOP_CB_CKSQ_40M, "cb_cksq_40m", "clkxtal", 1, 1), 24 FACTOR(CLK_TOP_CB_M_416M, "cb_m_416m", "mpll", 1, 1), 25 FACTOR(CLK_TOP_CB_M_D2, "cb_m_d2", "mpll", 1, 2), 26 FACTOR(CLK_TOP_CB_M_D3, "cb_m_d3", "mpll", 1, 3), 27 FACTOR(CLK_TOP_M_D3_D2, "m_d3_d2", "mpll", 1, 2), 28 FACTOR(CLK_TOP_CB_M_D4, "cb_m_d4", "mpll", 1, 4), 29 FACTOR(CLK_TOP_CB_M_D8, "cb_m_d8", "mpll", 1, 8), 30 FACTOR(CLK_TOP_M_D8_D2, "m_d8_d2", "mpll", 1, 16), 31 FACTOR(CLK_TOP_CB_MM_720M, "cb_mm_720m", "mmpll", 1, 1), 32 FACTOR(CLK_TOP_CB_MM_D2, "cb_mm_d2", "mmpll", 1, 2), [all …]
|
H A D | clk-mt8135.c | 23 FACTOR(CLK_DUMMY, "top_divs_dummy", "clk_null", 1, 1), 24 FACTOR(CLK_TOP_DSI0_LNTC_DSICLK, "dsi0_lntc_dsiclk", "clk_null", 1, 1), 25 FACTOR(CLK_TOP_HDMITX_CLKDIG_CTS, "hdmitx_clkdig_cts", "clk_null", 1, 1), 26 FACTOR(CLK_TOP_CLKPH_MCK, "clkph_mck", "clk_null", 1, 1), 27 FACTOR(CLK_TOP_CPUM_TCK_IN, "cpum_tck_in", "clk_null", 1, 1), 29 FACTOR(CLK_TOP_MAINPLL_806M, "mainpll_806m", "mainpll", 1, 2), 30 FACTOR(CLK_TOP_MAINPLL_537P3M, "mainpll_537p3m", "mainpll", 1, 3), 31 FACTOR(CLK_TOP_MAINPLL_322P4M, "mainpll_322p4m", "mainpll", 1, 5), 32 FACTOR(CLK_TOP_MAINPLL_230P3M, "mainpll_230p3m", "mainpll", 1, 7), 34 FACTOR(CLK_TOP_UNIVPLL_624M, "univpll_624m", "univpll", 1, 2), [all …]
|
H A D | clk-mt2712.c | 37 FACTOR(CLK_TOP_SYS_26M, "sys_26m", "clk26m", 1, 1), 38 FACTOR(CLK_TOP_CLK26M_D2, "clk26m_d2", "sys_26m", 1, 2), 39 FACTOR(CLK_TOP_ARMCA35PLL, "armca35pll_ck", "armca35pll", 1, 1), 40 FACTOR(CLK_TOP_ARMCA35PLL_600M, "armca35pll_600m", "armca35pll_ck", 1, 2), 41 FACTOR(CLK_TOP_ARMCA35PLL_400M, "armca35pll_400m", "armca35pll_ck", 1, 3), 42 FACTOR(CLK_TOP_ARMCA72PLL, "armca72pll_ck", "armca72pll", 1, 1), 43 FACTOR(CLK_TOP_SYSPLL, "syspll_ck", "mainpll", 1, 1), 44 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "syspll_ck", 1, 2), 45 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "syspll_d2", 1, 2), 46 FACTOR(CLK_TOP_SYSPLL1_D4, "syspll1_d4", "syspll_d2", 1, 4), [all …]
|
H A D | clk-mt7629.c | 363 FACTOR(CLK_TOP_TO_USB3_SYS, "to_usb3_sys", "eth1pll", 1, 4), 364 FACTOR(CLK_TOP_P1_1MHZ, "p1_1mhz", "eth1pll", 1, 500), 365 FACTOR(CLK_TOP_4MHZ, "free_run_4mhz", "eth1pll", 1, 125), 366 FACTOR(CLK_TOP_P0_1MHZ, "p0_1mhz", "eth1pll", 1, 500), 367 FACTOR(CLK_TOP_ETH_500M, "eth_500m", "eth1pll", 1, 1), 368 FACTOR(CLK_TOP_TXCLK_SRC_PRE, "txclk_src_pre", "sgmiipll_d2", 1, 1), 369 FACTOR(CLK_TOP_RTC, "rtc", "clkxtal", 1, 1024), 370 FACTOR(CLK_TOP_PWM_QTR_26M, "pwm_qtr_26m", "clkxtal", 1, 1), 371 FACTOR(CLK_TOP_CPUM_TCK_IN, "cpum_tck_in", "cpum_tck", 1, 1), 372 FACTOR(CLK_TOP_TO_USB3_DA_TOP, "to_usb3_da_top", "clkxtal", 1, 1), [all …]
|
H A D | clk-mt6797.c | 25 FACTOR(CLK_TOP_SYSPLL_CK, "syspll_ck", "mainpll", 1, 1), 26 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "mainpll", 1, 2), 27 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "syspll_d2", 1, 2), 28 FACTOR(CLK_TOP_SYSPLL1_D4, "syspll1_d4", "syspll_d2", 1, 4), 29 FACTOR(CLK_TOP_SYSPLL1_D8, "syspll1_d8", "syspll_d2", 1, 8), 30 FACTOR(CLK_TOP_SYSPLL1_D16, "syspll1_d16", "syspll_d2", 1, 16), 31 FACTOR(CLK_TOP_SYSPLL_D3, "syspll_d3", "mainpll", 1, 3), 32 FACTOR(CLK_TOP_SYSPLL_D3_D3, "syspll_d3_d3", "syspll_d3", 1, 3), 33 FACTOR(CLK_TOP_SYSPLL2_D2, "syspll2_d2", "syspll_d3", 1, 2), 34 FACTOR(CLK_TOP_SYSPLL2_D4, "syspll2_d4", "syspll_d3", 1, 4), [all …]
|
H A 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 …]
|
H A D | clk-mt7622.c | 264 FACTOR(CLK_TOP_TO_USB3_SYS, "to_usb3_sys", "eth1pll", 1, 4), 265 FACTOR(CLK_TOP_P1_1MHZ, "p1_1mhz", "eth1pll", 1, 500), 266 FACTOR(CLK_TOP_4MHZ, "free_run_4mhz", "eth1pll", 1, 125), 267 FACTOR(CLK_TOP_P0_1MHZ, "p0_1mhz", "eth1pll", 1, 500), 268 FACTOR(CLK_TOP_TXCLK_SRC_PRE, "txclk_src_pre", "sgmiipll_d2", 1, 1), 269 FACTOR(CLK_TOP_RTC, "rtc", "clkxtal", 1, 1024), 270 FACTOR(CLK_TOP_MEMPLL, "mempll", "clkxtal", 32, 1), 271 FACTOR(CLK_TOP_DMPLL, "dmpll_ck", "mempll", 1, 1), 272 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "mainpll", 1, 2), 273 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "mainpll", 1, 4), [all …]
|
H A D | clk-mt2701.c | 57 FACTOR(CLK_TOP_SYSPLL, "syspll_ck", "mainpll", 1, 1), 58 FACTOR(CLK_TOP_SYSPLL_D2, "syspll_d2", "mainpll", 1, 2), 59 FACTOR(CLK_TOP_SYSPLL_D3, "syspll_d3", "mainpll", 1, 3), 60 FACTOR(CLK_TOP_SYSPLL_D5, "syspll_d5", "mainpll", 1, 5), 61 FACTOR(CLK_TOP_SYSPLL_D7, "syspll_d7", "mainpll", 1, 7), 62 FACTOR(CLK_TOP_SYSPLL1_D2, "syspll1_d2", "syspll_d2", 1, 2), 63 FACTOR(CLK_TOP_SYSPLL1_D4, "syspll1_d4", "syspll_d2", 1, 4), 64 FACTOR(CLK_TOP_SYSPLL1_D8, "syspll1_d8", "syspll_d2", 1, 8), 65 FACTOR(CLK_TOP_SYSPLL1_D16, "syspll1_d16", "syspll_d2", 1, 16), 66 FACTOR(CLK_TOP_SYSPLL2_D2, "syspll2_d2", "syspll_d3", 1, 2), [all …]
|
H A D | clk-mt6779.c | 25 FACTOR(CLK_TOP_CLK13M, "clk13m", "clk26m", 1, 2), 26 FACTOR(CLK_TOP_F26M_CK_D2, "csw_f26m_ck_d2", "clk26m", 1, 2), 27 FACTOR(CLK_TOP_MAINPLL_CK, "mainpll_ck", "mainpll", 1, 1), 28 FACTOR(CLK_TOP_MAINPLL_D2, "mainpll_d2", "mainpll_ck", 1, 2), 29 FACTOR(CLK_TOP_MAINPLL_D2_D2, "mainpll_d2_d2", "mainpll_d2", 1, 2), 30 FACTOR(CLK_TOP_MAINPLL_D2_D4, "mainpll_d2_d4", "mainpll_d2", 1, 4), 31 FACTOR(CLK_TOP_MAINPLL_D2_D8, "mainpll_d2_d8", "mainpll_d2", 1, 8), 32 FACTOR(CLK_TOP_MAINPLL_D2_D16, "mainpll_d2_d16", "mainpll_d2", 1, 16), 33 FACTOR(CLK_TOP_MAINPLL_D3, "mainpll_d3", "mainpll", 1, 3), 34 FACTOR(CLK_TOP_MAINPLL_D3_D2, "mainpll_d3_d2", "mainpll_d3", 1, 2), [all …]
|
H A D | clk-mt8188-topckgen.c | 27 FACTOR(CLK_TOP_MAINPLL_D3, "mainpll_d3", "mainpll", 1, 3), 28 FACTOR(CLK_TOP_MAINPLL_D4, "mainpll_d4", "mainpll", 1, 4), 29 FACTOR(CLK_TOP_MAINPLL_D4_D2, "mainpll_d4_d2", "mainpll_d4", 1, 2), 30 FACTOR(CLK_TOP_MAINPLL_D4_D4, "mainpll_d4_d4", "mainpll_d4", 1, 4), 31 FACTOR(CLK_TOP_MAINPLL_D4_D8, "mainpll_d4_d8", "mainpll_d4", 1, 8), 32 FACTOR(CLK_TOP_MAINPLL_D5, "mainpll_d5", "mainpll", 1, 5), 33 FACTOR(CLK_TOP_MAINPLL_D5_D2, "mainpll_d5_d2", "mainpll_d5", 1, 2), 34 FACTOR(CLK_TOP_MAINPLL_D5_D4, "mainpll_d5_d4", "mainpll_d5", 1, 4), 35 FACTOR(CLK_TOP_MAINPLL_D5_D8, "mainpll_d5_d8", "mainpll_d5", 1, 8), 36 FACTOR(CLK_TOP_MAINPLL_D6, "mainpll_d6", "mainpll", 1, 6), [all …]
|
H A 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 …]
|
H A 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 …]
|
H A D | clk-mt8516.c | 30 FACTOR(CLK_TOP_DMPLL, "dmpll_ck", "mempll", 1, 1), 31 FACTOR(CLK_TOP_MAINPLL_D2, "mainpll_d2", "mainpll", 1, 2), 32 FACTOR(CLK_TOP_MAINPLL_D4, "mainpll_d4", "mainpll", 1, 4), 33 FACTOR(CLK_TOP_MAINPLL_D8, "mainpll_d8", "mainpll", 1, 8), 34 FACTOR(CLK_TOP_MAINPLL_D16, "mainpll_d16", "mainpll", 1, 16), 35 FACTOR(CLK_TOP_MAINPLL_D11, "mainpll_d11", "mainpll", 1, 11), 36 FACTOR(CLK_TOP_MAINPLL_D22, "mainpll_d22", "mainpll", 1, 22), 37 FACTOR(CLK_TOP_MAINPLL_D3, "mainpll_d3", "mainpll", 1, 3), 38 FACTOR(CLK_TOP_MAINPLL_D6, "mainpll_d6", "mainpll", 1, 6), 39 FACTOR(CLK_TOP_MAINPLL_D12, "mainpll_d12", "mainpll", 1, 12), [all …]
|
H A D | clk-mt8173-topckgen.c | 434 FACTOR(CLK_TOP_ARMCA7PLL_754M, "armca7pll_754m", "armca7pll", 1, 2), 435 FACTOR(CLK_TOP_ARMCA7PLL_502M, "armca7pll_502m", "armca7pll", 1, 3), 442 FACTOR(CLK_TOP_TVDPLL_445P5M, "tvdpll_445p5m", "tvdpll", 1, 4), 443 FACTOR(CLK_TOP_TVDPLL_594M, "tvdpll_594m", "tvdpll", 1, 3), 451 FACTOR(CLK_TOP_CLKRTC_EXT, "clkrtc_ext", "clk32k", 1, 1), 452 FACTOR(CLK_TOP_CLKRTC_INT, "clkrtc_int", "clk26m", 1, 793), 453 FACTOR(CLK_TOP_FPC, "fpc_ck", "clk26m", 1, 1), 455 FACTOR(CLK_TOP_HDMITXPLL_D2, "hdmitxpll_d2", "hdmitx_dig_cts", 1, 2), 456 FACTOR(CLK_TOP_HDMITXPLL_D3, "hdmitxpll_d3", "hdmitx_dig_cts", 1, 3), 458 FACTOR(CLK_TOP_ARMCA7PLL_D2, "armca7pll_d2", "armca7pll_754m", 1, 1), [all …]
|
H A 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), 367 FACTOR(CLK_TOP_TVDPLL_445P5M, "tvdpll_445p5m", "tvdpll", 1, 4), 368 FACTOR(CLK_TOP_TVDPLL_594M, "tvdpll_594m", "tvdpll", 1, 3), 376 FACTOR(CLK_TOP_CLKRTC_EXT, "clkrtc_ext", "clk32k", 1, 1), 377 FACTOR(CLK_TOP_CLKRTC_INT, "clkrtc_int", "clk26m", 1, 793), 378 FACTOR(CLK_TOP_FPC, "fpc_ck", "clk26m", 1, 1), 380 FACTOR(CLK_TOP_HDMITXPLL_D2, "hdmitxpll_d2", "clk26m", 1, 2), 381 FACTOR(CLK_TOP_HDMITXPLL_D3, "hdmitxpll_d3", "clk26m", 1, 3), 383 FACTOR(CLK_TOP_ARMCA53PLL_D2, "armca53pll_d2", "clk26m", 1, 1), [all …]
|
H A D | clk-mt7986-topckgen.c | 27 FACTOR(CLK_TOP_XTAL_D2, "top_xtal_d2", "top_xtal", 1, 2), 28 FACTOR(CLK_TOP_RTC_32K, "top_rtc_32k", "top_xtal", 1, 1250), 29 FACTOR(CLK_TOP_RTC_32P7K, "top_rtc_32p7k", "top_xtal", 1, 1220), 31 FACTOR(CLK_TOP_MPLL_D2, "top_mpll_d2", "mpll", 1, 2), 32 FACTOR(CLK_TOP_MPLL_D4, "top_mpll_d4", "mpll", 1, 4), 33 FACTOR(CLK_TOP_MPLL_D8, "top_mpll_d8", "mpll", 1, 8), 34 FACTOR(CLK_TOP_MPLL_D8_D2, "top_mpll_d8_d2", "mpll", 1, 16), 35 FACTOR(CLK_TOP_MPLL_D3_D2, "top_mpll_d3_d2", "mpll", 1, 6), 37 FACTOR(CLK_TOP_MMPLL_D2, "top_mmpll_d2", "mmpll", 1, 2), 38 FACTOR(CLK_TOP_MMPLL_D4, "top_mmpll_d4", "mmpll", 1, 4), [all …]
|
H A D | clk-mt8186-topckgen.c | 53 FACTOR(CLK_TOP_APLL1_D2, "apll1_d2", "apll1", 1, 2), 54 FACTOR(CLK_TOP_APLL1_D4, "apll1_d4", "apll1", 1, 4), 55 FACTOR(CLK_TOP_APLL1_D8, "apll1_d8", "apll1", 1, 8), 56 FACTOR(CLK_TOP_APLL2_D2, "apll2_d2", "apll2", 1, 2), 57 FACTOR(CLK_TOP_APLL2_D4, "apll2_d4", "apll2", 1, 4), 58 FACTOR(CLK_TOP_APLL2_D8, "apll2_d8", "apll2", 1, 8), 59 FACTOR(CLK_TOP_MMPLL_D2, "mmpll_d2", "mmpll", 1, 2), 60 FACTOR(CLK_TOP_TVDPLL_D2, "tvdpll_d2", "tvdpll", 1, 2), 61 FACTOR(CLK_TOP_TVDPLL_D4, "tvdpll_d4", "tvdpll", 1, 4), 62 FACTOR(CLK_TOP_TVDPLL_D8, "tvdpll_d8", "tvdpll", 1, 8), [all …]
|
H A 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), 77 FACTOR(CLK_TOP_APLL1_D3, "apll1_d3", "apll1", 1, 3), 78 FACTOR(CLK_TOP_APLL1_D4, "apll1_d4", "apll1", 1, 4), 79 FACTOR(CLK_TOP_APLL2_D3, "apll2_d3", "apll2", 1, 3), 80 FACTOR(CLK_TOP_APLL2_D4, "apll2_d4", "apll2", 1, 4), [all …]
|
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/fans/phosphor-fan/ |
H A D | monitor.json | 16 "factor": 90, number 24 "factor": 86, number 42 "factor": 90, number 50 "factor": 86, number 68 "factor": 90, number 76 "factor": 86, number 94 "factor": 90, number 102 "factor": 86, number 120 "factor": 90, number 128 "factor": 86, number [all …]
|
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/fans/phosphor-fan/mtjade/ |
H A D | monitor.json | 16 "factor": 82, number 24 "factor": 82, number 42 "factor": 82, number 50 "factor": 82, number 68 "factor": 82, number 76 "factor": 82, number 94 "factor": 82, number 102 "factor": 82, number 120 "factor": 82, number 128 "factor": 82, number [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/User/ |
H A D | MultiFactorAuthConfiguration.interface.yaml | 2 This interface defines multi-factor authentication configuration. This 11 Multi-factor authentication configuration. This interface will be 20 This property is read only for populating allowed multi-factor 21 authentication types. When there are no multi-factor authentication 28 Multi-factor authentication type enumeration, Types of multi-factor 34 two-factor authentication for logging into servers specified in 38 Default value of multi-factor authentication configuration
|
/openbmc/linux/drivers/iio/afe/ |
H A D | iio-rescale.c | 328 u32 factor; in rescale_current_sense_amplifier_props() local 342 * Calculate the scaling factor, 1 / (gain * sense), or in rescale_current_sense_amplifier_props() 346 factor = gcd(sense, 1000000); in rescale_current_sense_amplifier_props() 347 rescale->numerator = 1000000 / factor; in rescale_current_sense_amplifier_props() 348 rescale->denominator = sense / factor; in rescale_current_sense_amplifier_props() 350 factor = gcd(rescale->numerator, gain_mult); in rescale_current_sense_amplifier_props() 351 rescale->numerator /= factor; in rescale_current_sense_amplifier_props() 352 rescale->denominator *= gain_mult / factor; in rescale_current_sense_amplifier_props() 354 factor = gcd(rescale->denominator, gain_div); in rescale_current_sense_amplifier_props() 355 rescale->numerator *= gain_div / factor; in rescale_current_sense_amplifier_props() [all …]
|
/openbmc/linux/drivers/s390/block/ |
H A 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 …]
|
/openbmc/linux/drivers/clk/actions/ |
H A 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 …]
|