Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/linux-2.6.39/drivers/acpi/acpica/
Ddsmethod.c157 mutex_desc->mutex.sync_level = method_desc->method.sync_level; in acpi_ds_create_method_mutex()
158 method_desc->method.mutex = mutex_desc; in acpi_ds_create_method_mutex()
194 if (obj_desc->method.thread_count == ACPI_UINT8_MAX) { in acpi_ds_begin_method_execution()
203 if (obj_desc->method.info_flags & ACPI_METHOD_SERIALIZED) { in acpi_ds_begin_method_execution()
209 if (!obj_desc->method.mutex) { in acpi_ds_begin_method_execution()
225 obj_desc->method.mutex->mutex.sync_level)) { in acpi_ds_begin_method_execution()
239 !obj_desc->method.mutex->mutex.thread_id || in acpi_ds_begin_method_execution()
241 obj_desc->method.mutex->mutex.thread_id)) { in acpi_ds_begin_method_execution()
247 acpi_ex_system_wait_mutex(obj_desc->method.mutex-> in acpi_ds_begin_method_execution()
257 obj_desc->method.mutex->mutex. in acpi_ds_begin_method_execution()
[all …]
Dnseval.c169 info->obj_desc->method.aml_start + 1, in acpi_ns_evaluate()
170 info->obj_desc->method.aml_length - 1)); in acpi_ns_evaluate()
327 next = next->method.mutex; in acpi_ns_exec_module_code_list()
331 prev->method.mutex = NULL; in acpi_ns_exec_module_code_list()
381 method_obj->method.next_object); in acpi_ns_exec_module_code()
392 method_obj->method.dispatch.handler = in acpi_ns_exec_module_code()
398 method_obj->method.next_object = NULL; in acpi_ns_exec_module_code()
428 method_obj->method.aml_start)); in acpi_ns_exec_module_code()
Dpsxface.c271 acpi_ds_create_walk_state(info->obj_desc->method.owner_id, NULL, in acpi_ps_execute_method()
279 info->obj_desc->method.aml_start, in acpi_ps_execute_method()
280 info->obj_desc->method.aml_length, info, in acpi_ps_execute_method()
287 if (info->obj_desc->method.info_flags & ACPI_METHOD_MODULE_LEVEL) { in acpi_ps_execute_method()
293 if (info->obj_desc->method.info_flags & ACPI_METHOD_INTERNAL_ONLY) { in acpi_ps_execute_method()
295 info->obj_desc->method.dispatch.implementation(walk_state); in acpi_ps_execute_method()
Dexdump.c125 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.info_flags), "Info Flags"},
126 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.param_count),
128 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.sync_level), "Sync Level"},
129 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(method.mutex), "Mutex"},
130 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.owner_id), "Owner Id"},
131 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.thread_count), "Thread Count"},
132 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET(method.aml_length), "Aml Length"},
133 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(method.aml_start), "Aml Start"}
682 obj_desc->method.param_count, in acpi_ex_dump_operand()
683 obj_desc->method.aml_start, in acpi_ex_dump_operand()
[all …]
Dexcreate.c481 obj_desc->method.aml_start = aml_start; in acpi_ex_create_method()
482 obj_desc->method.aml_length = aml_length; in acpi_ex_create_method()
490 obj_desc->method.param_count = in acpi_ex_create_method()
498 obj_desc->method.info_flags = ACPI_METHOD_SERIALIZED; in acpi_ex_create_method()
504 obj_desc->method.sync_level = (u8) in acpi_ex_create_method()
Dnsdump.c270 (u32) obj_desc->method.param_count, in acpi_ns_dump_one_object()
271 obj_desc->method.aml_length, in acpi_ns_dump_one_object()
272 obj_desc->method.aml_start); in acpi_ns_dump_one_object()
451 acpi_os_printf(" M:%p-%X\n", obj_desc->method.aml_start, in acpi_ns_dump_one_object()
452 obj_desc->method.aml_length); in acpi_ns_dump_one_object()
573 obj_desc = (void *)obj_desc->method.aml_start; in acpi_ns_dump_one_object()
Dnsxfname.c307 param_count = node->object->method.param_count; in acpi_get_object_info()
600 method_obj->method.aml_start = aml_buffer; in ACPI_EXPORT_SYMBOL()
601 method_obj->method.aml_length = aml_length; in ACPI_EXPORT_SYMBOL()
603 method_obj->method.param_count = (u8) in ACPI_EXPORT_SYMBOL()
607 method_obj->method.info_flags = ACPI_METHOD_SERIALIZED; in ACPI_EXPORT_SYMBOL()
609 method_obj->method.sync_level = (u8) in ACPI_EXPORT_SYMBOL()
/linux-2.6.39/drivers/mfd/
Dtwl4030-madc.c339 const struct twl4030_madc_conversion_method *method; in twl4030_madc_threaded_irq_handler() local
371 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler()
373 len = twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler()
397 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler()
399 len = twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler()
421 p = &madc->requests[req->method]; in twl4030_madc_set_irq()
423 ret = twl4030_madc_enable_irq(madc, req->method); in twl4030_madc_set_irq()
443 const struct twl4030_madc_conversion_method *method; in twl4030_madc_start_conversion() local
445 method = &twl4030_conversion_methods[conv_method]; in twl4030_madc_start_conversion()
450 TWL4030_MADC_SW_START, method->ctrl); in twl4030_madc_start_conversion()
[all …]
/linux-2.6.39/Documentation/acpi/
Dmethod-customizing.txt10 1. override an existing method which may not work correctly,
12 2. insert a completely new method in order to create a missing
13 method such as _OFF, _ON, _STA, _INI, etc.
15 control method rather than override the entire DSDT, because kernel
20 Note: The same ACPI control method can be overridden for many times,
25 1. override an existing method
29 c) rewrite the ASL code of the method and save it in a new file,
31 Here is an example of a customized \_SB._AC._PSR method,
43 Note that the full pathname of the method in ACPI namespace
46 e) assemble the file to generate the AML code of the method.
[all …]
Dmethod-tracing.txt4 The AML method name that the user wants to trace
7 The temporary debug_layer used when tracing the method.
11 The temporary debug_level used when tracing the method.
18 and the AML method is traced every time it's executed.
20 "1" means this feature is enabled and the AML method
Ddsdt-override.txt1 Linux supports a method of overriding the BIOS DSDT:
5 When to use this method is described in detail on the
/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_mad.c114 mad->mad_hdr.method == IB_MGMT_METHOD_SET) { in smp_snoop()
153 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP && in node_desc_override()
210 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && in mthca_process_mad()
224 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in mthca_process_mad()
225 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET && in mthca_process_mad()
226 in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS) in mthca_process_mad()
240 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in mthca_process_mad()
241 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET) in mthca_process_mad()
247 in_mad->mad_hdr.method == IB_MGMT_METHOD_SET && in mthca_process_mad()
278 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS) in mthca_process_mad()
/linux-2.6.39/drivers/infiniband/hw/mlx4/
Dmad.c158 mad->mad_hdr.method == IB_MGMT_METHOD_SET) { in smp_snoop()
196 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP && in node_desc_override()
245 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && slid == 0) { in mlx4_ib_process_mad()
252 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in mlx4_ib_process_mad()
253 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET && in mlx4_ib_process_mad()
254 in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS) in mlx4_ib_process_mad()
269 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET && in mlx4_ib_process_mad()
270 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET) in mlx4_ib_process_mad()
277 in_mad->mad_hdr.method == IB_MGMT_METHOD_SET && in mlx4_ib_process_mad()
298 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS) in mlx4_ib_process_mad()
/linux-2.6.39/drivers/infiniband/core/
Dmad.c67 static int method_in_use(struct ib_mad_mgmt_method_table **method,
161 struct ib_mad_mgmt_method_table *method; in is_vendor_method_in_use() local
166 method = vendor_class->method_table[i]; in is_vendor_method_in_use()
167 if (method) { in is_vendor_method_in_use()
168 if (method_in_use(&method, mad_reg_req)) in is_vendor_method_in_use()
180 return ((mad->mad_hdr.method & IB_MGMT_METHOD_RESP) || in ib_response_mad()
181 (mad->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS) || in ib_response_mad()
206 struct ib_mad_mgmt_method_table *method; in ib_register_mad_agent() local
335 method = class->method_table[mgmt_class]; in ib_register_mad_agent()
336 if (method) { in ib_register_mad_agent()
[all …]
/linux-2.6.39/arch/powerpc/boot/dts/
Diss4xx-mpic.dts45 dcr-access-method = "native";
59 dcr-access-method = "native";
61 enable-method = "spin-table";
75 dcr-access-method = "native";
77 enable-method = "spin-table";
91 dcr-access-method = "native";
93 enable-method = "spin-table";
/linux-2.6.39/arch/arm/plat-omap/
Dgpio.c141 int method; member
267 switch (bank->method) { in _set_gpio_direction()
315 switch (bank->method) { in _set_gpio_dataout()
387 switch (bank->method) { in _get_gpio_datain()
433 switch (bank->method) { in _get_gpio_dataout()
507 if (bank->method == METHOD_GPIO_44XX) in _set_gpio_debounce()
515 if (bank->method == METHOD_GPIO_44XX) in _set_gpio_debounce()
621 switch (bank->method) { in _toggle_gpio_edge_triggering()
654 switch (bank->method) { in _set_gpio_triggering()
772 switch (bank->method) { in _clear_gpio_irqbank()
[all …]
/linux-2.6.39/drivers/platform/x86/
Dasus-laptop.c185 const char *method; member
274 static int write_acpi_int_ret(acpi_handle handle, const char *method, int val, in write_acpi_int_ret() argument
289 status = acpi_evaluate_object(handle, (char *)method, &params, output); in write_acpi_int_ret()
296 static int write_acpi_int(acpi_handle handle, const char *method, int val) in write_acpi_int() argument
298 return write_acpi_int_ret(handle, method, val, NULL); in write_acpi_int()
301 static int acpi_check_handle(acpi_handle handle, const char *method, in acpi_check_handle() argument
306 if (method == NULL) in acpi_check_handle()
310 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle()
315 status = acpi_get_handle(handle, (char *)method, in acpi_check_handle()
321 pr_warning("Error finding %s\n", method); in acpi_check_handle()
[all …]
Dwmi.c253 char method[5]; in wmi_method_enable() local
270 snprintf(method, 5, "WE%02X", block->notify_id); in wmi_method_enable()
271 status = acpi_evaluate_object(handle, method, &input, NULL); in wmi_method_enable()
301 char method[5] = "WM"; in wmi_evaluate_method() local
334 strncat(method, block->object_id, 2); in wmi_evaluate_method()
336 status = acpi_evaluate_object(handle, method, &input, out); in wmi_evaluate_method()
359 char method[5]; in wmi_query_block() local
406 strcpy(method, "WQ"); in wmi_query_block()
407 strncat(method, block->object_id, 2); in wmi_query_block()
409 status = acpi_evaluate_object(handle, method, &input, out); in wmi_query_block()
[all …]
Deeepc-laptop.c191 static int write_acpi_int(acpi_handle handle, const char *method, int val) in write_acpi_int() argument
202 status = acpi_evaluate_object(handle, (char *)method, &params, NULL); in write_acpi_int()
206 static int read_acpi_int(acpi_handle handle, const char *method, int *val) in read_acpi_int() argument
211 status = acpi_evaluate_integer(handle, (char *)method, NULL, &result); in read_acpi_int()
223 const char *method = cm_setv[cm]; in set_acpi() local
225 if (method == NULL) in set_acpi()
230 if (write_acpi_int(eeepc->handle, method, value)) in set_acpi()
231 pr_warning("Error writing %s\n", method); in set_acpi()
237 const char *method = cm_getv[cm]; in get_acpi() local
240 if (method == NULL) in get_acpi()
[all …]
/linux-2.6.39/drivers/input/misc/
Dapanel.c292 unsigned char method, slave, chip; in apanel_init() local
294 method = readb(p + 1); in apanel_init()
319 else if (method != 1 && method != 2 && method != 4) { in apanel_init()
321 method, devno); in apanel_init()
/linux-2.6.39/Documentation/i2c/
Dold-module-parameters22 Old method (module parameters):
27 New method (sysfs interface):
33 Old method (module parameters):
36 New method (sysfs interface):
/linux-2.6.39/Documentation/filesystems/caching/
Dbackend-api.txt80 the cache method to be invoked, or
168 method is called to give the op CPU time, and the release method to get
192 do this, the retrieval->op.processor method pointer should be set
211 the write_page() method on the object at appropriate times to effect
237 This method is used to allocate a cache object representation to back a
243 will call the lookup_complete() method to allow the cache to release the
251 This method is used to look up an object, given that the object is already
255 The method should call fscache_object_lookup_negative() as soon as
270 This method is called to ask the cache to release any resources it was
278 This method is called to increment the reference count on an object. It
[all …]
/linux-2.6.39/Documentation/filesystems/
Dvfs.txt57 To look up an inode requires that the VFS calls the lookup() method of
58 the parent directory inode. This method is installed by the specific
74 These are taken from the inode data. The open() file method is then
81 file structure, and then calling the required file structure method to
99 the VFS will call the appropriate mount() method for the specific
132 mount: the method to call when a new instance of this
135 kill_sb: the method to call when an instance of this filesystem
145 The mount() method has the following arguments:
157 The mount() method must return the root dentry of the tree requested by
164 contains a suitable filesystem image the method creates and initializes
[all …]
/linux-2.6.39/drivers/net/sfc/
Defx.h108 extern int efx_reset(struct efx_nic *efx, enum reset_type method);
109 extern void efx_reset_down(struct efx_nic *efx, enum reset_type method);
110 extern int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
/linux-2.6.39/Documentation/networking/
Ddriver.txt5 1) The hard_start_xmit method must never return '1' under any
64 3) A hard_start_xmit method must not modify the shared parts of a
68 method, it is your driver's responsibility to free up the SKB
77 If you return 1 from the hard_start_xmit method, you must not keep

12345678910>>...14