Lines Matching refs:device

127 	const struct device *dev;
141 typedef int (*uhc_event_cb_t)(const struct device *dev,
193 static inline bool uhc_is_initialized(const struct device *dev) in uhc_is_initialized()
207 static inline bool uhc_is_enabled(const struct device *dev) in uhc_is_enabled()
218 int (*lock)(const struct device *dev);
219 int (*unlock)(const struct device *dev);
221 int (*init)(const struct device *dev);
222 int (*enable)(const struct device *dev);
223 int (*disable)(const struct device *dev);
224 int (*shutdown)(const struct device *dev);
226 int (*bus_reset)(const struct device *dev);
227 int (*sof_enable)(const struct device *dev);
228 int (*bus_suspend)(const struct device *dev);
229 int (*bus_resume)(const struct device *dev);
231 int (*ep_enqueue)(const struct device *dev,
233 int (*ep_dequeue)(const struct device *dev,
251 static inline int uhc_bus_reset(const struct device *dev) in uhc_bus_reset()
273 static inline int uhc_sof_enable(const struct device *dev) in uhc_sof_enable()
296 static inline int uhc_bus_suspend(const struct device *dev) in uhc_bus_suspend()
319 static inline int uhc_bus_resume(const struct device *dev) in uhc_bus_resume()
349 struct uhc_transfer *uhc_xfer_alloc(const struct device *dev,
375 struct uhc_transfer *uhc_xfer_alloc_with_buf(const struct device *dev,
395 int uhc_xfer_free(const struct device *dev,
409 int uhc_xfer_buf_add(const struct device *dev,
423 struct net_buf *uhc_xfer_buf_alloc(const struct device *dev,
434 void uhc_xfer_buf_free(const struct device *dev, struct net_buf *const buf);
448 int uhc_ep_enqueue(const struct device *dev, struct uhc_transfer *const xfer);
461 int uhc_ep_dequeue(const struct device *dev, struct uhc_transfer *const xfer);
475 int uhc_init(const struct device *dev, uhc_event_cb_t event_cb);
489 int uhc_enable(const struct device *dev);
501 int uhc_disable(const struct device *dev);
514 int uhc_shutdown(const struct device *dev);
526 static inline struct uhc_device_caps uhc_caps(const struct device *dev) in uhc_caps()