Lines Matching refs:msix_cap
448 msix_cap: Option<VfioMsixCap>, field
470 let mut msix_cap: Option<VfioMsixCap> = None; in new() localVariable
481 msix_cap = Some(VfioMsixCap::new(&config, cap_next, msix_socket)); in new()
510 msix_cap, in new()
643 let irqfds = match &self.msix_cap { in enable_msix()
676 if let Some(msix_cap) = &self.msix_cap { in add_bar_mmap()
677 if msix_cap.is_msix_bar(index) { in add_bar_mmap()
799 if let Some(msix_cap) = &self.msix_cap { in keep_rds()
800 rds.push(msix_cap.config.as_raw_descriptor()); in keep_rds()
979 } else if let Some(msix_cap) = &self.msix_cap { in read_config_register()
980 if msix_cap.is_msix_control_reg(reg, 4) { in read_config_register()
981 msix_cap.read_msix_control(&mut config); in read_config_register()
1010 if let Some(msix_cap) = self.msix_cap.as_mut() { in write_config_register()
1011 if msix_cap.is_msix_control_reg(start as u32, data.len() as u32) { in write_config_register()
1012 msi_change = msix_cap.write_msix_control(data); in write_config_register()
1038 if let Some(msix_cap) = &self.msix_cap { in read_bar()
1039 if msix_cap.is_msix_table(bar_index, offset) { in read_bar()
1040 msix_cap.read_table(offset, data); in read_bar()
1042 } else if msix_cap.is_msix_pba(bar_index, offset) { in read_bar()
1043 msix_cap.read_pba(offset, data); in read_bar()
1067 if let Some(msix_cap) = self.msix_cap.as_mut() { in write_bar()
1068 if msix_cap.is_msix_table(bar_index, offset) { in write_bar()
1069 msix_cap.write_table(offset, data); in write_bar()
1071 } else if msix_cap.is_msix_pba(bar_index, offset) { in write_bar()
1072 msix_cap.write_pba(offset, data); in write_bar()