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

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/dpll.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 /include/uapi/linux/dpll.h (Version linux-6.12-rc7) and /include/uapi/linux/dpll.h (Version linux-5.7.19)


  1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Lin      1 
  2 /* Do not edit directly, auto-generated from:     
  3 /*      Documentation/netlink/specs/dpll.yaml     
  4 /* YNL-GEN uapi header */                         
  5                                                   
  6 #ifndef _UAPI_LINUX_DPLL_H                        
  7 #define _UAPI_LINUX_DPLL_H                        
  8                                                   
  9 #define DPLL_FAMILY_NAME        "dpll"            
 10 #define DPLL_FAMILY_VERSION     1                 
 11                                                   
 12 /**                                               
 13  * enum dpll_mode - working modes a dpll can s    
 14  *   dpll selects one of its inputs to syntoni    
 15  *   DPLL_A_MODE attribute                        
 16  * @DPLL_MODE_MANUAL: input can be only select    
 17  * @DPLL_MODE_AUTOMATIC: highest prio input pi    
 18  */                                               
 19 enum dpll_mode {                                  
 20         DPLL_MODE_MANUAL = 1,                     
 21         DPLL_MODE_AUTOMATIC,                      
 22                                                   
 23         /* private: */                            
 24         __DPLL_MODE_MAX,                          
 25         DPLL_MODE_MAX = (__DPLL_MODE_MAX - 1)     
 26 };                                                
 27                                                   
 28 /**                                               
 29  * enum dpll_lock_status - provides informatio    
 30  *   valid values for DPLL_A_LOCK_STATUS attri    
 31  * @DPLL_LOCK_STATUS_UNLOCKED: dpll was not ye    
 32  *   forced by setting DPLL_A_MODE to DPLL_MOD    
 33  * @DPLL_LOCK_STATUS_LOCKED: dpll is locked to    
 34  *   available                                    
 35  * @DPLL_LOCK_STATUS_LOCKED_HO_ACQ: dpll is lo    
 36  * @DPLL_LOCK_STATUS_HOLDOVER: dpll is in hold    
 37  *   was forced by disconnecting all the pins     
 38  *   lock-state was already DPLL_LOCK_STATUS_L    
 39  *   was not DPLL_LOCK_STATUS_LOCKED_HO_ACQ, t    
 40  *   DPLL_LOCK_STATUS_UNLOCKED)                   
 41  */                                               
 42 enum dpll_lock_status {                           
 43         DPLL_LOCK_STATUS_UNLOCKED = 1,            
 44         DPLL_LOCK_STATUS_LOCKED,                  
 45         DPLL_LOCK_STATUS_LOCKED_HO_ACQ,           
 46         DPLL_LOCK_STATUS_HOLDOVER,                
 47                                                   
 48         /* private: */                            
 49         __DPLL_LOCK_STATUS_MAX,                   
 50         DPLL_LOCK_STATUS_MAX = (__DPLL_LOCK_ST    
 51 };                                                
 52                                                   
 53 /**                                               
 54  * enum dpll_lock_status_error - if previous s    
 55  *   failure, this provides information of dpl    
 56  *   values for DPLL_A_LOCK_STATUS_ERROR attri    
 57  * @DPLL_LOCK_STATUS_ERROR_NONE: dpll device l    
 58  *   any error                                    
 59  * @DPLL_LOCK_STATUS_ERROR_UNDEFINED: dpll dev    
 60  *   to undefined error. Driver fills this val    
 61  *   obtain suitable exact error type.            
 62  * @DPLL_LOCK_STATUS_ERROR_MEDIA_DOWN: dpll de    
 63  *   because of associated media got down. Thi    
 64  *   device was previously locked on an input     
 65  *   PIN_TYPE_SYNCE_ETH_PORT.                     
 66  * @DPLL_LOCK_STATUS_ERROR_FRACTIONAL_FREQUENC    
 67  *   (Fractional Frequency Offset) between the    
 68  *   media got too high. This may happen for e    
 69  *   previously locked on an input pin of type    
 70  */                                               
 71 enum dpll_lock_status_error {                     
 72         DPLL_LOCK_STATUS_ERROR_NONE = 1,          
 73         DPLL_LOCK_STATUS_ERROR_UNDEFINED,         
 74         DPLL_LOCK_STATUS_ERROR_MEDIA_DOWN,        
 75         DPLL_LOCK_STATUS_ERROR_FRACTIONAL_FREQ    
 76                                                   
 77         /* private: */                            
 78         __DPLL_LOCK_STATUS_ERROR_MAX,             
 79         DPLL_LOCK_STATUS_ERROR_MAX = (__DPLL_L    
 80 };                                                
 81                                                   
 82 #define DPLL_TEMP_DIVIDER       1000              
 83                                                   
 84 /**                                               
 85  * enum dpll_type - type of dpll, valid values    
 86  * @DPLL_TYPE_PPS: dpll produces Pulse-Per-Sec    
 87  * @DPLL_TYPE_EEC: dpll drives the Ethernet Eq    
 88  */                                               
 89 enum dpll_type {                                  
 90         DPLL_TYPE_PPS = 1,                        
 91         DPLL_TYPE_EEC,                            
 92                                                   
 93         /* private: */                            
 94         __DPLL_TYPE_MAX,                          
 95         DPLL_TYPE_MAX = (__DPLL_TYPE_MAX - 1)     
 96 };                                                
 97                                                   
 98 /**                                               
 99  * enum dpll_pin_type - defines possible types    
100  *   DPLL_A_PIN_TYPE attribute                    
101  * @DPLL_PIN_TYPE_MUX: aggregates another laye    
102  * @DPLL_PIN_TYPE_EXT: external input             
103  * @DPLL_PIN_TYPE_SYNCE_ETH_PORT: ethernet por    
104  * @DPLL_PIN_TYPE_INT_OSCILLATOR: device inter    
105  * @DPLL_PIN_TYPE_GNSS: GNSS recovered clock      
106  */                                               
107 enum dpll_pin_type {                              
108         DPLL_PIN_TYPE_MUX = 1,                    
109         DPLL_PIN_TYPE_EXT,                        
110         DPLL_PIN_TYPE_SYNCE_ETH_PORT,             
111         DPLL_PIN_TYPE_INT_OSCILLATOR,             
112         DPLL_PIN_TYPE_GNSS,                       
113                                                   
114         /* private: */                            
115         __DPLL_PIN_TYPE_MAX,                      
116         DPLL_PIN_TYPE_MAX = (__DPLL_PIN_TYPE_M    
117 };                                                
118                                                   
119 /**                                               
120  * enum dpll_pin_direction - defines possible     
121  *   for DPLL_A_PIN_DIRECTION attribute           
122  * @DPLL_PIN_DIRECTION_INPUT: pin used as a in    
123  * @DPLL_PIN_DIRECTION_OUTPUT: pin used to out    
124  */                                               
125 enum dpll_pin_direction {                         
126         DPLL_PIN_DIRECTION_INPUT = 1,             
127         DPLL_PIN_DIRECTION_OUTPUT,                
128                                                   
129         /* private: */                            
130         __DPLL_PIN_DIRECTION_MAX,                 
131         DPLL_PIN_DIRECTION_MAX = (__DPLL_PIN_D    
132 };                                                
133                                                   
134 #define DPLL_PIN_FREQUENCY_1_HZ         1         
135 #define DPLL_PIN_FREQUENCY_10_KHZ       10000     
136 #define DPLL_PIN_FREQUENCY_77_5_KHZ     77500     
137 #define DPLL_PIN_FREQUENCY_10_MHZ       100000    
138                                                   
139 /**                                               
140  * enum dpll_pin_state - defines possible stat    
141  *   DPLL_A_PIN_STATE attribute                   
142  * @DPLL_PIN_STATE_CONNECTED: pin connected, a    
143  * @DPLL_PIN_STATE_DISCONNECTED: pin disconnec    
144  *   input                                        
145  * @DPLL_PIN_STATE_SELECTABLE: pin enabled for    
146  */                                               
147 enum dpll_pin_state {                             
148         DPLL_PIN_STATE_CONNECTED = 1,             
149         DPLL_PIN_STATE_DISCONNECTED,              
150         DPLL_PIN_STATE_SELECTABLE,                
151                                                   
152         /* private: */                            
153         __DPLL_PIN_STATE_MAX,                     
154         DPLL_PIN_STATE_MAX = (__DPLL_PIN_STATE    
155 };                                                
156                                                   
157 /**                                               
158  * enum dpll_pin_capabilities - defines possib    
159  *   flags on DPLL_A_PIN_CAPABILITIES attribut    
160  * @DPLL_PIN_CAPABILITIES_DIRECTION_CAN_CHANGE    
161  * @DPLL_PIN_CAPABILITIES_PRIORITY_CAN_CHANGE:    
162  * @DPLL_PIN_CAPABILITIES_STATE_CAN_CHANGE: pi    
163  */                                               
164 enum dpll_pin_capabilities {                      
165         DPLL_PIN_CAPABILITIES_DIRECTION_CAN_CH    
166         DPLL_PIN_CAPABILITIES_PRIORITY_CAN_CHA    
167         DPLL_PIN_CAPABILITIES_STATE_CAN_CHANGE    
168 };                                                
169                                                   
170 #define DPLL_PHASE_OFFSET_DIVIDER       1000      
171                                                   
172 enum dpll_a {                                     
173         DPLL_A_ID = 1,                            
174         DPLL_A_MODULE_NAME,                       
175         DPLL_A_PAD,                               
176         DPLL_A_CLOCK_ID,                          
177         DPLL_A_MODE,                              
178         DPLL_A_MODE_SUPPORTED,                    
179         DPLL_A_LOCK_STATUS,                       
180         DPLL_A_TEMP,                              
181         DPLL_A_TYPE,                              
182         DPLL_A_LOCK_STATUS_ERROR,                 
183                                                   
184         __DPLL_A_MAX,                             
185         DPLL_A_MAX = (__DPLL_A_MAX - 1)           
186 };                                                
187                                                   
188 enum dpll_a_pin {                                 
189         DPLL_A_PIN_ID = 1,                        
190         DPLL_A_PIN_PARENT_ID,                     
191         DPLL_A_PIN_MODULE_NAME,                   
192         DPLL_A_PIN_PAD,                           
193         DPLL_A_PIN_CLOCK_ID,                      
194         DPLL_A_PIN_BOARD_LABEL,                   
195         DPLL_A_PIN_PANEL_LABEL,                   
196         DPLL_A_PIN_PACKAGE_LABEL,                 
197         DPLL_A_PIN_TYPE,                          
198         DPLL_A_PIN_DIRECTION,                     
199         DPLL_A_PIN_FREQUENCY,                     
200         DPLL_A_PIN_FREQUENCY_SUPPORTED,           
201         DPLL_A_PIN_FREQUENCY_MIN,                 
202         DPLL_A_PIN_FREQUENCY_MAX,                 
203         DPLL_A_PIN_PRIO,                          
204         DPLL_A_PIN_STATE,                         
205         DPLL_A_PIN_CAPABILITIES,                  
206         DPLL_A_PIN_PARENT_DEVICE,                 
207         DPLL_A_PIN_PARENT_PIN,                    
208         DPLL_A_PIN_PHASE_ADJUST_MIN,              
209         DPLL_A_PIN_PHASE_ADJUST_MAX,              
210         DPLL_A_PIN_PHASE_ADJUST,                  
211         DPLL_A_PIN_PHASE_OFFSET,                  
212         DPLL_A_PIN_FRACTIONAL_FREQUENCY_OFFSET    
213         DPLL_A_PIN_ESYNC_FREQUENCY,               
214         DPLL_A_PIN_ESYNC_FREQUENCY_SUPPORTED,     
215         DPLL_A_PIN_ESYNC_PULSE,                   
216                                                   
217         __DPLL_A_PIN_MAX,                         
218         DPLL_A_PIN_MAX = (__DPLL_A_PIN_MAX - 1    
219 };                                                
220                                                   
221 enum dpll_cmd {                                   
222         DPLL_CMD_DEVICE_ID_GET = 1,               
223         DPLL_CMD_DEVICE_GET,                      
224         DPLL_CMD_DEVICE_SET,                      
225         DPLL_CMD_DEVICE_CREATE_NTF,               
226         DPLL_CMD_DEVICE_DELETE_NTF,               
227         DPLL_CMD_DEVICE_CHANGE_NTF,               
228         DPLL_CMD_PIN_ID_GET,                      
229         DPLL_CMD_PIN_GET,                         
230         DPLL_CMD_PIN_SET,                         
231         DPLL_CMD_PIN_CREATE_NTF,                  
232         DPLL_CMD_PIN_DELETE_NTF,                  
233         DPLL_CMD_PIN_CHANGE_NTF,                  
234                                                   
235         __DPLL_CMD_MAX,                           
236         DPLL_CMD_MAX = (__DPLL_CMD_MAX - 1)       
237 };                                                
238                                                   
239 #define DPLL_MCGRP_MONITOR      "monitor"         
240                                                   
241 #endif /* _UAPI_LINUX_DPLL_H */                   
242                                                   

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