Home
last modified time | relevance | path

Searched refs:rst_boot (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/arch/mips/cavium-octeon/
Dcsrc-octeon.c42 union cvmx_mio_rst_boot rst_boot; in octeon_setup_delays() local
44 rst_boot.u64 = cvmx_read_csr(CVMX_MIO_RST_BOOT); in octeon_setup_delays()
45 rdiv = rst_boot.s.c_mul; /* CPU clock */ in octeon_setup_delays()
46 sdiv = rst_boot.s.pnr_mul; /* I/O clock */ in octeon_setup_delays()
49 union cvmx_rst_boot rst_boot; in octeon_setup_delays() local
51 rst_boot.u64 = cvmx_read_csr(CVMX_RST_BOOT); in octeon_setup_delays()
52 rdiv = rst_boot.s.c_mul; /* CPU clock */ in octeon_setup_delays()
53 sdiv = rst_boot.s.pnr_mul; /* I/O clock */ in octeon_setup_delays()
Dsetup.c718 union cvmx_mio_rst_boot rst_boot; in prom_init() local
719 rst_boot.u64 = cvmx_read_csr(CVMX_MIO_RST_BOOT); in prom_init()
720 octeon_io_clock_rate = 50000000 * rst_boot.s.pnr_mul; in prom_init()
723 union cvmx_rst_boot rst_boot; in prom_init() local
724 rst_boot.u64 = cvmx_read_csr(CVMX_RST_BOOT); in prom_init()
725 octeon_io_clock_rate = 50000000 * rst_boot.s.pnr_mul; in prom_init()