Home
last modified time | relevance | path

Searched refs:to_result (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/rust/kernel/net/phy/
H A Dreg.rs113 to_result(ret)?; in read()
122 to_result(unsafe { in write()
132 to_result(ret)?; in read_status()
203 to_result(ret)?; in read()
211 to_result(unsafe { in write()
221 to_result(ret)?; in read_status()
/linux-6.15/rust/kernel/net/
H A Dphy.rs219 to_result(unsafe { bindings::genphy_soft_reset(phydev) }) in genphy_soft_reset()
227 to_result(unsafe { bindings::phy_init_hw(phydev) }) in init_hw()
235 to_result(unsafe { bindings::_phy_start_aneg(phydev) }) in start_aneg()
243 to_result(unsafe { bindings::genphy_resume(phydev) }) in genphy_resume()
251 to_result(unsafe { bindings::genphy_suspend(phydev) }) in genphy_suspend()
264 to_result(unsafe { bindings::genphy_update_link(phydev) }) in genphy_update_link()
272 to_result(unsafe { bindings::genphy_read_lpa(phydev) }) in genphy_read_lpa()
280 to_result(unsafe { bindings::genphy_read_abilities(phydev) }) in genphy_read_abilities()
671 to_result(unsafe { in register()
/linux-6.15/rust/kernel/
H A Dsecurity.rs11 error::{to_result, Result},
32 to_result(unsafe { bindings::security_secid_to_secctx(secid, &mut ctx) })?; in from_secid()
H A Dplatform.rs9 error::{to_result, Result},
50 to_result(unsafe { bindings::__platform_driver_register(pdrv.get(), module.0) }) in register()
H A Dpci.rs13 error::{to_result, Result},
49 to_result(unsafe { in register()
415 to_result(unsafe { bindings::pci_enable_device_mem(self.as_raw()) }) in enable_device_mem()
H A Dmiscdevice.rs14 error::{to_result, Error, Result, VTABLE_DEFAULT_ERROR},
76 to_result(unsafe { bindings::misc_register(slot) }) in register()
H A Derror.rs379 pub fn to_result(err: crate::ffi::c_int) -> Result { in to_result() function
/linux-6.15/rust/kernel/block/mq/
H A Dtag_set.rs66 error::to_result( unsafe { bindings::blk_mq_alloc_tag_set(tag_set.get())}) in new()
H A Dgen_disk.rs156 crate::error::to_result( in build()