Home
last modified time | relevance | path

Searched refs:misc_ctrl (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/soc/aspeed/
Daspeed-p2a-ctrl.c334 struct aspeed_p2a_ctrl *misc_ctrl; in aspeed_p2a_ctrl_probe() local
342 misc_ctrl = devm_kzalloc(dev, sizeof(*misc_ctrl), GFP_KERNEL); in aspeed_p2a_ctrl_probe()
343 if (!misc_ctrl) in aspeed_p2a_ctrl_probe()
346 mutex_init(&misc_ctrl->tracking); in aspeed_p2a_ctrl_probe()
358 misc_ctrl->mem_size = resource_size(&resm); in aspeed_p2a_ctrl_probe()
359 misc_ctrl->mem_base = resm.start; in aspeed_p2a_ctrl_probe()
362 misc_ctrl->regmap = syscon_node_to_regmap(pdev->dev.parent->of_node); in aspeed_p2a_ctrl_probe()
363 if (IS_ERR(misc_ctrl->regmap)) { in aspeed_p2a_ctrl_probe()
368 misc_ctrl->config = of_device_get_match_data(dev); in aspeed_p2a_ctrl_probe()
370 dev_set_drvdata(&pdev->dev, misc_ctrl); in aspeed_p2a_ctrl_probe()
[all …]
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
Despi.c37 u32 misc_ctrl; member
264 espi->misc_ctrl = readl(adapter->regs + A_ESPI_MISC_CONTROL); in t1_espi_init()
265 espi->misc_ctrl &= ~MON_MASK; in t1_espi_init()
266 espi->misc_ctrl |= F_MONITORED_DIRECTION; in t1_espi_init()
268 espi->misc_ctrl |= F_MONITORED_INTERFACE; in t1_espi_init()
269 writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL); in t1_espi_init()
298 espi->misc_ctrl = (val & ~MON_MASK) |
299 (espi->misc_ctrl & MON_MASK);
300 writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL);
320 if ((sel != (espi->misc_ctrl & MON_MASK))) { in t1_espi_get_mon()
[all …]
/linux-6.6.21/drivers/mmc/host/
Dsdhci-tegra.c370 u32 misc_ctrl, clk_ctrl, pad_ctrl; in tegra_sdhci_reset() local
379 misc_ctrl = sdhci_readl(host, SDHCI_TEGRA_VENDOR_MISC_CTRL); in tegra_sdhci_reset()
382 misc_ctrl &= ~(SDHCI_MISC_CTRL_ENABLE_SDHCI_SPEC_300 | in tegra_sdhci_reset()
393 misc_ctrl |= SDHCI_MISC_CTRL_ENABLE_SDHCI_SPEC_300; in tegra_sdhci_reset()
396 misc_ctrl |= SDHCI_MISC_CTRL_ENABLE_SDR50; in tegra_sdhci_reset()
398 misc_ctrl |= SDHCI_MISC_CTRL_ENABLE_DDR50; in tegra_sdhci_reset()
400 misc_ctrl |= SDHCI_MISC_CTRL_ENABLE_SDR104; in tegra_sdhci_reset()
407 sdhci_writel(host, misc_ctrl, SDHCI_TEGRA_VENDOR_MISC_CTRL); in tegra_sdhci_reset()
/linux-6.6.21/drivers/iommu/
Dmtk_iommu.c185 u32 misc_ctrl; member
1428 reg->misc_ctrl = readl_relaxed(base + REG_MMU_MISC_CTRL); in mtk_iommu_runtime_suspend()
1467 writel_relaxed(reg->misc_ctrl, base + REG_MMU_MISC_CTRL); in mtk_iommu_runtime_resume()
/linux-6.6.21/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c743 u32 misc_ctrl; in atl1c_patch_assign() local
764 pci_read_config_dword(pdev, REG_PCIE_IND_ACC_DATA, &misc_ctrl); in atl1c_patch_assign()
765 misc_ctrl &= ~0x100; in atl1c_patch_assign()
768 pci_write_config_dword(pdev, REG_PCIE_IND_ACC_DATA, misc_ctrl); in atl1c_patch_assign()