Lines Matching refs:device
36 struct device;
42 int (*cleanup)(const struct device *dev);
45 int (*enable)(const struct device *dev, struct net_if *iface);
48 int (*disable)(const struct device *dev);
52 bool (*is_enabled)(const struct device *dev);
55 int (*send)(const struct device *dev, struct net_if *iface, struct net_pkt *pkt);
76 const struct device **dev);
89 static inline int net_capture_cleanup(const struct device *dev) in net_capture_cleanup()
115 static inline int net_capture_enable(const struct device *dev, struct net_if *iface) in net_capture_enable()
138 static inline bool net_capture_is_enabled(const struct device *dev) in net_capture_is_enabled()
168 static inline int net_capture_disable(const struct device *dev) in net_capture_disable()
193 static inline int net_capture_send(const struct device *dev, struct net_if *iface, in net_capture_send()
337 const struct device *capture_dev;