Home
last modified time | relevance | path

Searched refs:periph (Results 1 – 14 of 14) sorted by relevance

/drivers/clk/at91/
A Dclk-peripheral.c111 periph = kzalloc(sizeof(*periph), GFP_KERNEL); in at91_clk_register_peripheral()
173 regmap_write(periph->regmap, periph->layout->offset, in clk_sam9x5_peripheral_set()
174 (periph->id & periph->layout->pid_mask)); in clk_sam9x5_peripheral_set()
176 periph->layout->div_mask | periph->layout->cmd | in clk_sam9x5_peripheral_set()
201 regmap_write(periph->regmap, periph->layout->offset, in clk_sam9x5_peripheral_disable()
202 (periph->id & periph->layout->pid_mask)); in clk_sam9x5_peripheral_disable()
219 regmap_write(periph->regmap, periph->layout->offset, in clk_sam9x5_peripheral_is_enabled()
220 (periph->id & periph->layout->pid_mask)); in clk_sam9x5_peripheral_is_enabled()
240 (periph->id & periph->layout->pid_mask)); in clk_sam9x5_peripheral_recalc_rate()
394 if (periph->range.max && rate > periph->range.max) in clk_sam9x5_peripheral_set_rate()
[all …]
/drivers/clk/tegra/
A Dclk-periph.c18 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_get_parent()
29 struct clk_hw *mux_hw = &periph->mux.hw; in clk_periph_set_parent()
170 struct tegra_clk_periph *periph, in _tegra_clk_register_periph() argument
197 periph->hw.init = &init; in _tegra_clk_register_periph()
199 periph->mux.reg = clk_base + offset; in _tegra_clk_register_periph()
201 periph->gate.clk_base = clk_base; in _tegra_clk_register_periph()
202 periph->gate.regs = bank; in _tegra_clk_register_periph()
205 clk = clk_register(NULL, &periph->hw); in _tegra_clk_register_periph()
209 periph->mux.hw.clk = clk; in _tegra_clk_register_periph()
211 periph->gate.hw.clk = clk; in _tegra_clk_register_periph()
[all …]
A DMakefile7 obj-y += clk-periph.o
8 obj-y += clk-periph-fixed.o
9 obj-y += clk-periph-gate.o
15 obj-y += clk-tegra-periph.o
A Dclk-tegra-periph.c235 .periph = TEGRA_CLK_PERIPH(0, 0, 0, 0, 0, 0, 0, \
245 .periph = TEGRA_CLK_PERIPH(0, 0, 0, 0, 8, 1, \
877 bank = get_reg_bank(data->periph.gate.clk_num); in periph_clk_init()
881 data->periph.gate.regs = bank; in periph_clk_init()
904 data->p.parent_name, data->periph.gate.flags, in gate_clk_init()
906 data->periph.gate.clk_num, in gate_clk_init()
930 data->flags, data->periph.divider.flags, in div_clk_init()
931 data->periph.divider.shift, in div_clk_init()
932 data->periph.divider.width, in div_clk_init()
933 data->periph.divider.frac_width, in div_clk_init()
[all …]
A Dclk.h634 struct tegra_clk_periph *periph, void __iomem *clk_base,
638 struct tegra_clk_periph *periph, void __iomem *clk_base,
677 struct tegra_clk_periph periph; member
694 .periph = TEGRA_CLK_PERIPH(_mux_shift, _mux_mask, \
A Dclk-tegra20.c847 data->num_parents, &data->periph, in tegra20_periph_clk_init()
A Dclk-tegra30.c1050 data->num_parents, &data->periph, in tegra30_periph_clk_init()
/drivers/clk/socfpga/
A DMakefile2 obj-$(CONFIG_CLK_INTEL_SOCFPGA32) += clk.o clk-gate.o clk-pll.o clk-periph.o \
3 clk-pll-a10.o clk-periph-a10.o clk-gate-a10.o
5 clk-pll-s10.o clk-periph-s10.o clk-gate-s10.o \
/drivers/clk/microchip/
A Dclk-mpfs.c78 struct clk_gate periph; member
286 .periph.bit_idx = _shift, \
287 .periph.hw.init = CLK_HW_INIT_HW(_name, _parent, &clk_gate_ops, \
289 .periph.lock = &mpfs_clk_lock, \
349 periph_hw->periph.reg = data->base + REG_SUBBLK_CLOCK_CR; in mpfs_clk_register_periphs()
350 ret = devm_clk_hw_register(dev, &periph_hw->periph.hw); in mpfs_clk_register_periphs()
356 data->hw_data.hws[id] = &periph_hw->periph.hw; in mpfs_clk_register_periphs()
/drivers/clk/mvebu/
A DMakefile13 obj-$(CONFIG_ARMADA_37XX_CLK) += armada-37xx-periph.o
/drivers/dma/
A Dimg-mdc-dma.c122 unsigned int periph; member
822 mchan->periph = dma_spec->args[0]; in mdc_of_xlate()
843 mchan->periph << in pistachio_mdc_enable_chan()
/drivers/clk/samsung/
A Dclk-exynos5250.c753 #define E5250_CPU_DIV0(apll, pclk_dbg, atb, periph, acp, cpud) \ argument
755 ((periph) << 12) | ((acp) << 8) | ((cpud) << 4)))
A Dclk-exynos4.c1197 #define E4210_CPU_DIV0(apll, pclk_dbg, atb, periph, corem1, corem0) \ argument
1199 ((periph) << 12) | ((corem1) << 8) | ((corem0) << 4))
/drivers/spmi/
A Dspmi-pmic-arb.c867 u16 periph = hwirq_to_per(d->hwirq); in qpnpint_irq_domain_activate() local
875 sid, periph, irq, pmic_arb->ee, in qpnpint_irq_domain_activate()

Completed in 40 milliseconds