Home
last modified time | relevance | path

Searched refs:rcc (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/clk/qcom/
Dclk-rpm.c314 struct rpm_cc *rcc = r->rpm_cc; in clk_rpm_xo_prepare() local
318 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() local
339 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 …]
Dclk-smd-rpm.c625 struct rpm_cc *rcc = data; in qcom_smdrpm_clk_hw_get() local
628 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() local
658 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()
/linux-4.19.296/drivers/pci/
Dquirks.c3174 u16 rcc; in quirk_intel_mc_errata() local
3185 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()