/linux-master/drivers/platform/x86/ |
H A D | asus-laptop.c | 219 const char *method; member in struct:asus_led 355 * This function evaluates an ACPI method, given an int as parameter, the 356 * method is searched within the scope of the handle, can be NULL. The output 357 * of the method is written is output, which can also be NULL 361 static int write_acpi_int_ret(acpi_handle handle, const char *method, int val, argument 376 status = acpi_evaluate_object(handle, (char *)method, ¶ms, output); 383 static int write_acpi_int(acpi_handle handle, const char *method, int val) argument 385 return write_acpi_int_ret(handle, method, val, NULL); 388 static int acpi_check_handle(acpi_handle handle, const char *method, argument 393 if (method 424 char *method = enable ? METHOD_PEGA_ENABLE : METHOD_PEGA_DISABLE; local 428 pega_acc_axis(struct asus_laptop *asus, int curr, char *method) argument 537 asus_led_set(struct asus_laptop *asus, const char *method, int value) argument 659 asus_led_register(struct asus_laptop *asus, struct asus_led *led, const char *name, const char *method) argument 913 sysfs_acpi_set(struct asus_laptop *asus, const char *buf, size_t count, const char *method) argument [all...] |
H A D | system76_acpi.c | 76 static int system76_get(struct system76_data *data, char *method) argument 83 status = acpi_evaluate_integer(handle, method, NULL, &ret); 90 static int system76_get_index(struct system76_data *data, char *method, int index) argument 104 status = acpi_evaluate_integer(handle, method, &obj_list, &ret); 111 static int system76_get_object(struct system76_data *data, char *method, union acpi_object **obj) argument 118 status = acpi_evaluate_object(handle, method, NULL, &buf); 139 static int system76_set(struct system76_data *data, char *method, int value) argument 151 status = acpi_evaluate_object(handle, method, &obj_list, NULL); 686 // Some models do not run open EC firmware. Check for an ACPI method
|
H A D | eeepc-laptop.c | 183 static int write_acpi_int(acpi_handle handle, const char *method, int val) argument 187 status = acpi_execute_simple_method(handle, (char *)method, val); 192 static int read_acpi_int(acpi_handle handle, const char *method, int *val) argument 197 status = acpi_evaluate_integer(handle, (char *)method, NULL, &result); 209 const char *method = cm_setv[cm]; local 211 if (method == NULL) 216 if (write_acpi_int(eeepc->handle, method, value)) 217 pr_warn("Error writing %s\n", method); 223 const char *method = cm_getv[cm]; local 226 if (method 239 const char *method = cm_setv[cm]; local [all...] |
/linux-master/drivers/platform/x86/dell/ |
H A D | dell-wmi-ddv.c | 132 static int dell_wmi_ddv_query_type(struct wmi_device *wdev, enum dell_ddv_method method, u32 arg, argument 143 ret = wmidev_evaluate_method(wdev, 0x0, method, &in, &out); 161 static int dell_wmi_ddv_query_integer(struct wmi_device *wdev, enum dell_ddv_method method, argument 167 ret = dell_wmi_ddv_query_type(wdev, method, arg, &obj, ACPI_TYPE_INTEGER); 181 static int dell_wmi_ddv_query_buffer(struct wmi_device *wdev, enum dell_ddv_method method, argument 188 ret = dell_wmi_ddv_query_type(wdev, method, arg, &obj, ACPI_TYPE_PACKAGE); 227 static int dell_wmi_ddv_query_string(struct wmi_device *wdev, enum dell_ddv_method method, argument 230 return dell_wmi_ddv_query_type(wdev, method, arg, result, ACPI_TYPE_STRING); 236 static int dell_wmi_ddv_update_sensors(struct wmi_device *wdev, enum dell_ddv_method method, argument 252 ret = dell_wmi_ddv_query_buffer(wdev, method, 541 dell_wmi_ddv_channel_init(struct wmi_device *wdev, enum dell_ddv_method method, struct dell_wmi_ddv_sensors *sensors, size_t entry_size, enum hwmon_sensor_types type, u32 config) argument 761 dell_wmi_ddv_buffer_read(struct seq_file *seq, enum dell_ddv_method method) argument [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | nsdump.c | 209 /* Temp nodes are those nodes created by a control method */ 259 (u32) obj_desc->method.param_count, 260 obj_desc->method.aml_length, 261 obj_desc->method.aml_start); 442 acpi_os_printf(" M:%p-%X\n", obj_desc->method.aml_start, 443 obj_desc->method.aml_length); 570 obj_desc = (void *)obj_desc->method.aml_start;
|
H A D | nseval.c | 4 * Module Name: nseval - Object evaluation, includes control method execution 24 * relative_path - Name of method to execute, If NULL, the 26 * parameters - List of parameters to pass to the method, 30 * return_object - Where to put method's return value (if 36 * DESCRIPTION: Execute a control method or return the current value of an 70 * For a method alias, we must grab the actual method node so that 138 * this method/object matches the actual ASL/AML definition. 151 * 2) The object is a control method -- execute it 152 * 3) The object is not a method [all...] |
H A D | nsaccess.c | 155 obj_desc->method.param_count = 163 new_node->value = obj_desc->method.param_count; 165 /* Mark this as a very SPECIAL method (_OSI) */ 167 obj_desc->method.info_flags = 169 obj_desc->method.dispatch.implementation =
|
H A D | dsdebug.c | 83 * DESCRIPTION: Called when a method has been aborted because of an error. 84 * Dumps the method execution stack. 116 * If there is no Thread, we are not actually executing a method. 125 /* Display exception and method name */ 128 "\n**** Exception %s during execution of method ", 145 method_desc->method.node, 154 /* First method is the currently executing method */ 179 * This method has called another method [all...] |
H A D | nsxfeval.c | 28 * external_params - List of parameters to pass to a method, 149 * external_params - List of parameters to pass to method, 152 * return_buffer - Where to put method's return value (if 280 /* Check incoming argument count against the method definition */ 282 if (info->obj_desc->method.param_count > info->param_count) { 286 info->obj_desc->method.param_count)); 292 else if (info->obj_desc->method.param_count < info->param_count) { 296 info->obj_desc->method.param_count)); 300 info->param_count = info->obj_desc->method.param_count; 305 * method mus [all...] |
H A D | exdump.c | 92 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.info_flags), "Info Flags"}, 93 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.param_count), 95 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.sync_level), "Sync Level"}, 96 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(method.mutex), "Mutex"}, 97 {ACPI_EXD_UINT16, ACPI_EXD_OFFSET(method.owner_id), "Owner Id"}, 98 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(method.thread_count), "Thread Count"}, 99 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET(method.aml_length), "Aml Length"}, 100 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(method.aml_start), "Aml Start"} 817 obj_desc->method.param_count, 818 obj_desc->method [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | aldebaran.c | 53 if (reset_context->method == AMD_RESET_METHOD_NONE) { 55 reset_context->method = AMD_RESET_METHOD_MODE2; 57 reset_context->method = amdgpu_asic_reset_method(adev); 60 if (reset_context->method != AMD_RESET_METHOD_NONE) { 61 dev_dbg(adev->dev, "Getting reset handler for method %d\n", 62 reset_context->method); 64 if (handler->reset_method == reset_context->method)
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-scmi.c | 87 char *method; local 157 method = smbus_cmi->methods->mt_sbr; 161 method = smbus_cmi->methods->mt_sbw; 173 status = acpi_evaluate_object(smbus_cmi->handle, method, &input, 177 "Failed to evaluate %s: %i\n", method, status); 196 acpi_handle_debug(smbus_cmi->handle, "%s return status: %i\n", method, 335 acpi_handle_debug(handle, "Unsupported CMI method: %s\n", name);
|
/linux-master/include/rdma/ |
H A D | ib_smi.h | 22 u8 method; member in struct:ib_smp 156 mad->method = IB_MGMT_METHOD_GET;
|
/linux-master/include/linux/netfilter/ |
H A D | nf_conntrack_sip.h | 41 const char *method; member in struct:sip_handler 55 .method = (__method), \
|
/linux-master/net/bluetooth/ |
H A D | smp.c | 121 u8 method; member in struct:smp_chan 869 * function. If either side has MITM look up the method from the 873 smp->method = JUST_CFM; 875 smp->method = get_auth_method(smp, local_io, remote_io); 878 if (smp->method == JUST_CFM && test_bit(SMP_FLAG_INITIATOR, 880 smp->method = JUST_WORKS; 883 if (smp->method == JUST_CFM && 885 smp->method = JUST_WORKS; 889 if (smp->method == JUST_WORKS) { 907 if (smp->method ! 1838 u8 method; local 1998 u8 method; local 2700 u8 local_mitm, remote_mitm, local_io, remote_io, method; local [all...] |
/linux-master/drivers/gpu/drm/tegra/ |
H A D | falcon.h | 112 void falcon_execute_method(struct falcon *falcon, u32 method, u32 data);
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxgk20a.c | 61 gf100_gr_mthd(gr, gr->method);
|
H A D | ctxgm20b.c | 64 gf100_gr_mthd(gr, gr->method);
|
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | ioctl.h | 65 __u8 method; member in struct:nvif_ioctl_mthd_v0 67 __u8 data[]; /* method data (class.h) */
|
/linux-master/include/linux/ |
H A D | arm-smccc.h | 564 int method = arm_smccc_1_1_get_conduit(); \ 565 switch (method) { \ 574 method = SMCCC_CONDUIT_NONE; \ 577 method; \
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | efx.h | 193 int ef4_reset(struct ef4_nic *efx, enum reset_type method); 194 void ef4_reset_down(struct ef4_nic *efx, enum reset_type method); 195 int ef4_reset_up(struct ef4_nic *efx, enum reset_type method, bool ok);
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | mcg.c | 289 mad.mad_hdr.method = IB_SA_METHOD_DELETE; 330 mad.mad_hdr.method = IB_MGMT_METHOD_GET_RESP; 650 u8 method; local 664 method = group->response_sa_mad.mad_hdr.method; 676 if (method == IB_MGMT_METHOD_GET_RESP) { 686 } else if (method == IB_SA_METHOD_DELETE_RESP && group->demux->flushing) 696 if (method == IB_MGMT_METHOD_GET_RESP) { 718 if (req->sa_mad.mad_hdr.method == IB_SA_METHOD_DELETE) 890 switch (mad->mad_hdr.method) { [all...] |
/linux-master/scripts/ |
H A D | asn1_compiler.c | 693 enum asn1_method method : 8; member in struct:element 865 element->method = ASN1_PRIM; 940 element->method |= ASN1_CONS; 945 element->method = ASN1_PRIM; 967 element->method = ASN1_CONS; 1032 element->method = ASN1_CONS; 1049 element->method = ASN1_CONS; 1218 if (e->class == 0 && e->method == 0 && e->tag == 0) 1223 asn1_methods[e->method], 1228 asn1_methods[e->method], [all...] |
/linux-master/tools/hv/ |
H A D | hv_kvp_daemon.c | 1387 * method=<protocol> (where <protocol> is "auto" if DHCP is configured 1546 * For ipv4, set method to manual only when dhcp_enabled is 1549 * set method to 'disabled'. 1551 * For ipv6, set method to manual when we configure ipv6 1552 * addresses. Otherwise set method to 'auto' so that SLAAC from 1557 error = kvp_write_file(nmfile, "method", "", 1562 error = kvp_write_file(nmfile, "method", "", 1567 error = kvp_write_file(nmfile, "method", "", 1574 error = kvp_write_file(nmfile, "method", "", 1579 error = kvp_write_file(nmfile, "method", "", [all...] |
/linux-master/drivers/scsi/aic94xx/ |
H A D | aic94xx_sds.c | 1147 switch (asd_ha->hw_prof.flash.method) { 1271 switch (asd_ha->hw_prof.flash.method) { 1320 asd_ha->hw_prof.flash.method = FLASH_METHOD_UNKNOWN; 1353 asd_ha->hw_prof.flash.method = FLASH_METHOD_A; 1363 asd_ha->hw_prof.flash.method = FLASH_METHOD_A; 1373 asd_ha->hw_prof.flash.method = FLASH_METHOD_A; 1380 asd_ha->hw_prof.flash.method = FLASH_METHOD_A; 1386 if (asd_ha->hw_prof.flash.method == FLASH_METHOD_UNKNOWN) { 1414 asd_ha->hw_prof.flash.method = FLASH_METHOD_B; 1423 asd_ha->hw_prof.flash.method [all...] |