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

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-omap2/vp3xxx_data.c

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/arm/mach-omap2/vp3xxx_data.c (Version linux-6.11.5) and /arch/i386/mach-omap2/vp3xxx_data.c (Version linux-6.0.19)


  1 // SPDX-License-Identifier: GPL-2.0-only            1 
  2 /*                                                
  3  * OMAP3 Voltage Processor (VP) data              
  4  *                                                
  5  * Copyright (C) 2007, 2010 Texas Instruments,    
  6  * Rajendra Nayak <rnayak@ti.com>                 
  7  * Lesly A M <x0080970@ti.com>                    
  8  * Thara Gopinath <thara@ti.com>                  
  9  *                                                
 10  * Copyright (C) 2008, 2011 Nokia Corporation     
 11  * Kalle Jokiniemi                                
 12  * Paul Walmsley                                  
 13  */                                               
 14                                                   
 15 #include <linux/io.h>                             
 16 #include <linux/err.h>                            
 17 #include <linux/init.h>                           
 18                                                   
 19 #include "common.h"                               
 20                                                   
 21 #include "prm-regbits-34xx.h"                     
 22 #include "voltage.h"                              
 23                                                   
 24 #include "vp.h"                                   
 25 #include "prm2xxx_3xxx.h"                         
 26                                                   
 27 static const struct omap_vp_ops omap3_vp_ops =    
 28         .check_txdone = omap_prm_vp_check_txdo    
 29         .clear_txdone = omap_prm_vp_clear_txdo    
 30 };                                                
 31                                                   
 32 /*                                                
 33  * VP data common to 34xx/36xx chips              
 34  * XXX This stuff presumably belongs in the vp    
 35  */                                               
 36 static const struct omap_vp_common omap3_vp_co    
 37         .vpconfig_erroroffset_mask = OMAP3430_    
 38         .vpconfig_errorgain_mask = OMAP3430_ER    
 39         .vpconfig_initvoltage_mask = OMAP3430_    
 40         .vpconfig_timeouten = OMAP3430_TIMEOUT    
 41         .vpconfig_initvdd = OMAP3430_INITVDD_M    
 42         .vpconfig_forceupdate = OMAP3430_FORCE    
 43         .vpconfig_vpenable = OMAP3430_VPENABLE    
 44         .vstepmin_smpswaittimemin_shift = OMAP    
 45         .vstepmax_smpswaittimemax_shift = OMAP    
 46         .vstepmin_stepmin_shift = OMAP3430_VST    
 47         .vstepmax_stepmax_shift = OMAP3430_VST    
 48         .vlimitto_vddmin_shift = OMAP3430_VDDM    
 49         .vlimitto_vddmax_shift = OMAP3430_VDDM    
 50         .vlimitto_timeout_shift = OMAP3430_TIM    
 51         .vpvoltage_mask = OMAP3430_VPVOLTAGE_M    
 52                                                   
 53         .ops = &omap3_vp_ops,                     
 54 };                                                
 55                                                   
 56 struct omap_vp_instance omap3_vp_mpu = {          
 57         .id = OMAP3_VP_VDD_MPU_ID,                
 58         .common = &omap3_vp_common,               
 59         .vpconfig = OMAP3_PRM_VP1_CONFIG_OFFSE    
 60         .vstepmin = OMAP3_PRM_VP1_VSTEPMIN_OFF    
 61         .vstepmax = OMAP3_PRM_VP1_VSTEPMAX_OFF    
 62         .vlimitto = OMAP3_PRM_VP1_VLIMITTO_OFF    
 63         .vstatus = OMAP3_PRM_VP1_STATUS_OFFSET    
 64         .voltage = OMAP3_PRM_VP1_VOLTAGE_OFFSE    
 65 };                                                
 66                                                   
 67 struct omap_vp_instance omap3_vp_core = {         
 68         .id = OMAP3_VP_VDD_CORE_ID,               
 69         .common = &omap3_vp_common,               
 70         .vpconfig = OMAP3_PRM_VP2_CONFIG_OFFSE    
 71         .vstepmin = OMAP3_PRM_VP2_VSTEPMIN_OFF    
 72         .vstepmax = OMAP3_PRM_VP2_VSTEPMAX_OFF    
 73         .vlimitto = OMAP3_PRM_VP2_VLIMITTO_OFF    
 74         .vstatus = OMAP3_PRM_VP2_STATUS_OFFSET    
 75         .voltage = OMAP3_PRM_VP2_VOLTAGE_OFFSE    
 76 };                                                
 77                                                   
 78 struct omap_vp_param omap3_mpu_vp_data = {        
 79         .vddmin                 = OMAP3430_VP1    
 80         .vddmax                 = OMAP3430_VP1    
 81 };                                                
 82                                                   
 83 struct omap_vp_param omap3_core_vp_data = {       
 84         .vddmin                 = OMAP3430_VP2    
 85         .vddmax                 = OMAP3430_VP2    
 86 };                                                
 87                                                   

~ [ 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