Searched refs:smi_clk (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/arch/mips/include/asm/octeon/
H A Dcvmx-mdio.h271 union cvmx_smix_clk smi_clk; __cvmx_mdio_set_clause45_mode() local
273 smi_clk.u64 = cvmx_read_csr(CVMX_SMIX_CLK(bus_id)); __cvmx_mdio_set_clause45_mode()
274 smi_clk.s.mode = 1; __cvmx_mdio_set_clause45_mode()
275 smi_clk.s.preamble = 1; __cvmx_mdio_set_clause45_mode()
276 cvmx_write_csr(CVMX_SMIX_CLK(bus_id), smi_clk.u64); __cvmx_mdio_set_clause45_mode()
282 union cvmx_smix_clk smi_clk; __cvmx_mdio_set_clause22_mode() local
284 smi_clk.u64 = cvmx_read_csr(CVMX_SMIX_CLK(bus_id)); __cvmx_mdio_set_clause22_mode()
285 smi_clk.s.mode = 0; __cvmx_mdio_set_clause22_mode()
286 cvmx_write_csr(CVMX_SMIX_CLK(bus_id), smi_clk.u64); __cvmx_mdio_set_clause22_mode()
/linux-4.4.14/drivers/net/phy/
H A Dmdio-octeon.c137 union cvmx_smix_clk smi_clk; octeon_mdiobus_set_mode() local
142 smi_clk.u64 = oct_mdio_readq(p->register_base + SMI_CLK); octeon_mdiobus_set_mode()
143 smi_clk.s.mode = (m == C45) ? 1 : 0; octeon_mdiobus_set_mode()
144 smi_clk.s.preamble = 1; octeon_mdiobus_set_mode()
145 oct_mdio_writeq(smi_clk.u64, p->register_base + SMI_CLK); octeon_mdiobus_set_mode()
/linux-4.4.14/drivers/clk/spear/
H A Dspear6xx_clock.c311 clk = clk_register_gate(NULL, "smi_clk", "ahb_clk", 0, PERIP1_CLK_ENB, spear6xx_clk_init()
H A Dspear3xx_clock.c596 clk = clk_register_gate(NULL, "smi_clk", "ahb_clk", 0, PERIP1_CLK_ENB, spear3xx_clk_init()
H A Dspear1310_clock.c719 clk = clk_register_gate(NULL, "smi_clk", "ahb_clk", 0, spear1310_clk_init()
H A Dspear1340_clock.c816 clk = clk_register_gate(NULL, "smi_clk", "ahb_clk", 0, spear1340_clk_init()

Completed in 251 milliseconds