Searched refs:pcwbits (Results 1 – 25 of 27) sorted by relevance
12
/openbmc/linux/drivers/clk/mediatek/ |
H A D | clk-pll.c | 43 int pcwbits = pll->data->pcwbits; in __mtk_pll_recalc_rate() local 51 if (pcwbits > ibits) in __mtk_pll_recalc_rate() 52 pcwfbits = pcwbits - ibits; in __mtk_pll_recalc_rate() 113 val &= ~GENMASK(pll->data->pcw_shift + pll->data->pcwbits - 1, in mtk_pll_set_rate_regs() 168 _pcw = ((u64)freq << val) << (pll->data->pcwbits - ibits); in mtk_pll_calc_values() 197 pcw &= GENMASK(pll->data->pcwbits - 1, 0); in mtk_pll_recalc_rate()
|
H A D | clk-mt8195-apusys_pll.c | 38 .pcwbits = MT8195_PCW_BITS, \
|
H A D | clk-mt7986-apmixed.c | 30 .pcwbits = _pcwbits, .pd_reg = _pd_reg, .pd_shift = _pd_shift, \
|
H A D | clk-mt8135-apmixedsys.c | 29 .pcwbits = _pcwbits, \
|
H A D | clk-mt7981-apmixed.c | 32 .pcwbits = _pcwbits, .pd_reg = _pd_reg, .pd_shift = _pd_shift, \
|
H A D | clk-pll.h | 42 int pcwbits; member
|
H A D | clk-mt8516-apmixedsys.c | 34 .pcwbits = _pcwbits, \
|
H A D | clk-mt8167-apmixedsys.c | 33 .pcwbits = _pcwbits, \
|
H A D | clk-mt8188-apmixedsys.c | 46 .pcwbits = _pcwbits, \
|
H A D | clk-mt7622-apmixedsys.c | 31 .pcwbits = _pcwbits, \
|
H A D | clk-mt2712-apmixedsys.c | 33 .pcwbits = _pcwbits, \
|
H A D | clk-mt8365-apmixedsys.c | 32 .pcwbits = _pcwbits, \
|
H A D | clk-mt8186-apmixedsys.c | 32 .pcwbits = _pcwbits, \
|
H A D | clk-mt8183-apmixedsys.c | 68 .pcwbits = _pcwbits, \
|
H A D | clk-mt8192-apmixedsys.c | 49 .pcwbits = _pcwbits, \
|
H A D | clk-mt8173-apmixedsys.c | 35 .pcwbits = _pcwbits, \
|
H A D | clk-mt6795-apmixedsys.c | 36 .pcwbits = _pcwbits, \
|
H A D | clk-mt8195-apmixedsys.c | 47 .pcwbits = _pcwbits, \
|
H A D | clk-mt7629.c | 34 .pcwbits = _pcwbits, \
|
H A D | clk-mt6797.c | 610 .pcwbits = _pcwbits, \
|
H A D | clk-mt6779.c | 1159 .pcwbits = _pcwbits, \
|
H A D | clk-mt6765.c | 683 .pcwbits = _pcwbits, \
|
/openbmc/u-boot/drivers/clk/mediatek/ |
H A D | clk-mtk.c | 85 int pcwbits = pll->pcwbits; in __mtk_pll_recalc_rate() local 91 pcwfbits = pcwbits > INTEGER_BITS ? pcwbits - INTEGER_BITS : 0; in __mtk_pll_recalc_rate() 130 val &= ~GENMASK(pll->pcw_shift + pll->pcwbits - 1, pll->pcw_shift); in mtk_pll_set_rate_regs() 167 _pcw = ((u64)freq << val) << (pll->pcwbits - INTEGER_BITS); in mtk_pll_calc_values() 196 pcw &= GENMASK(pll->pcwbits - 1, 0); in mtk_apmixedsys_get_rate()
|
H A D | clk-mtk.h | 39 int pcwbits; member
|
H A D | clk-mt7629.c | 40 .pcwbits = _pcwbits, \
|
12