Lines Matching refs:u32

329             command as u32,  in set_command()
408 pub cardbus_cis_pointer: u32, // 指向卡信息结构,供在 CardBus 和 PCI 之间共享芯片的设备使用。
411 pub expansion_rom_base_address: u32,
415 pub reserved2: u32,
479 pub bar0: u32,
480 pub bar1: u32,
492 pub prefetchable_base_upper_32_bits: u32,
493 pub prefetchable_limit_upper_32_bits: u32,
499 pub expansion_rom_base_address: u32,
538 pub cardbus_socket_ex_ca_base_address: u32,
546 pub memory_base_address0: u32,
547 pub memory_limit0: u32,
548 pub memory_base_address1: u32,
549 pub memory_limit1: u32,
550 pub io_base_address0: u32,
551 pub io_limit0: u32,
552 pub io_base_address1: u32,
553 pub io_limit1: u32,
559 pub pc_card_legacy_mode_base_address_16_bit: u32,
598 pub mmio_base: Option<*mut u32>, //映射后的虚拟地址,为方便访问数据这里转化成指针
629 let bus_number = (self.bus_end - self.bus_begin) as u32 + 1; in map()
659 self.mmio_base = Some(virtaddress as *mut u32); in map()
666 fn cam_offset(&self, bus_device_function: BusDeviceFunction, register_offset: u16) -> u32 { in cam_offset() argument
668 let bdf = ((bus_device_function.bus - self.bus_begin) as u32) << 8 in cam_offset()
669 | (bus_device_function.device as u32) << 3 in cam_offset()
670 | bus_device_function.function as u32; in cam_offset()
671 let address = bdf << 12 | register_offset as u32; in cam_offset()
680 pub fn read_config(&self, bus_device_function: BusDeviceFunction, register_offset: u16) -> u32 { in read_config() argument
696 data: u32, in write_config() argument
1252 size: u32,
1259 address: u32,
1261 size: u32,
1272 pub fn memory_address_size(&self) -> Option<(u64, u32)> { in memory_address_size() argument