Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-srio.c804 uint64_t stop_cycle; in cvmx_srio_initialize()
812 stop_cycle = cvmx_clock_get_rate(CVMX_CLOCK_CORE)/4 + cvmx_clock_get_count(CVMX_CLOCK_CORE); in cvmx_srio_initialize()
818 …hile (!sriomaintx_port_0_err_stat.s.pt_ok && (cvmx_clock_get_count(CVMX_CLOCK_CORE) < stop_cycle)); in cvmx_srio_initialize()
833stop_cycle = cvmx_clock_get_rate(CVMX_CLOCK_CORE)/8 + cvmx_clock_get_count(CVMX_CLOCK_CORE); in cvmx_srio_initialize()
838 } while (!link_resp.s.valid && (cvmx_clock_get_count(CVMX_CLOCK_CORE) < stop_cycle)); in cvmx_srio_initialize()
896 uint64_t stop_cycle; in cvmx_srio_config_read32() local
960stop_cycle = cvmx_clock_get_rate(CVMX_CLOCK_CORE)/10 + cvmx_clock_get_count(CVMX_CLOCK_CORE); in cvmx_srio_config_read32()
964 if ((return_code == 0) && (cvmx_clock_get_count(CVMX_CLOCK_CORE) > stop_cycle)) in cvmx_srio_config_read32()
1066 uint64_t stop_cycle; in cvmx_srio_config_write32() local
1160stop_cycle = cvmx_clock_get_rate(CVMX_CLOCK_CORE)/10 + cvmx_clock_get_count(CVMX_CLOCK_CORE); in cvmx_srio_config_write32()
[all …]
H A Dcvmx-helper.c1365 uint64_t start_cycle, stop_cycle; in cvmx_helper_wait_pko_queue_drain() local
1369 stop_cycle = start_cycle + cvmx_clock_get_rate(CVMX_CLOCK_CORE) * timeout; in cvmx_helper_wait_pko_queue_drain()
1370 while (count && (cvmx_get_cycle() < stop_cycle)) in cvmx_helper_wait_pko_queue_drain()
1568 uint64_t stop_cycle; in cvmx_helper_shutdown_packet_io_global() local
1594 stop_cycle = start_cycle + cvmx_clock_get_rate(CVMX_CLOCK_CORE) * timeout; in cvmx_helper_shutdown_packet_io_global()
1596 (cvmx_get_cycle() < stop_cycle)) in cvmx_helper_shutdown_packet_io_global()