Lines Matching refs:device
82 const struct device *ptp_clock;
91 const struct device *dev = net_if_get_device(iface); in eth_iface_init()
101 static int eth_tx(const struct device *dev, struct net_pkt *pkt) in eth_tx()
122 static enum ethernet_hw_caps eth_capabilities(const struct device *dev) in eth_capabilities()
127 static const struct device *eth_get_ptp_clock(const struct device *dev) in eth_get_ptp_clock()
153 static int eth_init(const struct device *dev) in eth_init()
187 static int my_ptp_clock_set(const struct device *dev, struct net_ptp_time *tm) in my_ptp_clock_set()
201 static int my_ptp_clock_get(const struct device *dev, struct net_ptp_time *tm) in my_ptp_clock_get()
211 static int my_ptp_clock_adjust(const struct device *dev, int increment) in my_ptp_clock_adjust()
221 static int my_ptp_clock_rate_adjust(const struct device *dev, double ratio) in my_ptp_clock_rate_adjust()
236 static int ptp_test_1_init(const struct device *port) in ptp_test_1_init()
238 const struct device *const eth_dev = DEVICE_GET(eth3_test); in ptp_test_1_init()
252 static int ptp_test_2_init(const struct device *port) in ptp_test_2_init()
254 const struct device *const eth_dev = DEVICE_GET(eth2_test); in ptp_test_2_init()
308 const struct device *clk; in iface_cb()
414 const struct device *clk_by_index; in test_ptp_clock_interfaces()
415 const struct device *clk; in test_ptp_clock_interfaces()
445 const struct device *clk; in test_ptp_clock_iface()
484 static ZTEST_BMEM const struct device *clk0;
485 static ZTEST_BMEM const struct device *clk1;
489 const struct device *clk, *clk_by_index; in test_ptp_clock_get_by_index()
519 const struct device *clk_by_index; in test_ptp_clock_get_by_index_user()
535 const struct device *clk_by_index; in test_ptp_clock_get_by_xxx()
551 const struct device *clk; in test_ptp_clock_get_kernel()
568 const struct device *clk; in setup()