Home
last modified time | relevance | path

Searched refs:gen_devs (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahci.c10 …i_devs[MAX_AHCI_DEVICES], struct pci_device_structure_general_device_t *gen_devs[MAX_AHCI_DEVICES]) in ahci_cpp_init()
24 gen_devs[i] = ((struct pci_device_structure_general_device_t *)(ahci_devs[i])); in ahci_cpp_init()
28 uint32_t bar5 = gen_devs[0]->BAR5; in ahci_cpp_init()
Dahci_rust.h19 …i_devs[MAX_AHCI_DEVICES], struct pci_device_structure_general_device_t *gen_devs[MAX_AHCI_DEVICES]…
Dmod.rs58 let mut gen_devs: [*mut pci_device_structure_general_device_t; MAX_AHCI_DEVICES as usize] = in ahci_rust_init() localVariable
67 (&mut gen_devs) as *mut *mut pci_device_structure_general_device_t, in ahci_rust_init()
81 let virt_addr = AHCI_MAPPING_BASE as usize + unsafe { (*gen_devs[i]).BAR5 as usize } in ahci_rust_init()
82 - (unsafe { (*gen_devs[0]).BAR5 as usize } & PAGE_2M_MASK as usize); in ahci_rust_init()