| /drivers/net/phy/ |
| A D | ax88796b_rust.rs | 34 fn asix_soft_reset(dev: &mut phy::Device) -> Result { in asix_soft_reset() argument 50 fn read_status(dev: &mut phy::Device) -> Result<u16> { in read_status() 81 fn suspend(dev: &mut phy::Device) -> Result { in suspend() argument 85 fn resume(dev: &mut phy::Device) -> Result { in resume() argument 89 fn soft_reset(dev: &mut phy::Device) -> Result { in soft_reset() argument 111 fn suspend(dev: &mut phy::Device) -> Result { in suspend() argument 115 fn resume(dev: &mut phy::Device) -> Result { in resume() argument 119 fn soft_reset(dev: &mut phy::Device) -> Result { in soft_reset() argument 131 fn soft_reset(dev: &mut phy::Device) -> Result { in soft_reset() argument
|
| A D | qt2025.rs | 42 fn probe(dev: &mut phy::Device) -> Result<()> { in probe() argument 100 fn read_status(dev: &mut phy::Device) -> Result<u16> { in read_status()
|
| /drivers/gpu/nova-core/ |
| A D | vbios.rs | 10 use kernel::error::Result; 60 fn read_more(&mut self, len: usize) -> Result { in read_more() argument 113 ) -> Result<BiosImage> { in read_bios_image_at_offset() 139 type Item = Result<BiosImage>; 367 fn new(data: &[u8]) -> Result<Self> { in new() 737 fn try_from(base: BiosImageBase) -> Result<Self> { in try_from() 771 fn into_image(self) -> Result<BiosImage> { in into_image() 880 fn try_from(base: BiosImageBase) -> Result<Self> { in try_from() 903 fn new(data: &[u8]) -> Result<Self> { in new() 1003 ) -> Result { in setup_falcon_data() argument [all …]
|
| A D | falcon.rs | 54 fn try_from(value: u8) -> Result<Self> { in try_from() 89 fn try_from(value: u8) -> Result<Self> { in try_from() 133 fn try_from(value: u8) -> Result<Self> { in try_from() 165 fn try_from(value: u8) -> Result<Self> { in try_from() 187 fn try_from(value: u8) -> Result<Self> { in try_from() 244 fn try_from(value: u8) -> Result<Self> { in try_from() 345 ) -> Result<Self> { in new() 381 fn reset_eng(&self, bar: &Bar0) -> Result { in reset_eng() argument 432 ) -> Result { in dma_wr() argument 537 ) -> Result<(u32, u32)> { in boot() [all …]
|
| A D | gpu.rs | 44 fn try_from(value: u32) -> Result<Self, Self::Error> { 101 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument 117 fn try_from(value: u8) -> Result<Self> { in try_from() 142 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() argument 155 fn new(bar: &Bar0) -> Result<Spec> { in new() 198 ) -> Result<()> { in run_fwsec_frts() argument 269 ) -> Result<impl PinInit<Self>> { in new()
|
| A D | dma.rs | 17 pub(crate) fn new(dev: &device::Device<device::Bound>, len: usize) -> Result<Self> { in new() 27 pub(crate) fn from_data(dev: &device::Device<device::Bound>, data: &[u8]) -> Result<Self> { in from_data()
|
| A D | fb.rs | 46 ) -> Result<Self> { in register() 96 pub(crate) fn new(chipset: Chipset, bar: &Bar0) -> Result<Self> { in new()
|
| A D | firmware.rs | 32 pub(crate) fn new(dev: &device::Device, chipset: Chipset, ver: &str) -> Result<Firmware> { in new() 126 ) -> Result<FirmwareDmaObject<F, Signed>> { in patch_signature()
|
| A D | regs.rs | 29 pub(crate) fn architecture(self) -> Result<Architecture> { in architecture() 36 pub(crate) fn chipset(self) -> Result<Chipset> { in chipset()
|
| A D | gfw.rs | 43 pub(crate) fn wait_gfw_boot_completion(bar: &Bar0) -> Result { in wait_gfw_boot_completion() argument
|
| A D | util.rs | 35 pub(crate) fn wait_on<R, F: Fn() -> Option<R>>(timeout: Delta, cond: F) -> Result<R> { in wait_on()
|
| A D | driver.rs | 31 fn probe(pdev: &pci::Device<Core>, _info: &Self::IdInfo) -> Result<Pin<KBox<Self>>> { in probe()
|
| /drivers/cpufreq/ |
| A D | rcpufreq_dt.rs | 65 fn init(policy: &mut cpufreq::Policy) -> Result<Self::PData> { in init() 155 fn exit(_policy: &mut cpufreq::Policy, _data: Option<Self::PData>) -> Result { in exit() argument 159 fn online(_policy: &mut cpufreq::Policy) -> Result { in online() argument 164 fn offline(_policy: &mut cpufreq::Policy) -> Result { in offline() argument 170 fn suspend(policy: &mut cpufreq::Policy) -> Result { in suspend() argument 174 fn verify(data: &mut cpufreq::PolicyData) -> Result { in verify() argument 178 fn target_index(policy: &mut cpufreq::Policy, index: cpufreq::TableIndex) -> Result { in target_index() argument 187 fn get(policy: &mut cpufreq::Policy) -> Result<u32> { in get() 191 fn set_boost(_policy: &mut cpufreq::Policy, _state: i32) -> Result { in set_boost() argument 214 ) -> Result<Pin<KBox<Self>>> { in probe()
|
| /drivers/gpu/nova-core/falcon/hal/ |
| A D | ga102.rs | 18 fn select_core_ga102<E: FalconEngine>(bar: &Bar0) -> Result { in select_core_ga102() argument 44 ) -> Result<u32> { in signature_reg_fuse_version_ga102() 76 fn program_brom_ga102<E: FalconEngine>(bar: &Bar0, params: &FalconBromParams) -> Result { in program_brom_ga102() argument 102 fn select_core(&self, _falcon: &Falcon<E>, bar: &Bar0) -> Result { in select_core() argument 112 ) -> Result<u32> { in signature_reg_fuse_version() 116 fn program_brom(&self, _falcon: &Falcon<E>, bar: &Bar0, params: &FalconBromParams) -> Result { in program_brom() argument
|
| /drivers/gpu/nova-core/falcon/ |
| A D | hal.rs | 18 fn select_core(&self, _falcon: &Falcon<E>, _bar: &Bar0) -> Result { in select_core() argument 30 ) -> Result<u32>; in signature_reg_fuse_version() 33 fn program_brom(&self, falcon: &Falcon<E>, bar: &Bar0, params: &FalconBromParams) -> Result; in program_brom() argument 43 ) -> Result<KBox<dyn FalconHal<E>>> { in falcon_hal()
|
| /drivers/gpu/drm/nova/ |
| A D | file.rs | 20 fn open(_dev: &NovaDevice) -> Result<Pin<KBox<Self>>> { in open() 31 ) -> Result<u32> { in get_param() 52 ) -> Result<u32> { in gem_create() 66 ) -> Result<u32> { in gem_info()
|
| A D | gem.rs | 31 pub(crate) fn new(dev: &NovaDevice, size: usize) -> Result<ARef<gem::Object<Self>>> { in new() 46 ) -> Result<ARef<gem::Object<Self>>> { in lookup_handle()
|
| A D | driver.rs | 46 fn probe(adev: &auxiliary::Device<Core>, _info: &Self::IdInfo) -> Result<Pin<KBox<Self>>> { in probe()
|
| /drivers/gpu/nova-core/firmware/ |
| A D | fwsec.rs | 159 ) -> Result<&'b T> { in transmute() 182 ) -> Result<&'b mut T> { in transmute_mut() 255 fn new_fwsec(dev: &Device<device::Bound>, bios: &Vbios, cmd: FwsecCommand) -> Result<Self> { in new_fwsec() 342 ) -> Result<Self> { in new() 405 ) -> Result<()> { in run() argument
|
| /drivers/gpu/nova-core/regs/ |
| A D | macros.rs | 153 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { 251 ::core::result::Result< 392 ) -> ::kernel::error::Result<Self> where 403 ) -> ::kernel::error::Result<()> where 414 ) -> ::kernel::error::Result<()> where
|
| /drivers/block/ |
| A D | rnull.rs | 20 error::Result, 68 fn queue_rq(rq: ARef<mq::Request<Self>>, _is_last: bool) -> Result { in queue_rq() argument
|
| /drivers/gpu/nova-core/fb/hal/ |
| A D | tu102.rs | 16 pub(super) fn write_sysmem_flush_page_gm107(bar: &Bar0, addr: u64) -> Result { in write_sysmem_flush_page_gm107() argument 44 fn write_sysmem_flush_page(&self, bar: &Bar0, addr: u64) -> Result { in write_sysmem_flush_page() argument
|
| A D | ga102.rs | 20 fn write_sysmem_flush_page(&self, bar: &Bar0, addr: u64) -> Result { in write_sysmem_flush_page() argument
|
| A D | ga100.rs | 41 fn write_sysmem_flush_page(&self, bar: &Bar0, addr: u64) -> Result { in write_sysmem_flush_page() argument
|
| /drivers/gpu/nova-core/fb/ |
| A D | hal.rs | 19 fn write_sysmem_flush_page(&self, bar: &Bar0, addr: u64) -> Result; in write_sysmem_flush_page() argument
|