Home
last modified time | relevance | path

Searched refs:pciclk (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/arch/mips/pci/
Dpci-tx4938.c22 int pciclk = 0; in tx4938_report_pciclk() local
32 pciclk = txx9_cpu_clock / 4; break; in tx4938_report_pciclk()
34 pciclk = txx9_cpu_clock * 2 / 9; break; in tx4938_report_pciclk()
36 pciclk = txx9_cpu_clock / 5; break; in tx4938_report_pciclk()
38 pciclk = txx9_cpu_clock * 2 / 11; break; in tx4938_report_pciclk()
40 pciclk = txx9_cpu_clock / 8; break; in tx4938_report_pciclk()
42 pciclk = txx9_cpu_clock / 9; break; in tx4938_report_pciclk()
44 pciclk = txx9_cpu_clock / 10; break; in tx4938_report_pciclk()
46 pciclk = txx9_cpu_clock / 11; break; in tx4938_report_pciclk()
49 (pciclk + 50000) / 1000000, in tx4938_report_pciclk()
[all …]
Dpci-tx4927.c22 int pciclk = 0; in tx4927_report_pciclk() local
32 pciclk = txx9_cpu_clock * 2 / 5; break; in tx4927_report_pciclk()
34 pciclk = txx9_cpu_clock / 3; break; in tx4927_report_pciclk()
36 pciclk = txx9_cpu_clock / 5; break; in tx4927_report_pciclk()
38 pciclk = txx9_cpu_clock / 6; break; in tx4927_report_pciclk()
41 (pciclk + 50000) / 1000000, in tx4927_report_pciclk()
42 ((pciclk + 50000) / 100000) % 10); in tx4927_report_pciclk()
45 pciclk = -1; in tx4927_report_pciclk()
48 return pciclk; in tx4927_report_pciclk()
53 int pciclk; in tx4927_pciclk66_setup() local
[all …]
Dpci-tx4939.c22 int pciclk = 0; in tx4939_report_pciclk() local
28 pciclk = txx9_master_clock * 20 / 6; in tx4939_report_pciclk()
30 pciclk /= 2; in tx4939_report_pciclk()
32 (pciclk + 50000) / 1000000, in tx4939_report_pciclk()
33 ((pciclk + 50000) / 100000) % 10); in tx4939_report_pciclk()
36 pciclk = -1; in tx4939_report_pciclk()
39 return pciclk; in tx4939_report_pciclk()
44 unsigned int pciclk = txx9_master_clock * 20 / 6; in tx4939_report_pci1clk() local
47 (pciclk + 50000) / 1000000, in tx4939_report_pci1clk()
48 ((pciclk + 50000) / 100000) % 10); in tx4939_report_pci1clk()
/Linux-v5.10/drivers/clk/
Dclk-gemini.c122 struct clk_gemini_pci *pciclk = to_pciclk(hw); in gemini_pci_recalc_rate() local
125 regmap_read(pciclk->map, GEMINI_GLOBAL_MISC_CONTROL, &val); in gemini_pci_recalc_rate()
143 struct clk_gemini_pci *pciclk = to_pciclk(hw); in gemini_pci_set_rate() local
146 return regmap_update_bits(pciclk->map, in gemini_pci_set_rate()
150 return regmap_update_bits(pciclk->map, in gemini_pci_set_rate()
158 struct clk_gemini_pci *pciclk = to_pciclk(hw); in gemini_pci_enable() local
160 regmap_update_bits(pciclk->map, GEMINI_GLOBAL_CLOCK_CONTROL, in gemini_pci_enable()
167 struct clk_gemini_pci *pciclk = to_pciclk(hw); in gemini_pci_disable() local
169 regmap_update_bits(pciclk->map, GEMINI_GLOBAL_CLOCK_CONTROL, in gemini_pci_disable()
175 struct clk_gemini_pci *pciclk = to_pciclk(hw); in gemini_pci_is_enabled() local
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dintegratorap.dts126 pciclk: pciclk@24M { label
163 clocks = <&pciclk>;
/Linux-v5.10/Documentation/devicetree/bindings/pci/
Dv3-v360epc-pci.txt41 clocks = <&pciclk>;