~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/x86/include/asm/msi.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/x86/include/asm/msi.h (Architecture sparc64) and /arch/m68k/include/asm-m68k/msi.h (Architecture m68k)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 #ifndef _ASM_X86_MSI_H                            
  3 #define _ASM_X86_MSI_H                            
  4 #include <asm/hw_irq.h>                           
  5 #include <asm/irqdomain.h>                        
  6                                                   
  7 typedef struct irq_alloc_info msi_alloc_info_t    
  8                                                   
  9 int pci_msi_prepare(struct irq_domain *domain,    
 10                     msi_alloc_info_t *arg);       
 11                                                   
 12 /* Structs and defines for the X86 specific MS    
 13                                                   
 14 typedef struct x86_msi_data {                     
 15         union {                                   
 16                 struct {                          
 17                         u32     vector            
 18                                 delivery_mode     
 19                                 dest_mode_logi    
 20                                 reserved          
 21                                 active_low        
 22                                 is_level          
 23                 };                                
 24                 u32     dmar_subhandle;           
 25         };                                        
 26 } __attribute__ ((packed)) arch_msi_msg_data_t    
 27 #define arch_msi_msg_data       x86_msi_data      
 28                                                   
 29 typedef struct x86_msi_addr_lo {                  
 30         union {                                   
 31                 struct {                          
 32                         u32     reserved_0        
 33                                 dest_mode_logi    
 34                                 redirect_hint     
 35                                 reserved_1        
 36                                 virt_destid_8_    
 37                                 destid_0_7        
 38                                 base_address      
 39                 };                                
 40                 struct {                          
 41                         u32     dmar_reserved_    
 42                                 dmar_index_15     
 43                                 dmar_subhandle    
 44                                 dmar_format       
 45                                 dmar_index_0_1    
 46                                 dmar_base_addr    
 47                 };                                
 48         };                                        
 49 } __attribute__ ((packed)) arch_msi_msg_addr_l    
 50 #define arch_msi_msg_addr_lo    x86_msi_addr_l    
 51                                                   
 52 #define X86_MSI_BASE_ADDRESS_LOW        (0xfee    
 53                                                   
 54 typedef struct x86_msi_addr_hi {                  
 55         u32     reserved                :  8,     
 56                 destid_8_31             : 24;     
 57 } __attribute__ ((packed)) arch_msi_msg_addr_h    
 58 #define arch_msi_msg_addr_hi    x86_msi_addr_h    
 59                                                   
 60 #define X86_MSI_BASE_ADDRESS_HIGH       (0)       
 61                                                   
 62 struct msi_msg;                                   
 63 u32 x86_msi_msg_get_destid(struct msi_msg *msg    
 64                                                   
 65 #define X86_VECTOR_MSI_FLAGS_SUPPORTED            
 66         (MSI_GENERIC_FLAGS_MASK | MSI_FLAG_PCI    
 67                                                   
 68 #define X86_VECTOR_MSI_FLAGS_REQUIRED             
 69         (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_U    
 70                                                   
 71 #endif /* _ASM_X86_MSI_H */                       
 72                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php