Searched refs:clk_by_index (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.7.0/tests/net/ptp/clock/src/ |
D | main.c | 414 const struct device *clk_by_index; in test_ptp_clock_interfaces() local 432 clk_by_index = net_eth_get_ptp_clock_by_index(ptp_clocks[0]); in test_ptp_clock_interfaces() 433 zassert_not_null(clk_by_index, in test_ptp_clock_interfaces() 489 const struct device *clk, *clk_by_index; in test_ptp_clock_get_by_index() local 499 clk_by_index = net_eth_get_ptp_clock_by_index(ptp_clocks[0]); in test_ptp_clock_get_by_index() 500 zassert_not_null(clk_by_index, "PTP 0 not found"); in test_ptp_clock_get_by_index() 502 zassert_equal(clk, clk_by_index, "Interface index %d invalid", idx); in test_ptp_clock_get_by_index() 511 clk_by_index = net_eth_get_ptp_clock_by_index(ptp_clocks[1]); in test_ptp_clock_get_by_index() 512 zassert_not_null(clk_by_index, "PTP 1 not found"); in test_ptp_clock_get_by_index() 514 zassert_equal(clk, clk_by_index, "Interface index %d invalid", idx); in test_ptp_clock_get_by_index() [all …]
|