Searched refs:method (Results 1 - 25 of 71) sorted by relevance

123

/drivers/acpi/acpica/
H A Ddsmethod.c3 * Module Name: dsmethod - Parser/Interpreter interface - control method parsing
69 * DESCRIPTION: Called on method error. Invoke the global exception handler if
70 * present, dump the method data if the disassembler is configured
97 * AE_OK, in which case the executing method will not be aborted.
114 /* Display method locals/args if disassembler is present */
127 * PARAMETERS: obj_desc - The method object
131 * DESCRIPTION: Create a mutex object for a serialized control method
157 mutex_desc->mutex.sync_level = method_desc->method.sync_level;
158 method_desc->method.mutex = mutex_desc;
166 * PARAMETERS: method_node - Node of the method
[all...]
H A Dnseval.c3 * Module Name: nseval - Object evaluation, includes control method execution
64 * Pathname - Name of method to execute, If NULL, the
66 * Parameters - List of parameters to pass to the method,
69 * return_object - Where to put method's return value (if
72 * return_object - Where to put method's return value (if
78 * DESCRIPTION: Execute a control method or return the current value of an
115 * For a method alias, we must grab the actual method node so that proper
134 * 1) The object is a control method -- execute it
135 * 2) The object is not a method
[all...]
H A Dpsxface.c74 * method execution
112 * DESCRIPTION: Start control method execution trace
157 * DESCRIPTION: Stop control method execution trace
199 * Parameters - List of parameters to pass to the method,
202 * return_object - Where to put method's return value (if
205 * return_object - Where to put method's return value (if
211 * DESCRIPTION: Execute a control method
227 /* Validate the Info and method Node */
233 /* Init for new method, wait on concurrency semaphore */
252 * Execute the method
[all...]
H A Dexcreate.c129 * Control method aliases need to be differentiated
311 * actually used at runtime, abort the executing method.
460 * PARAMETERS: aml_start - First byte of the method's AML
461 * aml_length - AML byte count for this method
466 * DESCRIPTION: Create a new method object
481 /* Create a new method object */
489 /* Save the method's AML pointer and length */
491 obj_desc->method.aml_start = aml_start;
492 obj_desc->method.aml_length = aml_length;
495 * Disassemble the method flag
[all...]
H A Dnsdump.c234 /* Temp nodes are those nodes created by a control method */
283 (u32) obj_desc->method.param_count,
284 obj_desc->method.aml_length,
285 obj_desc->method.aml_start);
464 acpi_os_printf(" M:%p-%X\n", obj_desc->method.aml_start,
465 obj_desc->method.aml_length);
586 obj_desc = (void *)obj_desc->method.aml_start;
H A Dnsxfname.c308 param_count = node->object->method.param_count;
326 /* Execute the Device._HID method */
334 /* Execute the Device._UID method */
342 /* Execute the Device._CID method */
378 /* Execute the Device._STA method */
385 /* Execute the Device._ADR method */
496 * PARAMETERS: Buffer - An ACPI table containing one control method
500 * DESCRIPTION: Install a control method into the namespace. If the method
503 * single control method
[all...]
H A 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"}
685 obj_desc->method.param_count,
686 obj_desc->method
[all...]
H A Dnsaccess.c154 obj_desc->method.param_count =
162 new_node->value = obj_desc->method.param_count;
164 /* Mark this as a very SPECIAL method */
166 obj_desc->method.info_flags =
168 obj_desc->method.dispatch.implementation =
H A Dutdelete.c203 /* Delete the method mutex if it exists */
205 if (object->method.mutex) {
206 acpi_os_delete_mutex(object->method.mutex->mutex.
208 acpi_ut_delete_object_desc(object->method.mutex);
209 object->method.mutex = NULL;
220 * are installed in this list. (Not created within a method)
H A Dpsloop.c255 * there may be method calls within the term_arg elements of the body.)
459 * executable opcodes that appear outside of any control method.
538 * Skip parsing of control method because we don't have enough
548 /* Skip body of method */
612 * DESCRIPTION: Wrap the module-level code with a method object and link the
613 * object to the global list. Note, the mutex field of the method
632 next = next->method.mutex;
640 ((prev->method.aml_start + prev->method.aml_length) != aml_start)) {
642 /* Create, initialize, and link a new temporary method objec
[all...]
/drivers/mfd/
H A Dtwl4030-madc.c339 const struct twl4030_madc_conversion_method *method; local
368 /* No pending results for this method, move to next one */
371 method = &twl4030_conversion_methods[r->method];
373 len = twl4030_madc_read_channels(madc, method->rbase,
397 method = &twl4030_conversion_methods[r->method];
399 len = twl4030_madc_read_channels(madc, method->rbase,
421 p = &madc->requests[req->method];
423 ret = twl4030_madc_enable_irq(madc, req->method);
443 const struct twl4030_madc_conversion_method *method; local
509 const struct twl4030_madc_conversion_method *method; local
[all...]
/drivers/infiniband/core/
H A Dsa.h53 u8 method,
H A Dmad.c68 static int method_in_use(struct ib_mad_mgmt_method_table **method,
162 struct ib_mad_mgmt_method_table *method; local
167 method = vendor_class->method_table[i];
168 if (method) {
169 if (method_in_use(&method, mad_reg_req))
181 return ((mad->mad_hdr.method & IB_MGMT_METHOD_RESP) ||
182 (mad->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS) ||
207 struct ib_mad_mgmt_method_table *method; local
343 method = class->method_table[mgmt_class];
344 if (method) {
1198 method_in_use(struct ib_mad_mgmt_method_table **method, struct ib_mad_reg_req *mad_reg_req) argument
1212 allocate_method_table(struct ib_mad_mgmt_method_table **method) argument
1228 check_method_table(struct ib_mad_mgmt_method_table *method) argument
1285 remove_methods_mad_agent(struct ib_mad_mgmt_method_table *method, struct ib_mad_agent_private *agent) argument
1304 struct ib_mad_mgmt_method_table **method; local
1367 struct ib_mad_mgmt_method_table **method; local
1465 struct ib_mad_mgmt_method_table *method; local
1583 struct ib_mad_mgmt_method_table *method; local
[all...]
/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c114 mad->mad_hdr.method == IB_MGMT_METHOD_SET) {
153 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP &&
209 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP &&
223 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET &&
224 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET &&
225 in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS)
239 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET &&
240 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET)
246 in_mad->mad_hdr.method == IB_MGMT_METHOD_SET &&
271 if (in_mad->mad_hdr.method
[all...]
/drivers/sfi/
H A DKconfig8 The Simple Firmware Interface (SFI) provides a lightweight method
/drivers/input/misc/
H A Dapanel.c292 unsigned char method, slave, chip; local
294 method = readb(p + 1);
319 else if (method != 1 && method != 2 && method != 4) {
320 pr_notice(APANEL ": unknown method %u for devno %u\n",
321 method, devno);
/drivers/net/ppp/
H A DKconfig41 Support for the BSD-Compress compression method for PPP, which uses
42 the LZW compression method to compress each PPP packet before it is
45 method as well for this to be useful. Even if they don't support it,
48 The PPP Deflate compression method ("PPP Deflate compression",
62 Support for the Deflate compression method for PPP, which uses the
66 Deflate compression method as well for this to be useful. Even if
96 configuring PPTP clients and servers to utilize this method.
/drivers/infiniband/hw/mlx4/
H A Dmad.c160 mad->mad_hdr.method == IB_MGMT_METHOD_SET) {
198 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP &&
247 if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && slid == 0) {
254 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET &&
255 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET &&
256 in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS)
268 if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET &&
269 in_mad->mad_hdr.method != IB_MGMT_METHOD_SET)
276 in_mad->mad_hdr.method == IB_MGMT_METHOD_SET &&
297 if (in_mad->mad_hdr.method
[all...]
/drivers/net/ethernet/sfc/
H A Defx.h111 extern int efx_reset(struct efx_nic *efx, enum reset_type method);
112 extern void efx_reset_down(struct efx_nic *efx, enum reset_type method);
113 extern int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok);
/drivers/platform/x86/
H A Dasus-laptop.c233 const char *method; member in struct:asus_led
343 * This function evaluates an ACPI method, given an int as parameter, the
344 * method is searched within the scope of the handle, can be NULL. The output
345 * of the method is written is output, which can also be NULL
349 static int write_acpi_int_ret(acpi_handle handle, const char *method, int val, argument
364 status = acpi_evaluate_object(handle, (char *)method, &params, output);
371 static int write_acpi_int(acpi_handle handle, const char *method, int val) argument
373 return write_acpi_int_ret(handle, method, val, NULL);
376 static int acpi_check_handle(acpi_handle handle, const char *method, argument
381 if (method
412 char *method = enable ? METHOD_PEGA_ENABLE : METHOD_PEGA_DISABLE; local
416 pega_acc_axis(struct asus_laptop *asus, int curr, char *method) argument
524 asus_led_set(struct asus_laptop *asus, const char *method, int value) argument
653 asus_led_register(struct asus_laptop *asus, struct asus_led *led, const char *name, const char *method) argument
914 sysfs_acpi_set(struct asus_laptop *asus, const char *buf, size_t count, const char *method) argument
[all...]
H A Dwmi.c81 #define ACPI_WMI_METHOD 0x2 /* GUID is a method */
254 char method[5]; local
271 snprintf(method, 5, "WE%02X", block->notify_id);
272 status = acpi_evaluate_object(handle, method, &input, NULL);
284 * wmi_evaluate_method - Evaluate a WMI method
288 * &in: Buffer containing input for the method call
289 * &out: Empty buffer to return the method results
291 * Call an ACPI-WMI method
302 char method[5] = "WM"; local
335 strncat(method, bloc
360 char method[5]; local
442 char method[5] = "WS"; local
[all...]
H A Deeepc-laptop.c191 static int write_acpi_int(acpi_handle handle, const char *method, int val) argument
202 status = acpi_evaluate_object(handle, (char *)method, &params, NULL);
206 static int read_acpi_int(acpi_handle handle, const char *method, int *val) argument
211 status = acpi_evaluate_integer(handle, (char *)method, NULL, &result);
223 const char *method = cm_setv[cm]; local
225 if (method == NULL)
230 if (write_acpi_int(eeepc->handle, method, value))
231 pr_warn("Error writing %s\n", method);
237 const char *method = cm_getv[cm]; local
240 if (method
253 const char *method = cm_setv[cm]; local
[all...]
/drivers/i2c/busses/
H A Di2c-scmi.c94 char *method; local
163 method = smbus_cmi->methods->mt_sbr;
167 method = smbus_cmi->methods->mt_sbw;
179 status = acpi_evaluate_object(smbus_cmi->handle, method, &input,
182 ACPI_ERROR((AE_INFO, "Evaluating %s: %i", method, status));
202 method, result));
337 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Unsupported CMI method: %s\n",
/drivers/infiniband/hw/ehca/
H A Dehca_sqp.c156 ehca_dbg(ibdev, "method=%x", in_perf->mad_hdr.method);
167 switch (in_perf->mad_hdr.method) {
214 out_perf->mad_hdr.method = IB_MGMT_METHOD_GET_RESP;
/drivers/scsi/aic94xx/
H A Daic94xx_sds.c1160 switch (asd_ha->hw_prof.flash.method) {
1284 switch (asd_ha->hw_prof.flash.method) {
1333 asd_ha->hw_prof.flash.method = FLASH_METHOD_UNKNOWN;
1366 asd_ha->hw_prof.flash.method = FLASH_METHOD_A;
1376 asd_ha->hw_prof.flash.method = FLASH_METHOD_A;
1386 asd_ha->hw_prof.flash.method = FLASH_METHOD_A;
1393 asd_ha->hw_prof.flash.method = FLASH_METHOD_A;
1399 if (asd_ha->hw_prof.flash.method == FLASH_METHOD_UNKNOWN) {
1427 asd_ha->hw_prof.flash.method = FLASH_METHOD_B;
1436 asd_ha->hw_prof.flash.method
[all...]

Completed in 7586 milliseconds

123