Lines Matching defs:Device
253 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
271 fn new(pdev: &Device, num: u32, name: &CStr) -> Result<Self> { in new()
324 unsafe fn do_release(pdev: &Device, ioptr: usize, num: i32) { in do_release()
363 impl Device { impl
411 impl Device<device::Core> { impl
425 impl Deref for Device<device::Core> { implementation
446 unsafe impl crate::types::AlwaysRefCounted for Device { implementation
458 impl AsRef<device::Device> for Device { implementation
459 fn as_ref(&self) -> &device::Device { in as_ref()
470 unsafe impl Send for Device {} implementation
474 unsafe impl Sync for Device {} implementation