Searched refs:stop_cycle (Results 1 – 2 of 2) sorted by relevance
804 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()833 … stop_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() local960 … stop_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() local1160 … stop_cycle = cvmx_clock_get_rate(CVMX_CLOCK_CORE)/10 + cvmx_clock_get_count(CVMX_CLOCK_CORE); in cvmx_srio_config_write32()[all …]
1365 uint64_t start_cycle, stop_cycle; in cvmx_helper_wait_pko_queue_drain() local1369 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() local1594 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()