Home
last modified time | relevance | path

Searched +full:m +full:- +full:ahb (Results 1 – 25 of 111) sorted by relevance

12345

/linux/drivers/clk/sunxi-ng/
H A Dccu-sun5i.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/clk-provider.h>
24 #include "ccu-sun5i.h"
30 .m = _SUNXI_CCU_DIV(0, 2),
34 .hw.init = CLK_HW_INIT("pll-core",
46 * With sigma-delta modulation for fractional-N on the audio PLL,
56 { .rate = 22579200, .pattern = 0xc0010d84, .m = 8, .n = 7 },
57 { .rate = 24576000, .pattern = 0xc000ac02, .m = 14, .n = 14 },
68 .m = _SUNXI_CCU_DIV_OFFSET(0, 5, 0),
74 .hw.init = CLK_HW_INIT("pll-audio-base",
[all …]
H A Dccu-suniv-f1c100s.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/clk-provider.h>
25 #include "ccu-suniv-f1c100s.h"
33 .m = _SUNXI_CCU_DIV(0, 2),
39 .hw.init = CLK_HW_INIT("pll-cpu", "osc24M",
55 static SUNXI_CCU_NM_WITH_GATE_LOCK(pll_audio_base_clk, "pll-audio-base",
58 0, 5, /* M */
63 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_video_clk, "pll-video",
66 0, 4, /* M */
75 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_ve_clk, "pll-ve",
[all …]
H A Dccu-sun50i-a100-r.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
18 #include "ccu-sun50i-a100-r.h"
21 "iosc", "pll-periph0" };
47 static CLK_FIXED_FACTOR_HW(r_ahb_clk, "r-ahb", &r_cpus_clk.common.hw, 1, 1, 0);
54 .hw.init = CLK_HW_INIT("r-apb1",
55 "r-ahb",
75 .hw.init = CLK_HW_INIT_PARENTS("r-apb2",
90 static SUNXI_CCU_GATE_DATA(r_apb1_timer_clk, "r-apb1-timer", clk_parent_r_apb1,
93 static SUNXI_CCU_GATE_DATA(r_apb1_twd_clk, "r-apb1-twd", clk_parent_r_apb1,
[all …]
H A Dccu-sun20i-d1-r.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/clk-provider.h>
17 #include "ccu-sun20i-d1-r.h"
23 { .fw_name = "pll-periph" },
25 static SUNXI_CCU_MP_DATA_WITH_MUX(r_ahb_clk, "r-ahb",
27 0, 5, /* M */
33 static SUNXI_CCU_MP_DATA_WITH_MUX(r_apb0_clk, "r-apb0",
35 0, 5, /* M */
41 static SUNXI_CCU_GATE_HWS(bus_r_timer_clk, "bus-r-timer", &r_apb0_hw,
43 static SUNXI_CCU_GATE_HWS(bus_r_twd_clk, "bus-r-twd", &r_apb0_hw,
[all …]
/linux/Documentation/devicetree/bindings/arm/stm32/
H A Dst,mlahb.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 ML-AHB interconnect
10 - Fabien Dessenne <fabien.dessenne@foss.st.com>
11 - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
14 These bindings describe the STM32 SoCs ML-AHB interconnect bus which connects
15 a Cortex-M subsystem with dedicated memories. The MCU SRAM and RETRAM memory
17 using different buses (see [2]): balancing the Cortex-M firmware accesses
23 - $ref: /schemas/simple-bus.yaml#
[all …]
/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,geni-se.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/qcom/qcom,geni-se.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
23 - qcom,geni-se-qup
24 - qcom,geni-se-i2c-master-hub
30 clock-names:
38 "#address-cells":
41 "#size-cells":
[all …]
/linux/drivers/clk/sunxi/
H A Dclk-sun9i-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2014 Chen-Yu Tsai
5 * Chen-Yu Tsai <wens@csie.org>
9 #include <linux/clk-provider.h>
14 #include "clk-factors.h"
18 * sun9i_a80_get_pll4_factors() - calculates n, p, m factors for PLL4
20 * rate = (parent_rate * n >> p) / (m + 1);
23 * p and m are named div1 and div2 in Allwinner's SDK
29 int m = 1; in sun9i_a80_get_pll4_factors() local
33 n = DIV_ROUND_UP(req->rate, 6000000); in sun9i_a80_get_pll4_factors()
[all …]
H A Dclk-sunxi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/clk-provider.h>
14 #include <linux/reset-controller.h>
19 #include "clk-factors.h"
27 * sun4i_get_pll1_factors() - calculates n, k, m, p factors for PLL1
29 * rate = (parent_rate * n * (k + 1) >> p) / (m + 1);
37 /* Normalize value to a 6M multiple */ in sun4i_get_pll1_factors()
38 div = req->rate / 6000000; in sun4i_get_pll1_factors()
39 req->rate = 6000000 * div; in sun4i_get_pll1_factors()
41 /* m is always zero for pll1 */ in sun4i_get_pll1_factors()
[all …]
/linux/drivers/clk/imx/
H A Dclk-imx27.c1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/clk-provider.h>
9 #include <dt-bindings/clock/imx27-clock.h>
40 "ahb", "ipg", "per1_div", "per2_div",
42 "nfc_div", "mshc_div", "vpu_div", "60m",
69 clk[IMX27_CLK_AHB] = imx_clk_divider("ahb", "mpll_main2", CCM_CSCR, 8, 2); in _mx27_clocks_init()
70 clk[IMX27_CLK_IPG] = imx_clk_fixed_factor("ipg", "ahb", 1, 2); in _mx27_clocks_init()
72 clk[IMX27_CLK_AHB] = imx_clk_divider("ahb", "mpll_main2", CCM_CSCR, 9, 4); in _mx27_clocks_init()
73 clk[IMX27_CLK_IPG] = imx_clk_divider("ipg", "ahb", CCM_CSCR, 8, 1); in _mx27_clocks_init()
76 clk[IMX27_CLK_MSHC_DIV] = imx_clk_divider("mshc_div", "ahb", CCM_PCDR0, 0, 6); in _mx27_clocks_init()
[all …]
/linux/drivers/clk/microchip/
H A Dclk-mpfs.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2020-2022 Microchip Technology Inc. All rights reserved.
7 #include <linux/clk-provider.h>
11 #include <dt-bindings/clock/microchip,mpfs-clock.h>
120 void __iomem *mult_addr = msspll_hw->base + msspll_hw->reg_offset; in mpfs_clk_msspll_recalc_rate()
121 void __iomem *ref_div_addr = msspll_hw->base + REG_MSSPLL_REF_CR; in mpfs_clk_msspll_recalc_rate()
159 msspll_hw->base = data->msspll_base; in mpfs_clk_register_mssplls()
160 ret = devm_clk_hw_register(dev, &msspll_hw->hw); in mpfs_clk_register_mssplls()
165 data->hw_data.hws[msspll_hw->id] = &msspll_hw->hw; in mpfs_clk_register_mssplls()
207 msspll_out_hw->output.reg = data->msspll_base + msspll_out_hw->reg_offset; in mpfs_clk_register_msspll_outs()
[all …]
/linux/sound/soc/rockchip/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 Say Y or M if you want to add support for I2S driver for
18 Say Y or M if you want to add support for the I2S/TDM driver for
20 interface between the AHB bus and the I2S bus, and support up to a
29 Say Y or M if you want to add support for PDM driver for
37 Say Y or M if you want to add support for the Rockchip Serial Audio
46 Say Y or M if you want to add support for SPDIF driver for
57 Say Y or M here if you want to add support for SoC audio on Rockchip
66 Say Y or M here if you want to add support for SoC audio on Rockchip
78 Say Y or M here if you want to add support for SoC audio on Rockchip
[all …]
/linux/arch/arm/boot/dts/allwinner/
H A Dsun9i-a80.dtsi2 * Copyright 2014 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
45 #include <dt-bindings/interrupt-controller/arm-gic.h>
47 #include <dt-bindings/clock/sun9i-a80-ccu.h>
48 #include <dt-bindings/clock/sun9i-a80-de.h>
49 #include <dt-bindings/clock/sun9i-a80-usb.h>
50 #include <dt-bindings/reset/sun9i-a80-ccu.h>
51 #include <dt-bindings/reset/sun9i-a80-de.h>
52 #include <dt-bindings/reset/sun9i-a80-usb.h>
[all …]
H A Dsuniv-f1c100s.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR X11)
7 #include <dt-bindings/clock/suniv-ccu-f1c100s.h>
8 #include <dt-bindings/reset/suniv-ccu-f1c100s.h>
9 #include <dt-bindings/dma/sun4i-a10.h>
12 #address-cells = <1>;
13 #size-cells = <1>;
14 interrupt-parent = <&intc>;
17 osc24M: clk-24M {
18 #clock-cells = <0>;
19 compatible = "fixed-clock";
[all …]
H A Dsun5i.dtsi2 * Copyright 2012-2015 Maxime Ripard
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 #include <dt-bindings/clock/sun5i-ccu.h>
46 #include <dt-bindings/dma/sun4i-a10.h>
47 #include <dt-bindings/reset/sun5i-ccu.h>
50 interrupt-parent = <&intc>;
51 #address-cells = <1>;
52 #size-cells = <1>;
55 #address-cells = <1>;
[all …]
/linux/arch/mips/ath25/
H A Dar5312.c9 * Copyright (C) 2006-2009 Felix Fietkau <nbd@openwrt.org>
65 pr_emerg("AHB interrupt: PROCADDR=0x%8.8x PROC1=0x%8.8x DMAADDR=0x%8.8x DMA1=0x%8.8x\n", in ar5312_ahb_err_handler()
68 machine_restart("AHB error"); /* Catastrophic failure */ in ar5312_ahb_err_handler()
96 ar5312_rst_reg_mask(AR5312_IMR, 0, BIT(d->hwirq)); in ar5312_misc_irq_unmask()
102 ar5312_rst_reg_mask(AR5312_IMR, BIT(d->hwirq), 0); in ar5312_misc_irq_mask()
107 .name = "ar5312-misc",
152 if (request_irq(irq, ar5312_ahb_err_handler, 0, "ar5312-ahb-error", in ar5312_arch_init_irq()
154 pr_err("Failed to register ar5312-ahb-error interrupt\n"); in ar5312_arch_init_irq()
168 .end = AR5312_FLASH_BASE + AR5312_FLASH_SIZE - 1,
173 .name = "physmap-flash",
[all …]
/linux/drivers/clk/
H A Dclk-ast2600.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 #define pr_fmt(fmt) "clk-ast2600: " fmt
14 #include <dt-bindings/clock/ast2600-clock.h>
16 #include "clk-aspeed.h"
20 * explicitly-configured clocks (ASPEED_CLK_HPLL and up).
94 * handled by using -1 as the index for the reset, and the consumer must
104 [ASPEED_CLK_GATE_MCLK] = { 0, -1, "mclk-gate", "mpll", CLK_IS_CRITICAL }, /* SDRAM */
105 [ASPEED_CLK_GATE_ECLK] = { 1, 6, "eclk-gate", "eclk", 0 }, /* Video Engine */
106 [ASPEED_CLK_GATE_GCLK] = { 2, 7, "gclk-gate", NULL, 0 }, /* 2D engine */
107 /* vclk parent - dclk/d1clk/hclk/mclk */
[all …]
/linux/drivers/net/wireless/ath/ath5k/
H A DKconfig1 # SPDX-License-Identifier: ISC
20 If you choose to build a module, it'll be called ath5k. Say M if
32 mount -t debugfs debug /sys/kernel/debug
54 bool "Atheros 5xxx AHB bus support"
71 This enables non-standard IEEE 802.11 channels on ath5k, which
/linux/drivers/gpu/drm/imx/lcdc/
H A Dimx-lcdc.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // SPDX-FileCopyrightText: 2020 Marian Cichy <M.Cichy@pengutronix.de>
22 #include <linux/dma-mapping.h>
126 DRM_WARN("Format not supported - fallback to XRGB8888\n"); in imx_lcdc_get_format()
141 struct drm_crtc *crtc = &pipe->crtc; in imx_lcdc_update_hw_registers()
142 struct drm_plane_state *new_state = pipe->plane.state; in imx_lcdc_update_hw_registers()
143 struct drm_framebuffer *fb = new_state->fb; in imx_lcdc_update_hw_registers()
144 struct imx_lcdc *lcdc = imx_lcdc_from_drmdev(pipe->crtc.dev); in imx_lcdc_update_hw_registers()
151 writel(addr, lcdc->base + IMX21LCDC_LSSAR); in imx_lcdc_update_hw_registers()
157 if (old_state && old_state->crtc && old_state->crtc->enabled) in imx_lcdc_update_hw_registers()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Drockchip,i2s-tdm.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/rockchip,i2s-tdm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 - Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
18 - $ref: dai-common.yaml#
23 - rockchip,px30-i2s-tdm
24 - rockchip,rk1808-i2s-tdm
25 - rockchip,rk3308-i2s-tdm
26 - rockchip,rk3568-i2s-tdm
[all …]
H A Drockchip,rk3576-sai.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/rockchip,rk3576-sai.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 - Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
17 - $ref: dai-common.yaml#
21 const: rockchip,rk3576-sai
33 dma-names:
36 - enum: [tx, rx]
37 - const: rx
[all …]
/linux/arch/arm/boot/dts/microchip/
H A Dtny_a9260_common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * tny_a9260_common.dtsi - Device Tree file for Calao TNY A926x board
5 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
10 bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock6 rw rootfstype=ubifs";
19 clock-frequency = <32768>;
23 clock-frequency = <12000000>;
27 ahb {
31 compatible = "atmel,tcb-timer";
36 compatible = "atmel,tcb-timer";
49 nand_controller: nand-controller {
[all …]
H A Dtny_a9263.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * usb_a9263.dts - Device Tree file for Calao USB A9293 board
5 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
7 /dts-v1/;
12 compatible = "atmel,tny-a9263", "atmel,at91sam9263", "atmel,at91sam9";
15 bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
24 clock-frequency = <32768>;
28 clock-frequency = <12000000>;
32 ahb {
40 compatible = "atmel,tcb-timer";
[all …]
H A Dusb_a9260_common.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * usb_a926x.dts - Device Tree file for Calao USB A926x board
5 * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
10 bootargs = "mem=64M root=/dev/mtdblock5 rw rootfstype=ubifs";
11 stdout-path = "serial0:115200n8";
16 clock-frequency = <32768>;
20 clock-frequency = <12000000>;
28 ahb {
36 compatible = "atmel,tcb-timer";
41 compatible = "atmel,tcb-timer";
[all …]
/linux/drivers/soc/lantiq/
H A Dfpi-bus.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2011-2015 John Crispin <blogic@phrozen.org>
6 * Copyright (C) 2017 Hauke Mehrtens <hauke@hauke-m.de>
29 struct device *dev = &pdev->dev; in ltq_fpi_probe()
30 struct device_node *np = dev->of_node; in ltq_fpi_probe()
45 ret = device_property_read_u32(dev, "lantiq,offset-endianness", in ltq_fpi_probe()
48 dev_err(&pdev->dev, "Failed to get RCU reg offset\n"); in ltq_fpi_probe()
55 dev_warn(&pdev->dev, in ltq_fpi_probe()
56 "Failed to configure RCU AHB endianness\n"); in ltq_fpi_probe()
63 return of_platform_populate(dev->of_node, NULL, NULL, dev); in ltq_fpi_probe()
[all …]
/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_hw.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016 Florent Revest <florent.revest@free-electrons.com>
11 * Copyright (c) 2009-2010 Samsung Electronics Co., Ltd.
13 * Marek Szyprowski, <m.szyprowski@samsung.com>
19 #include <linux/dma-mapping.h>
27 #include <media/videobuf2-core.h>
28 #include <media/v4l2-mem2mem.h>
39 * FIXME: This is only valid on 32-bits DDR's, we should test in cedrus_engine_enable()
45 switch (ctx->src_fmt.pixelformat) { in cedrus_engine_enable()
61 return -EINVAL; in cedrus_engine_enable()
[all …]

12345