Lines Matching defs:i32
95 // CAST: The offset is cast to `i32` because the C functions expect a 32-bit
97 // so the value always fits within `i32` without truncation or sign change.
98 unsafe { bindings::$read_fn(self.pdev.as_raw(), address as i32, &mut val) };
107 // CAST: The offset is cast to `i32` because the C functions expect a 32-bit
109 // so the value always fits within `i32` without truncation or sign change.
110 unsafe { bindings::$write_fn(self.pdev.as_raw(), address as i32, value) };
151 num: i32,
165 // Convert to `i32`, since that's what all the C bindings use.
166 let num = i32::try_from(num)?;
208 unsafe fn do_release(pdev: &Device, ioptr: usize, num: i32) {