Linux kernel & device driver programming

Cross-Referenced Linux and Device Driver Code

[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ]
Version: [ 2.6.11.8 ] [ 2.6.25 ] [ 2.6.25.8 ] [ 2.6.31.13 ] Architecture: [ i386 ]

Diff markup

Differences between /linux/include/acpi/acnamesp.h (Version 2.6.25) and /linux/include/acpi/acnamesp.h (Version 2.6.11.8)


  1 /*********************************************      1 /******************************************************************************
  2  *                                                  2  *
  3  * Name: acnamesp.h - Namespace subcomponent p      3  * Name: acnamesp.h - Namespace subcomponent prototypes and defines
  4  *                                                  4  *
  5  *********************************************      5  *****************************************************************************/
  6                                                     6 
  7 /*                                                  7 /*
  8  * Copyright (C) 2000 - 2007, R. Byron Moore   !!   8  * Copyright (C) 2000 - 2005, R. Byron Moore
  9  * All rights reserved.                             9  * All rights reserved.
 10  *                                                 10  *
 11  * Redistribution and use in source and binary     11  * Redistribution and use in source and binary forms, with or without
 12  * modification, are permitted provided that t     12  * modification, are permitted provided that the following conditions
 13  * are met:                                        13  * are met:
 14  * 1. Redistributions of source code must reta     14  * 1. Redistributions of source code must retain the above copyright
 15  *    notice, this list of conditions, and the     15  *    notice, this list of conditions, and the following disclaimer,
 16  *    without modification.                        16  *    without modification.
 17  * 2. Redistributions in binary form must repr     17  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
 18  *    substantially similar to the "NO WARRANT     18  *    substantially similar to the "NO WARRANTY" disclaimer below
 19  *    ("Disclaimer") and any redistribution mu     19  *    ("Disclaimer") and any redistribution must be conditioned upon
 20  *    including a substantially similar Discla     20  *    including a substantially similar Disclaimer requirement for further
 21  *    binary redistribution.                       21  *    binary redistribution.
 22  * 3. Neither the names of the above-listed co     22  * 3. Neither the names of the above-listed copyright holders nor the names
 23  *    of any contributors may be used to endor     23  *    of any contributors may be used to endorse or promote products derived
 24  *    from this software without specific prio     24  *    from this software without specific prior written permission.
 25  *                                                 25  *
 26  * Alternatively, this software may be distrib     26  * Alternatively, this software may be distributed under the terms of the
 27  * GNU General Public License ("GPL") version      27  * GNU General Public License ("GPL") version 2 as published by the Free
 28  * Software Foundation.                            28  * Software Foundation.
 29  *                                                 29  *
 30  * NO WARRANTY                                     30  * NO WARRANTY
 31  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT      31  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 32  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTI     32  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 33  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCH     33  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
 34  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO      34  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 35  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECI     35  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 36  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PRO     36  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 37  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS;     37  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 38  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILI     38  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
 39  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIG     39  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
 40  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,     40  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 41  * POSSIBILITY OF SUCH DAMAGES.                    41  * POSSIBILITY OF SUCH DAMAGES.
 42  */                                                42  */
 43                                                    43 
 44 #ifndef __ACNAMESP_H__                             44 #ifndef __ACNAMESP_H__
 45 #define __ACNAMESP_H__                             45 #define __ACNAMESP_H__
 46                                                    46 
                                                   >>  47 
 47 /* To search the entire name space, pass this      48 /* To search the entire name space, pass this as search_base */
 48                                                    49 
 49 #define ACPI_NS_ALL                 ((acpi_han     50 #define ACPI_NS_ALL                 ((acpi_handle)0)
 50                                                    51 
 51 /*                                                 52 /*
 52  * Elements of acpi_ns_properties are bit sign     53  * Elements of acpi_ns_properties are bit significant
 53  * and should be one-to-one with values of acp     54  * and should be one-to-one with values of acpi_object_type
 54  */                                                55  */
 55 #define ACPI_NS_NORMAL              0              56 #define ACPI_NS_NORMAL              0
 56 #define ACPI_NS_NEWSCOPE            1   /* a d !!  57 #define ACPI_NS_NEWSCOPE            1   /* a definition of this type opens a name scope */
 57 #define ACPI_NS_LOCAL               2   /* sup !!  58 #define ACPI_NS_LOCAL               2   /* suppress search of enclosing scopes */
                                                   >>  59 
                                                   >>  60 
                                                   >>  61 /* Definitions of the predefined namespace names  */
                                                   >>  62 
                                                   >>  63 #define ACPI_UNKNOWN_NAME           (u32) 0x3F3F3F3F     /* Unknown name is  "????" */
                                                   >>  64 #define ACPI_ROOT_NAME              (u32) 0x5F5F5F5C     /* Root name is     "\___" */
                                                   >>  65 #define ACPI_SYS_BUS_NAME           (u32) 0x5F53425F     /* Sys bus name is  "_SB_" */
                                                   >>  66 
                                                   >>  67 #define ACPI_NS_ROOT_PATH           "\\"
                                                   >>  68 #define ACPI_NS_SYSTEM_BUS          "_SB_"
                                                   >>  69 
 58                                                    70 
 59 /* Flags for acpi_ns_lookup, acpi_ns_search_an     71 /* Flags for acpi_ns_lookup, acpi_ns_search_and_enter */
 60                                                    72 
 61 #define ACPI_NS_NO_UPSEARCH         0              73 #define ACPI_NS_NO_UPSEARCH         0
 62 #define ACPI_NS_SEARCH_PARENT       0x01           74 #define ACPI_NS_SEARCH_PARENT       0x01
 63 #define ACPI_NS_DONT_OPEN_SCOPE     0x02           75 #define ACPI_NS_DONT_OPEN_SCOPE     0x02
 64 #define ACPI_NS_NO_PEER_SEARCH      0x04           76 #define ACPI_NS_NO_PEER_SEARCH      0x04
 65 #define ACPI_NS_ERROR_IF_FOUND      0x08           77 #define ACPI_NS_ERROR_IF_FOUND      0x08
 66 #define ACPI_NS_PREFIX_IS_SCOPE     0x10       << 
 67 #define ACPI_NS_EXTERNAL            0x20       << 
 68 #define ACPI_NS_TEMPORARY           0x40       << 
 69                                                    78 
 70 /* Flags for acpi_ns_walk_namespace */         !!  79 #define ACPI_NS_WALK_UNLOCK         TRUE
                                                   >>  80 #define ACPI_NS_WALK_NO_UNLOCK      FALSE
 71                                                    81 
 72 #define ACPI_NS_WALK_NO_UNLOCK      0          << 
 73 #define ACPI_NS_WALK_UNLOCK         0x01       << 
 74 #define ACPI_NS_WALK_TEMP_NODES     0x02       << 
 75                                                    82 
 76 /*                                             !!  83 acpi_status
 77  * nsinit - Namespace initialization           !!  84 acpi_ns_load_namespace (
 78  */                                            !!  85         void);
 79 acpi_status acpi_ns_initialize_objects(void);  << 
 80                                                    86 
 81 acpi_status acpi_ns_initialize_devices(void);  !!  87 acpi_status
                                                   >>  88 acpi_ns_initialize_objects (
                                                   >>  89         void);
                                                   >>  90 
                                                   >>  91 acpi_status
                                                   >>  92 acpi_ns_initialize_devices (
                                                   >>  93         void);
 82                                                    94 
 83 /*                                             !!  95 
 84  * nsload -  Namespace loading                 !!  96 /* Namespace init - nsxfinit */
 85  */                                            << 
 86 acpi_status acpi_ns_load_namespace(void);      << 
 87                                                    97 
 88 acpi_status                                        98 acpi_status
 89 acpi_ns_load_table(acpi_native_uint table_inde !!  99 acpi_ns_init_one_device (
 90                    struct acpi_namespace_node  !! 100         acpi_handle                     obj_handle,
                                                   >> 101         u32                             nesting_level,
                                                   >> 102         void                            *context,
                                                   >> 103         void                            **return_value);
 91                                                   104 
 92 /*                                             << 
 93  * nswalk - walk the namespace                 << 
 94  */                                            << 
 95 acpi_status                                       105 acpi_status
 96 acpi_ns_walk_namespace(acpi_object_type type,  !! 106 acpi_ns_init_one_object (
 97                        acpi_handle start_objec !! 107         acpi_handle                     obj_handle,
 98                        u32 max_depth,          !! 108         u32                             level,
 99                        u32 flags,              !! 109         void                            *context,
100                        acpi_walk_callback user !! 110         void                            **return_value);
101                        void *context, void **r << 
102                                                   111 
103 struct acpi_namespace_node *acpi_ns_get_next_n << 
104                                                << 
105                                                << 
106                                                   112 
107 /*                                             << 
108  * nsparse - table parsing                     << 
109  */                                            << 
110 acpi_status                                       113 acpi_status
111 acpi_ns_parse_table(acpi_native_uint table_ind !! 114 acpi_ns_walk_namespace (
112                     struct acpi_namespace_node !! 115         acpi_object_type                type,
                                                   >> 116         acpi_handle                     start_object,
                                                   >> 117         u32                             max_depth,
                                                   >> 118         u8                              unlock_before_callback,
                                                   >> 119         acpi_walk_callback              user_function,
                                                   >> 120         void                            *context,
                                                   >> 121         void                            **return_value);
                                                   >> 122 
                                                   >> 123 struct acpi_namespace_node *
                                                   >> 124 acpi_ns_get_next_node (
                                                   >> 125         acpi_object_type                type,
                                                   >> 126         struct acpi_namespace_node      *parent,
                                                   >> 127         struct acpi_namespace_node      *child);
                                                   >> 128 
                                                   >> 129 void
                                                   >> 130 acpi_ns_delete_namespace_by_owner (
                                                   >> 131         u16                             table_id);
                                                   >> 132 
                                                   >> 133 
                                                   >> 134 /* Namespace loading - nsload */
                                                   >> 135 
                                                   >> 136 acpi_status
                                                   >> 137 acpi_ns_one_complete_parse (
                                                   >> 138         u32                             pass_number,
                                                   >> 139         struct acpi_table_desc          *table_desc);
                                                   >> 140 
                                                   >> 141 acpi_status
                                                   >> 142 acpi_ns_parse_table (
                                                   >> 143         struct acpi_table_desc          *table_desc,
                                                   >> 144         struct acpi_namespace_node      *scope);
113                                                   145 
114 acpi_status                                       146 acpi_status
115 acpi_ns_one_complete_parse(acpi_native_uint pa !! 147 acpi_ns_load_table (
116                            acpi_native_uint ta !! 148         struct acpi_table_desc          *table_desc,
                                                   >> 149         struct acpi_namespace_node      *node);
                                                   >> 150 
                                                   >> 151 acpi_status
                                                   >> 152 acpi_ns_load_table_by_type (
                                                   >> 153         acpi_table_type                 table_type);
                                                   >> 154 
117                                                   155 
118 /*                                                156 /*
119  * nsaccess - Top-level namespace access       !! 157  * Top-level namespace access - nsaccess
120  */                                               158  */
121 acpi_status acpi_ns_root_initialize(void);     << 
122                                                   159 
123 acpi_status                                       160 acpi_status
124 acpi_ns_lookup(union acpi_generic_state *scope !! 161 acpi_ns_root_initialize (
125                char *name,                     !! 162         void);
126                acpi_object_type type,          !! 163 
127                acpi_interpreter_mode interpret !! 164 acpi_status
128                u32 flags,                      !! 165 acpi_ns_lookup (
129                struct acpi_walk_state *walk_st !! 166         union acpi_generic_state        *scope_info,
130                struct acpi_namespace_node **re !! 167         char                            *name,
                                                   >> 168         acpi_object_type                type,
                                                   >> 169         acpi_interpreter_mode           interpreter_mode,
                                                   >> 170         u32                             flags,
                                                   >> 171         struct acpi_walk_state          *walk_state,
                                                   >> 172         struct acpi_namespace_node      **ret_node);
                                                   >> 173 
131                                                   174 
132 /*                                                175 /*
133  * nsalloc - Named object allocation/deallocat !! 176  * Named object allocation/deallocation - nsalloc
134  */                                               177  */
135 struct acpi_namespace_node *acpi_ns_create_nod << 
136                                                   178 
137 void acpi_ns_delete_node(struct acpi_namespace !! 179 struct acpi_namespace_node *
                                                   >> 180 acpi_ns_create_node (
                                                   >> 181         u32                             name);
                                                   >> 182 
                                                   >> 183 void
                                                   >> 184 acpi_ns_delete_node (
                                                   >> 185         struct acpi_namespace_node      *node);
138                                                   186 
139 void                                              187 void
140 acpi_ns_delete_namespace_subtree(struct acpi_n !! 188 acpi_ns_delete_namespace_subtree (
                                                   >> 189         struct acpi_namespace_node      *parent_handle);
141                                                   190 
142 void acpi_ns_delete_namespace_by_owner(acpi_ow !! 191 void
                                                   >> 192 acpi_ns_detach_object (
                                                   >> 193         struct acpi_namespace_node      *node);
143                                                   194 
144 void acpi_ns_detach_object(struct acpi_namespa !! 195 void
                                                   >> 196 acpi_ns_delete_children (
                                                   >> 197         struct acpi_namespace_node      *parent);
145                                                   198 
146 void acpi_ns_delete_children(struct acpi_names !! 199 int
                                                   >> 200 acpi_ns_compare_names (
                                                   >> 201         char                            *name1,
                                                   >> 202         char                            *name2);
                                                   >> 203 
                                                   >> 204 void
                                                   >> 205 acpi_ns_remove_reference (
                                                   >> 206         struct acpi_namespace_node      *node);
147                                                   207 
148 int acpi_ns_compare_names(char *name1, char *n << 
149                                                   208 
150 /*                                                209 /*
151  * nsdump - Namespace dump/print utilities     !! 210  * Namespace modification - nsmodify
152  */                                               211  */
153 #ifdef  ACPI_FUTURE_USAGE                      << 
154 void acpi_ns_dump_tables(acpi_handle search_ba << 
155 #endif                          /* ACPI_FUTURE << 
156                                                   212 
157 void acpi_ns_dump_entry(acpi_handle handle, u3 !! 213 #ifdef ACPI_FUTURE_USAGE
                                                   >> 214 acpi_status
                                                   >> 215 acpi_ns_unload_namespace (
                                                   >> 216         acpi_handle                     handle);
                                                   >> 217 
                                                   >> 218 acpi_status
                                                   >> 219 acpi_ns_delete_subtree (
                                                   >> 220         acpi_handle                     start_handle);
                                                   >> 221 #endif
                                                   >> 222 
158                                                   223 
                                                   >> 224 /*
                                                   >> 225  * Namespace dump/print utilities - nsdump
                                                   >> 226  */
                                                   >> 227 
                                                   >> 228 #ifdef ACPI_FUTURE_USAGE
159 void                                              229 void
160 acpi_ns_dump_pathname(acpi_handle handle, char !! 230 acpi_ns_dump_tables (
                                                   >> 231         acpi_handle                     search_base,
                                                   >> 232         u32                             max_depth);
                                                   >> 233 #endif
161                                                   234 
162 void acpi_ns_print_pathname(u32 num_segments,  !! 235 void
                                                   >> 236 acpi_ns_dump_entry (
                                                   >> 237         acpi_handle                     handle,
                                                   >> 238         u32                             debug_level);
                                                   >> 239 
                                                   >> 240 void
                                                   >> 241 acpi_ns_dump_pathname (
                                                   >> 242         acpi_handle                     handle,
                                                   >> 243         char                            *msg,
                                                   >> 244         u32                             level,
                                                   >> 245         u32                             component);
                                                   >> 246 
                                                   >> 247 void
                                                   >> 248 acpi_ns_print_pathname (
                                                   >> 249         u32                             num_segments,
                                                   >> 250         char                            *pathname);
                                                   >> 251 
                                                   >> 252 #ifdef ACPI_FUTURE_USAGE
                                                   >> 253 acpi_status
                                                   >> 254 acpi_ns_dump_one_device (
                                                   >> 255         acpi_handle                     obj_handle,
                                                   >> 256         u32                             level,
                                                   >> 257         void                            *context,
                                                   >> 258         void                            **return_value);
                                                   >> 259 
                                                   >> 260 void
                                                   >> 261 acpi_ns_dump_root_devices (
                                                   >> 262         void);
                                                   >> 263 #endif  /*  ACPI_FUTURE_USAGE  */
163                                                   264 
164 acpi_status                                       265 acpi_status
165 acpi_ns_dump_one_object(acpi_handle obj_handle !! 266 acpi_ns_dump_one_object (
166                         u32 level, void *conte !! 267         acpi_handle                     obj_handle,
                                                   >> 268         u32                             level,
                                                   >> 269         void                            *context,
                                                   >> 270         void                            **return_value);
167                                                   271 
168 #ifdef  ACPI_FUTURE_USAGE                      !! 272 #ifdef ACPI_FUTURE_USAGE
169 void                                              273 void
170 acpi_ns_dump_objects(acpi_object_type type,    !! 274 acpi_ns_dump_objects (
171                      u8 display_type,          !! 275         acpi_object_type                type,
172                      u32 max_depth,            !! 276         u8                              display_type,
173                      acpi_owner_id owner_id, a !! 277         u32                             max_depth,
174 #endif                          /* ACPI_FUTURE !! 278         u32                             ownder_id,
                                                   >> 279         acpi_handle                     start_handle);
                                                   >> 280 #endif
                                                   >> 281 
175                                                   282 
176 /*                                                283 /*
177  * nseval - Namespace evaluation functions     !! 284  * Namespace evaluation functions - nseval
178  */                                               285  */
179 acpi_status acpi_ns_evaluate(struct acpi_evalu !! 286 
                                                   >> 287 acpi_status
                                                   >> 288 acpi_ns_evaluate_by_handle (
                                                   >> 289         struct acpi_parameter_info      *info);
                                                   >> 290 
                                                   >> 291 acpi_status
                                                   >> 292 acpi_ns_evaluate_by_name (
                                                   >> 293         char                            *pathname,
                                                   >> 294         struct acpi_parameter_info      *info);
                                                   >> 295 
                                                   >> 296 acpi_status
                                                   >> 297 acpi_ns_evaluate_relative (
                                                   >> 298         char                            *pathname,
                                                   >> 299         struct acpi_parameter_info      *info);
                                                   >> 300 
                                                   >> 301 acpi_status
                                                   >> 302 acpi_ns_execute_control_method (
                                                   >> 303         struct acpi_parameter_info      *info);
                                                   >> 304 
                                                   >> 305 acpi_status
                                                   >> 306 acpi_ns_get_object_value (
                                                   >> 307         struct acpi_parameter_info      *info);
                                                   >> 308 
180                                                   309 
181 /*                                                310 /*
182  * nsnames - Name and Scope manipulation       !! 311  * Parent/Child/Peer utility functions
183  */                                               312  */
184 u32 acpi_ns_opens_scope(acpi_object_type type) << 
185                                                   313 
186 void                                           !! 314 #ifdef ACPI_FUTURE_USAGE
187 acpi_ns_build_external_path(struct acpi_namesp !! 315 acpi_name
188                             acpi_size size, ch !! 316 acpi_ns_find_parent_name (
                                                   >> 317         struct acpi_namespace_node      *node_to_search);
                                                   >> 318 #endif
                                                   >> 319 
189                                                   320 
190 char *acpi_ns_get_external_pathname(struct acp !! 321 /*
                                                   >> 322  * Name and Scope manipulation - nsnames
                                                   >> 323  */
191                                                   324 
192 char *acpi_ns_name_of_current_scope(struct acp !! 325 u32
                                                   >> 326 acpi_ns_opens_scope (
                                                   >> 327         acpi_object_type                type);
193                                                   328 
194 acpi_status                                    !! 329 void
195 acpi_ns_handle_to_pathname(acpi_handle target_ !! 330 acpi_ns_build_external_path (
196                            struct acpi_buffer  !! 331         struct acpi_namespace_node      *node,
                                                   >> 332         acpi_size                       size,
                                                   >> 333         char                            *name_buffer);
                                                   >> 334 
                                                   >> 335 char *
                                                   >> 336 acpi_ns_get_external_pathname (
                                                   >> 337         struct acpi_namespace_node      *node);
                                                   >> 338 
                                                   >> 339 char *
                                                   >> 340 acpi_ns_name_of_current_scope (
                                                   >> 341         struct acpi_walk_state          *walk_state);
                                                   >> 342 
                                                   >> 343 acpi_status
                                                   >> 344 acpi_ns_handle_to_pathname (
                                                   >> 345         acpi_handle                     target_handle,
                                                   >> 346         struct acpi_buffer              *buffer);
197                                                   347 
198 u8                                                348 u8
199 acpi_ns_pattern_match(struct acpi_namespace_no !! 349 acpi_ns_pattern_match (
                                                   >> 350         struct acpi_namespace_node      *obj_node,
                                                   >> 351         char                            *search_for);
200                                                   352 
201 acpi_status                                       353 acpi_status
202 acpi_ns_get_node(struct acpi_namespace_node *p !! 354 acpi_ns_get_node_by_path (
203                  char *external_pathname,      !! 355         char                            *external_pathname,
204                  u32 flags, struct acpi_namesp !! 356         struct acpi_namespace_node      *in_prefix_node,
                                                   >> 357         u32                             flags,
                                                   >> 358         struct acpi_namespace_node      **out_node);
                                                   >> 359 
                                                   >> 360 acpi_size
                                                   >> 361 acpi_ns_get_pathname_length (
                                                   >> 362         struct acpi_namespace_node      *node);
205                                                   363 
206 acpi_size acpi_ns_get_pathname_length(struct a << 
207                                                   364 
208 /*                                                365 /*
209  * nsobject - Object management for namespace  !! 366  * Object management for namespace nodes - nsobject
210  */                                               367  */
                                                   >> 368 
211 acpi_status                                       369 acpi_status
212 acpi_ns_attach_object(struct acpi_namespace_no !! 370 acpi_ns_attach_object (
213                       union acpi_operand_objec !! 371         struct acpi_namespace_node      *node,
                                                   >> 372         union acpi_operand_object       *object,
                                                   >> 373         acpi_object_type                type);
214                                                   374 
215 union acpi_operand_object *acpi_ns_get_attache !! 375 union acpi_operand_object *
216                                                !! 376 acpi_ns_get_attached_object (
217                                                !! 377         struct acpi_namespace_node      *node);
218                                                   378 
219 union acpi_operand_object *acpi_ns_get_seconda !! 379 union acpi_operand_object *
220                                                !! 380 acpi_ns_get_secondary_object (
221                                                !! 381         union acpi_operand_object       *obj_desc);
222                                                   382 
223 acpi_status                                       383 acpi_status
224 acpi_ns_attach_data(struct acpi_namespace_node !! 384 acpi_ns_attach_data (
225                     acpi_object_handler handle !! 385         struct acpi_namespace_node      *node,
                                                   >> 386         acpi_object_handler             handler,
                                                   >> 387         void                            *data);
226                                                   388 
227 acpi_status                                       389 acpi_status
228 acpi_ns_detach_data(struct acpi_namespace_node !! 390 acpi_ns_detach_data (
229                     acpi_object_handler handle !! 391         struct acpi_namespace_node      *node,
                                                   >> 392         acpi_object_handler             handler);
230                                                   393 
231 acpi_status                                       394 acpi_status
232 acpi_ns_get_attached_data(struct acpi_namespac !! 395 acpi_ns_get_attached_data (
233                           acpi_object_handler  !! 396         struct acpi_namespace_node      *node,
                                                   >> 397         acpi_object_handler             handler,
                                                   >> 398         void                            **data);
                                                   >> 399 
234                                                   400 
235 /*                                                401 /*
236  * nssearch - Namespace searching and entry    !! 402  * Namespace searching and entry - nssearch
237  */                                               403  */
                                                   >> 404 
238 acpi_status                                       405 acpi_status
239 acpi_ns_search_and_enter(u32 entry_name,       !! 406 acpi_ns_search_and_enter (
240                          struct acpi_walk_stat !! 407         u32                             entry_name,
241                          struct acpi_namespace !! 408         struct acpi_walk_state          *walk_state,
242                          acpi_interpreter_mode !! 409         struct acpi_namespace_node      *node,
243                          acpi_object_type type !! 410         acpi_interpreter_mode           interpreter_mode,
244                          u32 flags, struct acp !! 411         acpi_object_type                type,
                                                   >> 412         u32                             flags,
                                                   >> 413         struct acpi_namespace_node      **ret_node);
245                                                   414 
246 acpi_status                                       415 acpi_status
247 acpi_ns_search_one_scope(u32 entry_name,       !! 416 acpi_ns_search_node (
248                          struct acpi_namespace !! 417         u32                             entry_name,
249                          acpi_object_type type !! 418         struct acpi_namespace_node      *node,
250                          struct acpi_namespace !! 419         acpi_object_type                type,
                                                   >> 420         struct acpi_namespace_node      **ret_node);
251                                                   421 
252 void                                              422 void
253 acpi_ns_install_node(struct acpi_walk_state *w !! 423 acpi_ns_install_node (
254                      struct acpi_namespace_nod !! 424         struct acpi_walk_state          *walk_state,
255                      struct acpi_namespace_nod !! 425         struct acpi_namespace_node      *parent_node,
                                                   >> 426         struct acpi_namespace_node      *node,
                                                   >> 427         acpi_object_type                type);
                                                   >> 428 
256                                                   429 
257 /*                                                430 /*
258  * nsutils - Utility functions                 !! 431  * Utility functions - nsutils
259  */                                               432  */
260 u8 acpi_ns_valid_root_prefix(char prefix);     << 
261                                                   433 
262 acpi_object_type acpi_ns_get_type(struct acpi_ !! 434 u8
                                                   >> 435 acpi_ns_valid_root_prefix (
                                                   >> 436         char                            prefix);
                                                   >> 437 
                                                   >> 438 u8
                                                   >> 439 acpi_ns_valid_path_separator (
                                                   >> 440         char                            sep);
263                                                   441 
264 u32 acpi_ns_local(acpi_object_type type);      !! 442 acpi_object_type
                                                   >> 443 acpi_ns_get_type (
                                                   >> 444         struct acpi_namespace_node      *node);
                                                   >> 445 
                                                   >> 446 u32
                                                   >> 447 acpi_ns_local (
                                                   >> 448         acpi_object_type                type);
265                                                   449 
266 void                                              450 void
267 acpi_ns_report_error(char *module_name,        !! 451 acpi_ns_report_error (
268                      u32 line_number,          !! 452         char                            *module_name,
269                      char *internal_name, acpi !! 453         u32                             line_number,
                                                   >> 454         u32                             component_id,
                                                   >> 455         char                            *internal_name,
                                                   >> 456         acpi_status                     lookup_status);
270                                                   457 
271 void                                              458 void
272 acpi_ns_report_method_error(char *module_name, !! 459 acpi_ns_report_method_error (
273                             u32 line_number,   !! 460         char                            *module_name,
274                             char *message,     !! 461         u32                             line_number,
275                             struct acpi_namesp !! 462         u32                             component_id,
276                             char *path, acpi_s !! 463         char                            *message,
                                                   >> 464         struct acpi_namespace_node      *node,
                                                   >> 465         char                            *path,
                                                   >> 466         acpi_status                     lookup_status);
277                                                   467 
278 void acpi_ns_print_node_pathname(struct acpi_n !! 468 void
                                                   >> 469 acpi_ns_print_node_pathname (
                                                   >> 470         struct acpi_namespace_node      *node,
                                                   >> 471         char                            *msg);
279                                                   472 
280 acpi_status acpi_ns_build_internal_name(struct !! 473 acpi_status
                                                   >> 474 acpi_ns_build_internal_name (
                                                   >> 475         struct acpi_namestring_info     *info);
281                                                   476 
282 void acpi_ns_get_internal_name_length(struct a !! 477 void
                                                   >> 478 acpi_ns_get_internal_name_length (
                                                   >> 479         struct acpi_namestring_info     *info);
283                                                   480 
284 acpi_status acpi_ns_internalize_name(char *dot !! 481 acpi_status
                                                   >> 482 acpi_ns_internalize_name (
                                                   >> 483         char                            *dotted_name,
                                                   >> 484         char                            **converted_name);
285                                                   485 
286 acpi_status                                       486 acpi_status
287 acpi_ns_externalize_name(u32 internal_name_len !! 487 acpi_ns_externalize_name (
288                          char *internal_name,  !! 488         u32                             internal_name_length,
289                          u32 * converted_name_ !! 489         char                            *internal_name,
                                                   >> 490         u32                             *converted_name_length,
                                                   >> 491         char                            **converted_name);
                                                   >> 492 
                                                   >> 493 struct acpi_namespace_node *
                                                   >> 494 acpi_ns_map_handle_to_node (
                                                   >> 495         acpi_handle                     handle);
290                                                   496 
291 struct acpi_namespace_node *acpi_ns_map_handle !! 497 acpi_handle
                                                   >> 498 acpi_ns_convert_entry_to_handle(
                                                   >> 499         struct acpi_namespace_node      *node);
                                                   >> 500 
                                                   >> 501 void
                                                   >> 502 acpi_ns_terminate (
                                                   >> 503         void);
292                                                   504 
293 acpi_handle acpi_ns_convert_entry_to_handle(st !! 505 struct acpi_namespace_node *
                                                   >> 506 acpi_ns_get_parent_node (
                                                   >> 507         struct acpi_namespace_node      *node);
294                                                   508 
295 void acpi_ns_terminate(void);                  << 
296                                                   509 
297 struct acpi_namespace_node *acpi_ns_get_parent !! 510 struct acpi_namespace_node *
298                                                !! 511 acpi_ns_get_next_valid_node (
                                                   >> 512         struct acpi_namespace_node      *node);
299                                                   513 
300 struct acpi_namespace_node *acpi_ns_get_next_v << 
301                                                << 
302                                                << 
303                                                   514 
304 #endif                          /* __ACNAMESP_ !! 515 #endif /* __ACNAMESP_H__ */
305                                                   516 
  This page was automatically generated by the LXR engine.