hipcie 80 drivers/pci/controller/dwc/pcie-histb.c struct histb_pcie *hipcie = to_histb_pcie(pci); hipcie 83 drivers/pci/controller/dwc/pcie-histb.c val = histb_pcie_readl(hipcie, PCIE_SYS_CTRL0); hipcie 88 drivers/pci/controller/dwc/pcie-histb.c histb_pcie_writel(hipcie, PCIE_SYS_CTRL0, val); hipcie 94 drivers/pci/controller/dwc/pcie-histb.c struct histb_pcie *hipcie = to_histb_pcie(pci); hipcie 97 drivers/pci/controller/dwc/pcie-histb.c val = histb_pcie_readl(hipcie, PCIE_SYS_CTRL1); hipcie 102 drivers/pci/controller/dwc/pcie-histb.c histb_pcie_writel(hipcie, PCIE_SYS_CTRL1, val); hipcie 153 drivers/pci/controller/dwc/pcie-histb.c struct histb_pcie *hipcie = to_histb_pcie(pci); hipcie 157 drivers/pci/controller/dwc/pcie-histb.c regval = histb_pcie_readl(hipcie, PCIE_SYS_STAT0); hipcie 158 drivers/pci/controller/dwc/pcie-histb.c status = histb_pcie_readl(hipcie, PCIE_SYS_STAT4); hipcie 170 drivers/pci/controller/dwc/pcie-histb.c struct histb_pcie *hipcie = to_histb_pcie(pci); hipcie 179 drivers/pci/controller/dwc/pcie-histb.c regval = histb_pcie_readl(hipcie, PCIE_SYS_CTRL0); hipcie 182 drivers/pci/controller/dwc/pcie-histb.c histb_pcie_writel(hipcie, PCIE_SYS_CTRL0, regval); hipcie 188 drivers/pci/controller/dwc/pcie-histb.c regval = histb_pcie_readl(hipcie, PCIE_SYS_CTRL7); hipcie 190 drivers/pci/controller/dwc/pcie-histb.c histb_pcie_writel(hipcie, PCIE_SYS_CTRL7, regval); hipcie 211 drivers/pci/controller/dwc/pcie-histb.c static void histb_pcie_host_disable(struct histb_pcie *hipcie) hipcie 213 drivers/pci/controller/dwc/pcie-histb.c reset_control_assert(hipcie->soft_reset); hipcie 214 drivers/pci/controller/dwc/pcie-histb.c reset_control_assert(hipcie->sys_reset); hipcie 215 drivers/pci/controller/dwc/pcie-histb.c reset_control_assert(hipcie->bus_reset); hipcie 217 drivers/pci/controller/dwc/pcie-histb.c clk_disable_unprepare(hipcie->aux_clk); hipcie 218 drivers/pci/controller/dwc/pcie-histb.c clk_disable_unprepare(hipcie->pipe_clk); hipcie 219 drivers/pci/controller/dwc/pcie-histb.c clk_disable_unprepare(hipcie->sys_clk); hipcie 220 drivers/pci/controller/dwc/pcie-histb.c clk_disable_unprepare(hipcie->bus_clk); hipcie 222 drivers/pci/controller/dwc/pcie-histb.c if (gpio_is_valid(hipcie->reset_gpio)) hipcie 223 drivers/pci/controller/dwc/pcie-histb.c gpio_set_value_cansleep(hipcie->reset_gpio, 0); hipcie 225 drivers/pci/controller/dwc/pcie-histb.c if (hipcie->vpcie) hipcie 226 drivers/pci/controller/dwc/pcie-histb.c regulator_disable(hipcie->vpcie); hipcie 232 drivers/pci/controller/dwc/pcie-histb.c struct histb_pcie *hipcie = to_histb_pcie(pci); hipcie 237 drivers/pci/controller/dwc/pcie-histb.c if (hipcie->vpcie) { hipcie 238 drivers/pci/controller/dwc/pcie-histb.c ret = regulator_enable(hipcie->vpcie); hipcie 245 drivers/pci/controller/dwc/pcie-histb.c if (gpio_is_valid(hipcie->reset_gpio)) hipcie 246 drivers/pci/controller/dwc/pcie-histb.c gpio_set_value_cansleep(hipcie->reset_gpio, 1); hipcie 248 drivers/pci/controller/dwc/pcie-histb.c ret = clk_prepare_enable(hipcie->bus_clk); hipcie 254 drivers/pci/controller/dwc/pcie-histb.c ret = clk_prepare_enable(hipcie->sys_clk); hipcie 260 drivers/pci/controller/dwc/pcie-histb.c ret = clk_prepare_enable(hipcie->pipe_clk); hipcie 266 drivers/pci/controller/dwc/pcie-histb.c ret = clk_prepare_enable(hipcie->aux_clk); hipcie 272 drivers/pci/controller/dwc/pcie-histb.c reset_control_assert(hipcie->soft_reset); hipcie 273 drivers/pci/controller/dwc/pcie-histb.c reset_control_deassert(hipcie->soft_reset); hipcie 275 drivers/pci/controller/dwc/pcie-histb.c reset_control_assert(hipcie->sys_reset); hipcie 276 drivers/pci/controller/dwc/pcie-histb.c reset_control_deassert(hipcie->sys_reset); hipcie 278 drivers/pci/controller/dwc/pcie-histb.c reset_control_assert(hipcie->bus_reset); hipcie 279 drivers/pci/controller/dwc/pcie-histb.c reset_control_deassert(hipcie->bus_reset); hipcie 284 drivers/pci/controller/dwc/pcie-histb.c clk_disable_unprepare(hipcie->pipe_clk); hipcie 286 drivers/pci/controller/dwc/pcie-histb.c clk_disable_unprepare(hipcie->sys_clk); hipcie 288 drivers/pci/controller/dwc/pcie-histb.c clk_disable_unprepare(hipcie->bus_clk); hipcie 290 drivers/pci/controller/dwc/pcie-histb.c if (hipcie->vpcie) hipcie 291 drivers/pci/controller/dwc/pcie-histb.c regulator_disable(hipcie->vpcie); hipcie 304 drivers/pci/controller/dwc/pcie-histb.c struct histb_pcie *hipcie; hipcie 314 drivers/pci/controller/dwc/pcie-histb.c hipcie = devm_kzalloc(dev, sizeof(*hipcie), GFP_KERNEL); hipcie 315 drivers/pci/controller/dwc/pcie-histb.c if (!hipcie) hipcie 322 drivers/pci/controller/dwc/pcie-histb.c hipcie->pci = pci; hipcie 328 drivers/pci/controller/dwc/pcie-histb.c hipcie->ctrl = devm_ioremap_resource(dev, res); hipcie 329 drivers/pci/controller/dwc/pcie-histb.c if (IS_ERR(hipcie->ctrl)) { hipcie 331 drivers/pci/controller/dwc/pcie-histb.c return PTR_ERR(hipcie->ctrl); hipcie 341 drivers/pci/controller/dwc/pcie-histb.c hipcie->vpcie = devm_regulator_get_optional(dev, "vpcie"); hipcie 342 drivers/pci/controller/dwc/pcie-histb.c if (IS_ERR(hipcie->vpcie)) { hipcie 343 drivers/pci/controller/dwc/pcie-histb.c if (PTR_ERR(hipcie->vpcie) != -ENODEV) hipcie 344 drivers/pci/controller/dwc/pcie-histb.c return PTR_ERR(hipcie->vpcie); hipcie 345 drivers/pci/controller/dwc/pcie-histb.c hipcie->vpcie = NULL; hipcie 348 drivers/pci/controller/dwc/pcie-histb.c hipcie->reset_gpio = of_get_named_gpio_flags(np, hipcie 352 drivers/pci/controller/dwc/pcie-histb.c if (gpio_is_valid(hipcie->reset_gpio)) { hipcie 353 drivers/pci/controller/dwc/pcie-histb.c ret = devm_gpio_request_one(dev, hipcie->reset_gpio, hipcie 361 drivers/pci/controller/dwc/pcie-histb.c hipcie->aux_clk = devm_clk_get(dev, "aux"); hipcie 362 drivers/pci/controller/dwc/pcie-histb.c if (IS_ERR(hipcie->aux_clk)) { hipcie 364 drivers/pci/controller/dwc/pcie-histb.c return PTR_ERR(hipcie->aux_clk); hipcie 367 drivers/pci/controller/dwc/pcie-histb.c hipcie->pipe_clk = devm_clk_get(dev, "pipe"); hipcie 368 drivers/pci/controller/dwc/pcie-histb.c if (IS_ERR(hipcie->pipe_clk)) { hipcie 370 drivers/pci/controller/dwc/pcie-histb.c return PTR_ERR(hipcie->pipe_clk); hipcie 373 drivers/pci/controller/dwc/pcie-histb.c hipcie->sys_clk = devm_clk_get(dev, "sys"); hipcie 374 drivers/pci/controller/dwc/pcie-histb.c if (IS_ERR(hipcie->sys_clk)) { hipcie 376 drivers/pci/controller/dwc/pcie-histb.c return PTR_ERR(hipcie->sys_clk); hipcie 379 drivers/pci/controller/dwc/pcie-histb.c hipcie->bus_clk = devm_clk_get(dev, "bus"); hipcie 380 drivers/pci/controller/dwc/pcie-histb.c if (IS_ERR(hipcie->bus_clk)) { hipcie 382 drivers/pci/controller/dwc/pcie-histb.c return PTR_ERR(hipcie->bus_clk); hipcie 385 drivers/pci/controller/dwc/pcie-histb.c hipcie->soft_reset = devm_reset_control_get(dev, "soft"); hipcie 386 drivers/pci/controller/dwc/pcie-histb.c if (IS_ERR(hipcie->soft_reset)) { hipcie 388 drivers/pci/controller/dwc/pcie-histb.c return PTR_ERR(hipcie->soft_reset); hipcie 391 drivers/pci/controller/dwc/pcie-histb.c hipcie->sys_reset = devm_reset_control_get(dev, "sys"); hipcie 392 drivers/pci/controller/dwc/pcie-histb.c if (IS_ERR(hipcie->sys_reset)) { hipcie 394 drivers/pci/controller/dwc/pcie-histb.c return PTR_ERR(hipcie->sys_reset); hipcie 397 drivers/pci/controller/dwc/pcie-histb.c hipcie->bus_reset = devm_reset_control_get(dev, "bus"); hipcie 398 drivers/pci/controller/dwc/pcie-histb.c if (IS_ERR(hipcie->bus_reset)) { hipcie 400 drivers/pci/controller/dwc/pcie-histb.c return PTR_ERR(hipcie->bus_reset); hipcie 411 drivers/pci/controller/dwc/pcie-histb.c hipcie->phy = devm_phy_get(dev, "phy"); hipcie 412 drivers/pci/controller/dwc/pcie-histb.c if (IS_ERR(hipcie->phy)) { hipcie 414 drivers/pci/controller/dwc/pcie-histb.c hipcie->phy = NULL; hipcie 420 drivers/pci/controller/dwc/pcie-histb.c phy_init(hipcie->phy); hipcie 425 drivers/pci/controller/dwc/pcie-histb.c platform_set_drvdata(pdev, hipcie); hipcie 444 drivers/pci/controller/dwc/pcie-histb.c struct histb_pcie *hipcie = platform_get_drvdata(pdev); hipcie 446 drivers/pci/controller/dwc/pcie-histb.c histb_pcie_host_disable(hipcie); hipcie 448 drivers/pci/controller/dwc/pcie-histb.c if (hipcie->phy) hipcie 449 drivers/pci/controller/dwc/pcie-histb.c phy_exit(hipcie->phy); hipcie 495 sound/soc/intel/skylake/skl-sst-ipc.c u32 hipcie, hipct, hipcte; hipcie 505 sound/soc/intel/skylake/skl-sst-ipc.c hipcie = sst_dsp_shim_read_unlocked(dsp, SKL_ADSP_REG_HIPCIE); hipcie 510 sound/soc/intel/skylake/skl-sst-ipc.c if (hipcie & SKL_ADSP_REG_HIPCIE_DONE) { hipcie 135 sound/soc/sof/intel/hda-ipc.c u32 hipcie; hipcie 143 sound/soc/sof/intel/hda-ipc.c hipcie = snd_sof_dsp_read(sdev, HDA_DSP_BAR, hipcie 150 sound/soc/sof/intel/hda-ipc.c if (hipcie & HDA_DSP_REG_HIPCIE_DONE) { hipcie 152 sound/soc/sof/intel/hda-ipc.c msg_ext = hipcie & HDA_DSP_REG_HIPCIE_MSG_MASK; hipcie 234 sound/soc/sof/intel/hda.c u32 hipcie; hipcie 241 sound/soc/sof/intel/hda.c hipcie = snd_sof_dsp_read(sdev, HDA_DSP_BAR, HDA_DSP_REG_HIPCIE); hipcie 249 sound/soc/sof/intel/hda.c hipcie, hipct, hipcctl);