/kernel/linux/linux-5.10/drivers/amba/ |
H A D | tegra-ahb.c | 21 #include <soc/tegra/ahb.h> 23 #define DRV_NAME "tegra-ahb" 126 static inline u32 gizmo_readl(struct tegra_ahb *ahb, u32 offset) in gizmo_readl() argument 128 return readl(ahb->regs + offset); in gizmo_readl() 131 static inline void gizmo_writel(struct tegra_ahb *ahb, u32 value, u32 offset) in gizmo_writel() argument 133 writel(value, ahb->regs + offset); in gizmo_writel() 141 struct tegra_ahb *ahb; in tegra_ahb_enable_smmu() local 146 ahb = dev_get_drvdata(dev); in tegra_ahb_enable_smmu() 147 val = gizmo_readl(ahb, AHB_ARBITRATION_XBAR_CTRL); in tegra_ahb_enable_smmu() 149 gizmo_writel(ahb, va in tegra_ahb_enable_smmu() 158 struct tegra_ahb *ahb = dev_get_drvdata(dev); tegra_ahb_suspend() local 168 struct tegra_ahb *ahb = dev_get_drvdata(dev); tegra_ahb_resume() local 179 tegra_ahb_gizmo_init(struct tegra_ahb *ahb) tegra_ahb_gizmo_init() argument 242 struct tegra_ahb *ahb; tegra_ahb_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/amba/ |
H A D | tegra-ahb.c | 21 #include <soc/tegra/ahb.h> 23 #define DRV_NAME "tegra-ahb" 126 static inline u32 gizmo_readl(struct tegra_ahb *ahb, u32 offset) in gizmo_readl() argument 128 return readl(ahb->regs + offset); in gizmo_readl() 131 static inline void gizmo_writel(struct tegra_ahb *ahb, u32 value, u32 offset) in gizmo_writel() argument 133 writel(value, ahb->regs + offset); in gizmo_writel() 141 struct tegra_ahb *ahb; in tegra_ahb_enable_smmu() local 146 ahb = dev_get_drvdata(dev); in tegra_ahb_enable_smmu() 147 val = gizmo_readl(ahb, AHB_ARBITRATION_XBAR_CTRL); in tegra_ahb_enable_smmu() 149 gizmo_writel(ahb, va in tegra_ahb_enable_smmu() 158 struct tegra_ahb *ahb = dev_get_drvdata(dev); tegra_ahb_suspend() local 168 struct tegra_ahb *ahb = dev_get_drvdata(dev); tegra_ahb_resume() local 179 tegra_ahb_gizmo_init(struct tegra_ahb *ahb) tegra_ahb_gizmo_init() argument 242 struct tegra_ahb *ahb; tegra_ahb_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/imx/ |
H A D | clk-imx35.c | 34 unsigned char arm, ahb, sel; member 38 { .arm = 1, .ahb = 4, .sel = 0}, 39 { .arm = 1, .ahb = 3, .sel = 1}, 40 { .arm = 2, .ahb = 2, .sel = 0}, 41 { .arm = 0, .ahb = 0, .sel = 0}, 42 { .arm = 0, .ahb = 0, .sel = 0}, 43 { .arm = 0, .ahb = 0, .sel = 0}, 44 { .arm = 4, .ahb = 1, .sel = 0}, 45 { .arm = 1, .ahb = 5, .sel = 0}, 46 { .arm = 1, .ahb 65 /* 0 */ ckih, mpll, ppll, mpll_075, arm, hsp, hsp_div, hsp_sel, ahb, global() enumerator [all...] |
H A D | clk-imx25.c | 46 static const char *per_sel_clks[] = { "ahb", "upll", }; 47 static const char *cko_sel_clks[] = { "dummy", "osc", "cpu", "ahb", 53 dummy, osc, mpll, upll, mpll_cpu_3_4, cpu_sel, cpu, ahb, usb_div, ipg, enumerator 86 clk[ahb] = imx_clk_divider("ahb", "cpu", ccm(CCM_CCTL), 28, 2); in __mx25_clocks_init() 88 clk[ipg] = imx_clk_fixed_factor("ipg", "ahb", 1, 2); in __mx25_clocks_init() 140 clk[ata_ahb] = imx_clk_gate("ata_ahb", "ahb", ccm(CCM_CGCR0), 16); in __mx25_clocks_init() 142 clk[csi_ahb] = imx_clk_gate("csi_ahb", "ahb", ccm(CCM_CGCR0), 18); in __mx25_clocks_init() 143 clk[emi_ahb] = imx_clk_gate("emi_ahb", "ahb", ccm(CCM_CGCR0), 19); in __mx25_clocks_init() 144 clk[esai_ahb] = imx_clk_gate("esai_ahb", "ahb", cc in __mx25_clocks_init() [all...] |
H A D | clk-imx31.c | 40 dummy, ckih, ckil, mpll, spll, upll, mcu_main, hsp, ahb, nfc, ipg, enumerator 74 clk[ahb] = imx_clk_divider("ahb", "mcu_main", base + MXC_CCM_PDR0, 3, 3); in _mx31_clocks_init() 75 clk[nfc] = imx_clk_divider("nfc", "ahb", base + MXC_CCM_PDR0, 8, 3); in _mx31_clocks_init() 76 clk[ipg] = imx_clk_divider("ipg", "ahb", base + MXC_CCM_PDR0, 6, 2); in _mx31_clocks_init() 93 clk[sdma_gate] = imx_clk_gate2("sdma_gate", "ahb", base + MXC_CCM_CGR0, 14); in _mx31_clocks_init() 111 clk[usb_gate] = imx_clk_gate2("usb_gate", "ahb", base + MXC_CCM_CGR1, 18); in _mx31_clocks_init() 122 clk[emi_gate] = imx_clk_gate2("emi_gate", "ahb", base + MXC_CCM_CGR2, 8); in _mx31_clocks_init() 123 clk[rtic_gate] = imx_clk_gate2("rtic_gate", "ahb", base + MXC_CCM_CGR2, 10); in _mx31_clocks_init()
|
/kernel/linux/linux-6.6/drivers/clk/imx/ |
H A D | clk-imx35.c | 33 unsigned char arm, ahb, sel; member 37 { .arm = 1, .ahb = 4, .sel = 0}, 38 { .arm = 1, .ahb = 3, .sel = 1}, 39 { .arm = 2, .ahb = 2, .sel = 0}, 40 { .arm = 0, .ahb = 0, .sel = 0}, 41 { .arm = 0, .ahb = 0, .sel = 0}, 42 { .arm = 0, .ahb = 0, .sel = 0}, 43 { .arm = 4, .ahb = 1, .sel = 0}, 44 { .arm = 1, .ahb = 5, .sel = 0}, 45 { .arm = 1, .ahb 64 /* 0 */ ckih, mpll, ppll, mpll_075, arm, hsp, hsp_div, hsp_sel, ahb, global() enumerator [all...] |
H A D | clk-imx25.c | 47 static const char *per_sel_clks[] = { "ahb", "upll", }; 48 static const char *cko_sel_clks[] = { "dummy", "osc", "cpu", "ahb", 54 dummy, osc, mpll, upll, mpll_cpu_3_4, cpu_sel, cpu, ahb, usb_div, ipg, enumerator 87 clk[ahb] = imx_clk_divider("ahb", "cpu", ccm(CCM_CCTL), 28, 2); in __mx25_clocks_init() 89 clk[ipg] = imx_clk_fixed_factor("ipg", "ahb", 1, 2); in __mx25_clocks_init() 141 clk[ata_ahb] = imx_clk_gate("ata_ahb", "ahb", ccm(CCM_CGCR0), 16); in __mx25_clocks_init() 143 clk[csi_ahb] = imx_clk_gate("csi_ahb", "ahb", ccm(CCM_CGCR0), 18); in __mx25_clocks_init() 144 clk[emi_ahb] = imx_clk_gate("emi_ahb", "ahb", ccm(CCM_CGCR0), 19); in __mx25_clocks_init() 145 clk[esai_ahb] = imx_clk_gate("esai_ahb", "ahb", cc in __mx25_clocks_init() [all...] |
H A D | clk-imx31.c | 39 dummy, ckih, ckil, mpll, spll, upll, mcu_main, hsp, ahb, nfc, ipg, enumerator 63 clk[ahb] = imx_clk_divider("ahb", "mcu_main", base + MXC_CCM_PDR0, 3, 3); in _mx31_clocks_init() 64 clk[nfc] = imx_clk_divider("nfc", "ahb", base + MXC_CCM_PDR0, 8, 3); in _mx31_clocks_init() 65 clk[ipg] = imx_clk_divider("ipg", "ahb", base + MXC_CCM_PDR0, 6, 2); in _mx31_clocks_init() 82 clk[sdma_gate] = imx_clk_gate2("sdma_gate", "ahb", base + MXC_CCM_CGR0, 14); in _mx31_clocks_init() 100 clk[usb_gate] = imx_clk_gate2("usb_gate", "ahb", base + MXC_CCM_CGR1, 18); in _mx31_clocks_init() 111 clk[emi_gate] = imx_clk_gate2("emi_gate", "ahb", base + MXC_CCM_CGR2, 8); in _mx31_clocks_init() 112 clk[rtic_gate] = imx_clk_gate2("rtic_gate", "ahb", base + MXC_CCM_CGR2, 10); in _mx31_clocks_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/ |
H A D | dp_parser.c | 43 dss->ahb.base = dp_ioremap(pdev, 0, &dss->ahb.len); in dp_parser_ctrl_res() 44 if (IS_ERR(dss->ahb.base)) in dp_parser_ctrl_res() 45 return PTR_ERR(dss->ahb.base); in dp_parser_ctrl_res() 57 if (dss->ahb.len < DP_DEFAULT_P0_OFFSET + DP_DEFAULT_P0_SIZE) { in dp_parser_ctrl_res() 62 dss->ahb.len = DP_DEFAULT_AHB_SIZE; in dp_parser_ctrl_res() 63 dss->aux.base = dss->ahb.base + DP_DEFAULT_AUX_OFFSET; in dp_parser_ctrl_res() 65 dss->link.base = dss->ahb.base + DP_DEFAULT_LINK_OFFSET; in dp_parser_ctrl_res() 67 dss->p0.base = dss->ahb.base + DP_DEFAULT_P0_OFFSET; in dp_parser_ctrl_res()
|
H A D | dp_parser.h | 34 struct dss_io_region ahb; member
|
H A D | dp_catalog.c | 73 msm_disp_snapshot_add_block(disp_state, dss->ahb.len, dss->ahb.base, "dp_ahb"); in dp_catalog_snapshot() 96 return readl_relaxed(catalog->io->dp_controller.ahb.base + offset); in dp_read_ahb() 106 writel(data, catalog->io->dp_controller.ahb.base + offset); in dp_write_ahb() 294 dump_regs(io->ahb.base, io->ahb.len); in dp_catalog_dump_regs()
|
/kernel/linux/linux-6.6/drivers/char/hw_random/ |
H A D | jh7110-trng.c | 99 struct clk *ahb; member 242 clk_disable_unprepare(trng->ahb); in starfive_trng_cleanup() 311 trng->ahb = devm_clk_get(&pdev->dev, "ahb"); in starfive_trng_probe() 312 if (IS_ERR(trng->ahb)) in starfive_trng_probe() 313 return dev_err_probe(&pdev->dev, PTR_ERR(trng->ahb), in starfive_trng_probe() 314 "Error getting ahb reference clock\n"); in starfive_trng_probe() 322 clk_prepare_enable(trng->ahb); in starfive_trng_probe() 343 clk_disable_unprepare(trng->ahb); in starfive_trng_probe() 357 clk_disable_unprepare(trng->ahb); in starfive_trng_suspend() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/starfive/ |
H A D | jh7110-cryp.c | 152 cryp->ahb = devm_clk_get(&pdev->dev, "ahb"); in starfive_cryp_probe() 153 if (IS_ERR(cryp->ahb)) in starfive_cryp_probe() 154 return dev_err_probe(&pdev->dev, PTR_ERR(cryp->ahb), in starfive_cryp_probe() 155 "Error getting ahb reference clock\n"); in starfive_cryp_probe() 175 clk_prepare_enable(cryp->ahb); in starfive_cryp_probe() 227 clk_disable_unprepare(cryp->ahb); in starfive_cryp_probe() 257 clk_disable_unprepare(cryp->ahb); in starfive_cryp_remove()
|
/kernel/linux/linux-5.10/include/soc/tegra/ |
H A D | ahb.h | 9 extern int tegra_ahb_enable_smmu(struct device_node *ahb);
|
/kernel/linux/linux-6.6/include/soc/tegra/ |
H A D | ahb.h | 9 extern int tegra_ahb_enable_smmu(struct device_node *ahb);
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | Makefile | 28 ath11k_ahb-y += ahb.o
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | Makefile | 30 ath10k_pci-$(CONFIG_ATH10K_AHB) += ahb.o
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | Makefile | 30 ath10k_pci-$(CONFIG_ATH10K_AHB) += ahb.o
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | Makefile | 30 ath11k_ahb-y += ahb.o
|
/kernel/linux/linux-5.10/sound/soc/samsung/ |
H A D | idma.c | 147 u32 ahb = readl(idma.regs + I2SAHB); in idma_hw_params() local 149 ahb |= (AHB_DMARLD | AHB_INTMASK); in idma_hw_params() 151 writel(ahb, idma.regs + I2SAHB); in idma_hw_params()
|
/kernel/linux/linux-6.6/sound/soc/samsung/ |
H A D | idma.c | 147 u32 ahb = readl(idma.regs + I2SAHB); in idma_hw_params() local 149 ahb |= (AHB_DMARLD | AHB_INTMASK); in idma_hw_params() 151 writel(ahb, idma.regs + I2SAHB); in idma_hw_params()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | tegra-smmu.c | 18 #include <soc/tegra/ahb.h> 993 { .compatible = "nvidia,tegra30-ahb", }, in tegra_smmu_ahb_enable() 996 struct device_node *ahb; in tegra_smmu_ahb_enable() local 998 ahb = of_find_matching_node(NULL, ahb_match); in tegra_smmu_ahb_enable() 999 if (ahb) { in tegra_smmu_ahb_enable() 1000 tegra_ahb_enable_smmu(ahb); in tegra_smmu_ahb_enable() 1001 of_node_put(ahb); in tegra_smmu_ahb_enable()
|
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | tegra-smmu.c | 19 #include <soc/tegra/ahb.h> 984 { .compatible = "nvidia,tegra30-ahb", }, in tegra_smmu_ahb_enable() 987 struct device_node *ahb; in tegra_smmu_ahb_enable() local 989 ahb = of_find_matching_node(NULL, ahb_match); in tegra_smmu_ahb_enable() 990 if (ahb) { in tegra_smmu_ahb_enable() 991 tegra_ahb_enable_smmu(ahb); in tegra_smmu_ahb_enable() 992 of_node_put(ahb); in tegra_smmu_ahb_enable()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | Makefile | 14 ath9k-$(CONFIG_ATH9K_AHB) += ahb.o
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | Makefile | 14 ath9k-$(CONFIG_ATH9K_AHB) += ahb.o
|