Lines Matching defs:usb_device
378 // `interface_to_usbdev()` guarantees to return a valid pointer to a `struct usb_device`.
407 /// This structure represents the Rust abstraction for a C [`struct usb_device`].
408 /// The implementation abstracts the usage of a C [`struct usb_device`] passed in
413 /// A [`Device`] instance represents a valid [`struct usb_device`] created by the C portion of the
416 /// [`struct usb_device`]: https://www.kernel.org/doc/html/latest/driver-api/usb/usb.html#c.usb_device
419 Opaque<bindings::usb_device>,
424 fn as_raw(&self) -> *mut bindings::usb_device {
438 // returns a valid `struct usb_device` pointer, for which we will
452 // `struct usb_device`.