Searched refs:factors (Results 1 – 7 of 7) sorted by relevance
49 struct clk_factors *factors = to_clk_factors(hw); in clk_factors_recalc_rate() local50 const struct clk_factors_config *config = factors->config; in clk_factors_recalc_rate()53 reg = readl(factors->reg); in clk_factors_recalc_rate()65 if (factors->recalc) { in clk_factors_recalc_rate()75 if (factors->mux) in clk_factors_recalc_rate()77 (reg >> factors->mux->shift) & in clk_factors_recalc_rate()78 factors->mux->mask; in clk_factors_recalc_rate()80 factors->recalc(&factors_req); in clk_factors_recalc_rate()94 struct clk_factors *factors = to_clk_factors(hw); in clk_factors_determine_rate() local115 factors->get_factors(&factors_req); in clk_factors_determine_rate()[all …]
882 const struct factors_data *factors; /* data for the factor clock */ member910 .factors = &sun4i_pll5_data,921 .factors = &sun4i_pll5_data,932 .factors = &sun6i_a31_pll6_data,963 struct factors_data factors = *data->factors; in sunxi_divs_clk_setup() local977 i, &factors.name); in sunxi_divs_clk_setup()982 if (factors.name == NULL) { in sunxi_divs_clk_setup()991 factors.name = derived_name; in sunxi_divs_clk_setup()993 factors.name = clk_name; in sunxi_divs_clk_setup()998 pclk = sunxi_factors_clk_setup(node, &factors); in sunxi_divs_clk_setup()
6 obj-y += clk-sunxi.o clk-factors.o
54 const struct clk_bit_field *factors; member70 .factors = _factors, \
19 (pll->factors[member].shift / (8 * sizeof(pll->regs_num)))22 (pll->factors[member].shift % (8 * sizeof(pll->regs_num)))25 pll->factors[member].width
291 } __attribute__ ((packed)) factors; member
47 #define ECKD_F1(i) (ECKD_F(i)==0x01?(i->factors.f_0x01.f1):\48 (i->factors.f_0x02.f1))49 #define ECKD_F2(i) (ECKD_F(i)==0x01?(i->factors.f_0x01.f2):\50 (i->factors.f_0x02.f2))51 #define ECKD_F3(i) (ECKD_F(i)==0x01?(i->factors.f_0x01.f3):\52 (i->factors.f_0x02.f3))53 #define ECKD_F4(i) (ECKD_F(i)==0x02?(i->factors.f_0x02.f4):0)54 #define ECKD_F5(i) (ECKD_F(i)==0x02?(i->factors.f_0x02.f5):0)