Lines Matching refs:value
8 ($data: expr, $value: expr) => {
9 unsafe { core::ptr::write_volatile(core::ptr::addr_of_mut!($data), $value) }
76 pub fn new(value: T) -> Self { in new()
77 Self(value) in new()
94 pub fn new(value: T) -> Self { in new()
95 Self(value) in new()
120 unsafe fn vwrite(self, value: T); in vwrite()
124 unsafe fn vwrite(self, value: T) { in vwrite()
125 (self as *mut T).write_volatile(value) in vwrite()
130 unsafe fn vwrite(self, value: T) { in vwrite()
131 (self as *mut T).write_volatile(value) in vwrite()
168 ($nonnull:expr, $field:ident, $value:expr) => {
169 VolatileWritable::vwrite(core::ptr::addr_of_mut!((*$nonnull.as_ptr()).$field), $value)