Home
last modified time | relevance | path

Searched refs:octeon_get_io_clock_rate (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/spi/
Dspi-cavium-octeon.c39 p->sys_freq = octeon_get_io_clock_rate(); in octeon_spi_probe()
/Linux-v5.4/drivers/watchdog/
Docteon-wdt-main.c449 timeout_cnt = ((octeon_get_io_clock_rate() / divisor) * timeout_sec) >> 8; in octeon_wdt_calc_parameters()
548 timeout_cnt = ((octeon_get_io_clock_rate() / divisor) * max_timeout_sec) >> 8; in octeon_wdt_init()
/Linux-v5.4/drivers/ata/
Dpata_octeon_cf.c82 val = DIV_ROUND_UP(nsecs * (octeon_get_io_clock_rate() / 1000000), in ns_to_tim_reg()
147 if (octeon_get_io_clock_rate() <= 800000000) in octeon_cf_set_piomode()
151 T = (int)((1000000000000LL * div) / octeon_get_io_clock_rate()); in octeon_cf_set_piomode()
243 (octeon_get_io_clock_rate() / 1000000); /* Tz */ in octeon_cf_set_dmamode()
/Linux-v5.4/arch/mips/cavium-octeon/
Doct_ilm.c85 li->io_interval = (octeon_get_io_clock_rate() * interval) / 1000; in init_latency_info()
Docteon-platform.c74 io_clk_64_to_ns = 64000000000ull / octeon_get_io_clock_rate(); in octeon2_usb_clocks_start()
158 div = octeon_get_io_clock_rate() / 130000000ull; in octeon2_usb_clocks_start()
907 f = cpu_to_be32(octeon_get_io_clock_rate()); in octeon_prune_device_tree()
Dsetup.c342 u64 octeon_get_io_clock_rate(void) in octeon_get_io_clock_rate() function
346 EXPORT_SYMBOL(octeon_get_io_clock_rate);
Docteon-usb.c372 h_clk_rate = octeon_get_io_clock_rate() / clk_div[div]; in dwc3_octeon_clocks_start()
/Linux-v5.4/drivers/i2c/busses/
Di2c-octeon-platdrv.c190 i2c->sys_freq = octeon_get_io_clock_rate(); in octeon_i2c_probe()
/Linux-v5.4/arch/mips/include/asm/octeon/
Docteon.h39 extern u64 octeon_get_io_clock_rate(void);
/Linux-v5.4/drivers/mmc/host/
Dcavium-octeon.c175 host->sys_freq = octeon_get_io_clock_rate(); in octeon_mmc_probe()
/Linux-v5.4/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c713 u64 clock_comp = (NSEC_PER_SEC << 32) / octeon_get_io_clock_rate(); in octeon_mgmt_ioctl_hwtstamp()