Lines Matching refs:data
2 ($data: expr) => {
3 unsafe { core::ptr::read_volatile(core::ptr::addr_of!($data)) }
8 ($data: expr, $value: expr) => {
9 unsafe { core::ptr::write_volatile(core::ptr::addr_of_mut!($data), $value) }
17 ($data: expr, $val: expr, $flag: expr) => {
19 $data,
21 true => core::ptr::read_volatile(core::ptr::addr_of!($data)) | $val,
22 false => core::ptr::read_volatile(core::ptr::addr_of!($data)) & (!$val),
33 ($data: expr, $bits: expr, $val: expr) => {
34 volatile_set_bit!($data, $bits, false);
35 volatile_set_bit!($data, ($val) & ($bits), true);