| /linux/drivers/acpi/acpica/ |
| H A D | dsmethod.c | 70 op = acpi_ps_alloc_op(AML_METHOD_OP, obj_desc->method.aml_start); in acpi_ds_auto_serialize_method() 88 obj_desc->method.aml_start, in acpi_ds_auto_serialize_method() 89 obj_desc->method.aml_length, NULL, 0); in acpi_ds_auto_serialize_method() 146 walk_state->method_desc->method.sync_level = 0; in acpi_ds_detect_named_opcodes() 147 walk_state->method_desc->method.info_flags |= in acpi_ds_detect_named_opcodes() 269 mutex_desc->mutex.sync_level = method_desc->method.sync_level; in acpi_ds_create_method_mutex() 270 method_desc->method.mutex = mutex_desc; in acpi_ds_create_method_mutex() 308 if (obj_desc->method.thread_count == ACPI_UINT8_MAX) { in acpi_ds_begin_method_execution() 317 if (obj_desc->method.info_flags & ACPI_METHOD_SERIALIZED) { in acpi_ds_begin_method_execution() 323 if (!obj_desc->method.mutex) { in acpi_ds_begin_method_execution() [all …]
|
| H A D | dbmethod.c | 271 struct acpi_namespace_node *method; in acpi_db_disassemble_method() local 273 method = acpi_db_convert_to_node(name); in acpi_db_disassemble_method() 274 if (!method) { in acpi_db_disassemble_method() 278 if (method->type != ACPI_TYPE_METHOD) { in acpi_db_disassemble_method() 280 name, acpi_ut_get_type_name(method->type))); in acpi_db_disassemble_method() 284 obj_desc = method->object; in acpi_db_disassemble_method() 286 op = acpi_ps_create_scope_op(obj_desc->method.aml_start); in acpi_db_disassemble_method() 299 obj_desc->method.aml_start, in acpi_db_disassemble_method() 300 obj_desc->method.aml_length, NULL, in acpi_db_disassemble_method() 306 status = acpi_ut_allocate_owner_id(&obj_desc->method.owner_id); in acpi_db_disassemble_method() [all …]
|
| H A D | psxface.c | 124 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_method() 134 acpi_ds_create_walk_state(info->obj_desc->method.owner_id, NULL, in acpi_ps_execute_method() 142 info->obj_desc->method.aml_start, in acpi_ps_execute_method() 143 info->obj_desc->method.aml_length, info, in acpi_ps_execute_method() 153 if (info->obj_desc->method.info_flags & ACPI_METHOD_MODULE_LEVEL) { in acpi_ps_execute_method() 159 if (info->obj_desc->method.info_flags & ACPI_METHOD_INTERNAL_ONLY) { in acpi_ps_execute_method() 161 info->obj_desc->method.dispatch.implementation(walk_state); in acpi_ps_execute_method() 249 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_table() 258 acpi_ds_create_walk_state(info->obj_desc->method.owner_id, NULL, in acpi_ps_execute_table() 266 info->obj_desc->method.aml_start, in acpi_ps_execute_table() [all …]
|
| /linux/arch/arm/mm/ |
| H A D | proc-v7-bugs.c | 66 static unsigned int spectre_v2_install_workaround(unsigned int method) in spectre_v2_install_workaround() argument 74 switch (method) { in spectre_v2_install_workaround() 109 static unsigned int spectre_v2_install_workaround(unsigned int method) in spectre_v2_install_workaround() argument 119 unsigned int state, method = 0; in cpu_v7_spectre_v2_init() local 129 method = SPECTRE_V2_METHOD_BPIALL; in cpu_v7_spectre_v2_init() 135 method = SPECTRE_V2_METHOD_ICIALLU; in cpu_v7_spectre_v2_init() 161 method = SPECTRE_V2_METHOD_HVC; in cpu_v7_spectre_v2_init() 165 method = SPECTRE_V2_METHOD_SMC; in cpu_v7_spectre_v2_init() 175 state = spectre_v2_install_workaround(method); in cpu_v7_spectre_v2_init() 177 spectre_v2_update_state(state, method); in cpu_v7_spectre_v2_init() [all …]
|
| /linux/arch/arm64/boot/dts/cavium/ |
| H A D | thunder-88xx.dtsi | 58 method = "smc"; 69 enable-method = "psci"; 75 enable-method = "psci"; 81 enable-method = "psci"; 87 enable-method = "psci"; 93 enable-method = "psci"; 99 enable-method = "psci"; 105 enable-method = "psci"; 111 enable-method = "psci"; 117 enable-method = "psci"; [all …]
|
| /linux/Documentation/firmware-guide/acpi/ |
| H A D | method-tracing.rst | 15 method tracing facility. 20 ACPICA provides method tracing capability. And two functions are 33 But when the particular layer/level is applied to the control method 37 logs when the control method evaluation is started, and disable the 38 detailed logging when the control method evaluation is stopped. 52 control method is being evaluated:: 58 # echo "method" > /sys/module/acpi/parameters/trace_state 61 control method is being evaluated for the first time:: 67 # echo "method-once" > /sys/module/acpi/parameters/trace_state 74 Full path of a control method that can be found in the ACPI namespace. [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | charge_reserved_hugetlb.sh | 167 local method="$6" 192 if [[ "$method" == "1" ]] || [[ "$method" == 2 ]] || 196 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output & 229 "$cgroup" "$path" "$method" "$private" "$reserve" 285 local method="$7" 305 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \ 333 local method="${12}" 359 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \ 376 "$populate2" "$write2" "/mnt/huge/test2" "$method" "$private" \ 411 for method in 0 1 2; do [all …]
|
| H A D | write_to_hugetlbfs.c | 21 enum method { enum 73 enum method method = MAX_METHOD; in main() local 103 method = atoi(optarg); in main() 152 if (method == MAX_METHOD) { in main() 157 printf("Using method=%d\n", method); in main() 169 switch (method) { in main() 242 if (method == HUGETLBFS) in main()
|
| /linux/arch/arm/kernel/ |
| H A D | spectre.c | 26 void spectre_v2_update_state(unsigned int state, unsigned int method) in spectre_v2_update_state() argument 30 spectre_v2_methods |= method; in spectre_v2_update_state() 36 const char *method; in cpu_show_spectre_v2() local 49 method = "Branch predictor hardening"; in cpu_show_spectre_v2() 53 method = "I-cache invalidation"; in cpu_show_spectre_v2() 58 method = "Firmware call"; in cpu_show_spectre_v2() 62 method = "History overwrite"; in cpu_show_spectre_v2() 66 method = "Multiple mitigations"; in cpu_show_spectre_v2() 70 return sprintf(buf, "Mitigation: %s\n", method); in cpu_show_spectre_v2()
|
| /linux/arch/arm64/boot/dts/amd/ |
| H A D | elba-16core.dtsi | 47 enable-method = "psci"; 55 enable-method = "psci"; 63 enable-method = "psci"; 71 enable-method = "psci"; 86 enable-method = "psci"; 94 enable-method = "psci"; 102 enable-method = "psci"; 110 enable-method = "psci"; 125 enable-method = "psci"; 133 enable-method = "psci"; [all …]
|
| /linux/arch/sh/boards/ |
| H A D | of-generic.c | 59 const char *method = NULL; in sh_of_smp_probe() local 70 if (!method) in sh_of_smp_probe() 71 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe() 78 if (!method) { in sh_of_smp_probe() 80 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe() 84 pr_info("CPU enable method: %s\n", method); in sh_of_smp_probe() 85 if (method) in sh_of_smp_probe() 86 for (; m->method; m++) in sh_of_smp_probe() 87 if (!strcmp(m->method, method)) { in sh_of_smp_probe()
|
| /linux/drivers/iio/adc/ |
| H A D | twl4030-madc.c | 133 u16 method; member 184 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read() 468 const struct twl4030_madc_conversion_method *method; in twl4030_madc_threaded_irq_handler() local 500 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler() 502 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler() 521 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler() 523 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler() 545 const struct twl4030_madc_conversion_method *method; in twl4030_madc_start_conversion() local 551 method = &twl4030_conversion_methods[conv_method]; in twl4030_madc_start_conversion() 553 method->ctrl); in twl4030_madc_start_conversion() [all …]
|
| /linux/arch/arm64/boot/dts/marvell/ |
| H A D | armada-ap810-ap0-octa-core.dtsi | 19 enable-method = "psci"; 25 enable-method = "psci"; 31 enable-method = "psci"; 37 enable-method = "psci"; 43 enable-method = "psci"; 49 enable-method = "psci"; 55 enable-method = "psci"; 61 enable-method = "psci";
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hip07.dtsi | 18 method = "smc"; 271 enable-method = "psci"; 280 enable-method = "psci"; 289 enable-method = "psci"; 298 enable-method = "psci"; 307 enable-method = "psci"; 316 enable-method = "psci"; 325 enable-method = "psci"; 334 enable-method = "psci"; 343 enable-method = "psci"; [all …]
|
| H A D | hip05.dtsi | 18 method = "smc"; 88 enable-method = "psci"; 96 enable-method = "psci"; 104 enable-method = "psci"; 112 enable-method = "psci"; 120 enable-method = "psci"; 128 enable-method = "psci"; 136 enable-method = "psci"; 144 enable-method = "psci"; 152 enable-method = "psci"; [all …]
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt6755.dtsi | 18 method = "smc"; 28 enable-method = "psci"; 35 enable-method = "psci"; 42 enable-method = "psci"; 49 enable-method = "psci"; 56 enable-method = "psci"; 63 enable-method = "psci"; 70 enable-method = "psci"; 77 enable-method = "psci";
|
| /linux/arch/arm64/boot/dts/arm/ |
| H A D | foundation-v8-psci.dtsi | 10 method = "smc"; 15 enable-method = "psci"; 19 enable-method = "psci"; 23 enable-method = "psci"; 27 enable-method = "psci";
|
| /linux/Documentation/devicetree/bindings/arm/cpu-enable-method/ |
| H A D | marvell,berlin-smp | 2 Secondary CPU enable-method "marvell,berlin-smp" binding 5 This document describes the "marvell,berlin-smp" method for enabling secondary 6 CPUs. To apply to all CPUs, a single "marvell,berlin-smp" enable method should 9 Enable method name: "marvell,berlin-smp" 15 This enable method needs valid nodes compatible with "arm,cortex-a9-scu" and 23 enable-method = "marvell,berlin-smp";
|
| /linux/Documentation/wmi/ |
| H A D | acpi-interface.rst | 32 0x10 2 2 character method ID or single byte notification ID. 37 The WMI object flags control whether the method or notification ID is used: 43 of method ID. 46 The method/notification ID is used to construct the ACPI method names used for 53 by this required ACPI method. The last two characters of the ACPI method name 54 are the method ID of the data block to query. Their single parameter is an 69 characters of the ACPI method name are the method ID of the data block 72 describing the WMI method ID to execute, and the third parameter is a buffer 73 containing the WMI method parameters. If the data block is marked as containing 75 method will return the result of the executed WMI method. [all …]
|
| /linux/drivers/platform/x86/ |
| H A D | msi-wmi-platform.c | 89 enum msi_wmi_platform_method method; member 144 enum msi_wmi_platform_method method, u8 *input, in msi_wmi_platform_query() argument 164 status = wmidev_evaluate_method(data->wdev, 0x0, method, &in, &out); in msi_wmi_platform_query() 249 ret = msi_wmi_platform_query(data->data, data->method, payload, data->length, data->buffer, in msi_wmi_platform_write() 296 const char *name, enum msi_wmi_platform_method method) in msi_wmi_platform_debugfs_add() argument 306 data->method = method; in msi_wmi_platform_debugfs_add() 323 int ret, method; in msi_wmi_platform_debugfs_init() local 335 for (method = MSI_PLATFORM_GET_PACKAGE; method <= MSI_PLATFORM_GET_WMI; method++) in msi_wmi_platform_debugfs_init() 336 msi_wmi_platform_debugfs_add(data, dir, msi_wmi_platform_debugfs_names[method - 1], in msi_wmi_platform_debugfs_init() 337 method); in msi_wmi_platform_debugfs_init()
|
| /linux/tools/testing/selftests/tc-testing/creating-plugins/ |
| H A D | AddingPlugins.txt | 43 This method takes a testcount (number of tests to be run) and 47 and the post_suite method can refer to it when dumping the "skipped" 52 post-suite method using this info passed in to the pre_suite method. 57 The post_suite method will receive the ordinal number of the last 64 The pre_case method will receive the ordinal number of the test 70 The adjust_command method receives a string representing 84 The adjust_command method must return the adjusted command so tdc 90 The add_args method receives the argparser object and can add 95 The add_args method should return the argparser object. 100 The check_args method is so that the plugin can do validation on
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8916-smp.dtsi | 6 enable-method = "qcom,msm8916-smp"; 9 enable-method = "qcom,msm8916-smp"; 12 enable-method = "qcom,msm8916-smp"; 15 enable-method = "qcom,msm8916-smp"; 19 /delete-property/ entry-method;
|
| /linux/arch/arm64/boot/dts/amazon/ |
| H A D | alpine-v3.dtsi | 27 enable-method = "psci"; 41 enable-method = "psci"; 55 enable-method = "psci"; 69 enable-method = "psci"; 83 enable-method = "psci"; 97 enable-method = "psci"; 111 enable-method = "psci"; 125 enable-method = "psci"; 139 enable-method = "psci"; 153 enable-method = "psci"; [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | efx_common.c | 689 void efx_reset_down(struct efx_nic *efx, enum reset_type method) in efx_reset_down() argument 693 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_reset_down() 723 int efx_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_reset_up() argument 729 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_reset_up() 742 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && in efx_reset_up() 743 method != RESET_TYPE_DATAPATH) { in efx_reset_up() 792 int efx_reset(struct efx_nic *efx, enum reset_type method) in efx_reset() argument 798 RESET_TYPE(method)); in efx_reset() 805 efx_reset_down(efx, method); in efx_reset() 807 rc = efx->type->reset(efx, method); in efx_reset() [all …]
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | efx_common.c | 716 void efx_siena_reset_down(struct efx_nic *efx, enum reset_type method) in efx_siena_reset_down() argument 720 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_siena_reset_down() 749 int efx_siena_reset_up(struct efx_nic *efx, enum reset_type method, bool ok) in efx_siena_reset_up() argument 755 if (method == RESET_TYPE_MCDI_TIMEOUT) in efx_siena_reset_up() 768 if (efx->port_initialized && method != RESET_TYPE_INVISIBLE && in efx_siena_reset_up() 769 method != RESET_TYPE_DATAPATH) { in efx_siena_reset_up() 816 int efx_siena_reset(struct efx_nic *efx, enum reset_type method) in efx_siena_reset() argument 822 RESET_TYPE(method)); in efx_siena_reset() 829 efx_siena_reset_down(efx, method); in efx_siena_reset() 831 rc = efx->type->reset(efx, method); in efx_siena_reset() [all …]
|