Searched refs:rcc (Results 1 – 3 of 3) sorted by relevance
314 struct rpm_cc *rcc = r->rpm_cc; in clk_rpm_xo_prepare() local318 mutex_lock(&rcc->xo_lock); in clk_rpm_xo_prepare()320 value = rcc->xo_buffer_value | (QCOM_RPM_XO_MODE_ON << r->xo_offset); in clk_rpm_xo_prepare()324 rcc->xo_buffer_value = value; in clk_rpm_xo_prepare()327 mutex_unlock(&rcc->xo_lock); in clk_rpm_xo_prepare()335 struct rpm_cc *rcc = r->rpm_cc; in clk_rpm_xo_unprepare() local339 mutex_lock(&rcc->xo_lock); in clk_rpm_xo_unprepare()341 value = rcc->xo_buffer_value & ~(QCOM_RPM_XO_MODE_ON << r->xo_offset); in clk_rpm_xo_unprepare()345 rcc->xo_buffer_value = value; in clk_rpm_xo_unprepare()348 mutex_unlock(&rcc->xo_lock); in clk_rpm_xo_unprepare()[all …]
625 struct rpm_cc *rcc = data; in qcom_smdrpm_clk_hw_get() local628 if (idx >= rcc->num_clks) { in qcom_smdrpm_clk_hw_get()633 return rcc->clks[idx] ? &rcc->clks[idx]->hw : ERR_PTR(-ENOENT); in qcom_smdrpm_clk_hw_get()638 struct rpm_cc *rcc; in rpm_smd_clk_probe() local658 rcc = devm_kzalloc(&pdev->dev, sizeof(*rcc), GFP_KERNEL); in rpm_smd_clk_probe()659 if (!rcc) in rpm_smd_clk_probe()662 rcc->clks = rpm_smd_clks; in rpm_smd_clk_probe()663 rcc->num_clks = num_clks; in rpm_smd_clk_probe()690 rcc); in rpm_smd_clk_probe()
3174 u16 rcc; in quirk_intel_mc_errata() local3185 err = pci_read_config_word(dev, 0x48, &rcc); in quirk_intel_mc_errata()3191 if (!(rcc & (1 << 10))) in quirk_intel_mc_errata()3194 rcc &= ~(1 << 10); in quirk_intel_mc_errata()3196 err = pci_write_config_word(dev, 0x48, rcc); in quirk_intel_mc_errata()