Lines Matching refs:Result
84 error::{from_err_ptr, to_result, Result},
109 /// use kernel::error::Result;
111 /// fn configure_clk(dev: &Device) -> Result {
137 pub fn get(dev: &Device, name: Option<&CStr>) -> Result<Self> {
160 pub fn enable(&self) -> Result {
184 pub fn prepare(&self) -> Result {
206 pub fn prepare_enable(&self) -> Result {
240 pub fn set_rate(&self, rate: Hertz) -> Result {
276 /// use kernel::error::Result;
278 /// fn configure_clk(dev: &Device) -> Result {
304 pub fn get(dev: &Device, name: Option<&CStr>) -> Result<Self> {