Home
last modified time | relevance | path

Searched full:method (Results 1 – 25 of 1484) sorted by relevance

12345678910>>...60

/linux/Documentation/firmware-guide/acpi/
H A Dmethod-tracing.rst15 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 …]
H A Dacpi-lid.rst5 Special Usage Model of the ACPI Control Method Lid Device
15 using a control method lid device. To implement this, the AML tables issue
17 changed. The _LID control method for the lid device must be implemented to
20 For most platforms, both the _LID method and the lid notifications are
27 Restrictions of the returning value of the _LID control method
30 The _LID control method is described to return the "current" lid state.
34 _LID control method is evaluated during the runtime, the problem is its
35 initial returning value. When the AML tables implement this control method
57 This file actually calls the _LID control method described above. And given
74 A. button.lid_init_state=method:
[all …]
H A Dchromeos-acpi-device.rst46 - Chrome OS method list
50 This control method returns the switch positions for Chrome OS specific hardware switches.
81 This control method returns the hardware ID for the Chromebook.
96 This control method returns the firmware version for the rewritable portion of the main
110 This control method returns the firmware version for the read-only portion of the main
124 This control method returns information about the current boot.
185 This control method returns information about Chrome OS specific GPIO assignments for
258 This control method returns information about the NVRAM (CMOS) locations used to
294 This control method returns the physical memory address of the start of the main processor
308 This control method returns the verified boot data block shared between the firmware
[all …]
/linux/arch/arm/mm/
H A Dproc-v7-bugs.c66 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/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh182 local method="$6"
207 if [[ "$method" == "1" ]] || [[ "$method" == 2 ]] ||
211 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
244 "$cgroup" "$path" "$method" "$private" "$reserve"
300 local method="$7"
320 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \
350 local method="${12}"
376 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \
397 "$populate2" "$write2" "/mnt/huge/test2" "$method" "
[all...]
/linux/arch/arm/kernel/
H A Dcpuidle.c54 * @method: the method name
57 * method name.
61 static const struct cpuidle_ops *__init arm_cpuidle_get_ops(const char *method) in arm_cpuidle_get_ops() argument
65 for (; m->method; m++) in arm_cpuidle_get_ops()
66 if (!strcmp(m->method, method)) in arm_cpuidle_get_ops()
77 * Get the method name defined in the 'enable-method' property, retrieve the
82 * Return 0 on sucess, -ENOENT if no 'enable-method' is defined, -EOPNOTSUPP if
83 * no cpuidle_ops is registered for the 'enable-method', or if either init or
91 enable_method = of_get_property(dn, "enable-method", NULL); in arm_cpuidle_read_ops()
97 pr_warn("%pOF: unsupported enable-method property: %s\n", in arm_cpuidle_read_ops()
[all …]
H A Dspectre.c26 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 Delba-16core.dtsi47 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 Dof-generic.c59 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/acpi/acpica/
H A Dnseval.c4 * Module Name: nseval - Object evaluation, includes control method execution
23 * prefix_node - Prefix or Method/Object Node to execute
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 in acpi_ns_evaluate()
138 * this method/object matches the actual ASL/AML definition. in acpi_ns_evaluate()
151 * 2) The object is a control method -- execute it in acpi_ns_evaluate()
152 * 3) The object is not a method -- just return it's current value in acpi_ns_evaluate()
[all …]
H A Ddbmethod.c36 * DESCRIPTION: Set a breakpoint in a control method at the specified
50 acpi_os_printf("There is no method currently executing\n"); in acpi_db_set_method_breakpoint()
78 * DESCRIPTION: Set a breakpoint in a control method at the specified
87 acpi_os_printf("There is no method currently executing\n"); in acpi_db_set_method_call_breakpoint()
104 * DESCRIPTION: Set a local or argument for the running control method.
151 acpi_os_printf("There is no method currently executing\n"); in acpi_db_set_method_data()
168 /* Set a method argument */ in acpi_db_set_method_data()
191 /* Set a method local */ in acpi_db_set_method_data()
241 acpi_os_printf("There is no method currently executing\n"); in acpi_db_disassemble_aml()
256 * PARAMETERS: name - Name of control method
[all …]
H A Ddbobject.c23 * PARAMETERS: status - Method execution status
28 * DESCRIPTION: Called when a method has been aborted because of an error.
29 * Dumps the method execution stack, and the method locals/args,
62 * If there is no Thread, we are not actually executing a method. in acpi_db_dump_method_info()
71 /* Display the method locals and arguments */ in acpi_db_dump_method_info()
163 acpi_os_printf(" [Method Arg]"); in acpi_db_decode_node()
166 acpi_os_printf(" [Method Local]"); in acpi_db_decode_node()
381 * PARAMETERS: walk_state - State for current method
385 * DESCRIPTION: Display all locals for the currently running control method
406 ("No method node (Executing subtree for buffer or opregion)\n"); in acpi_db_decode_locals()
[all …]
/linux/tools/testing/selftests/tc-testing/creating-plugins/
H A DAddingPlugins.txt43 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/arm64/boot/dts/marvell/
H A Darmada-ap810-ap0-octa-core.dtsi19 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/Documentation/wmi/devices/
H A Ddell-wmi-ddv.rst79 Each WMI method takes an ACPI buffer containing a 32-bit index as input argument,
82 differently. The WMI method output format varies:
96 WMI method GetBatteryDesignCapacity()
101 WMI method BatteryFullCharge()
106 WMI method BatteryManufactureName()
111 WMI method BatteryManufactureDate()
121 WMI method BatterySerialNumber()
126 WMI method BatteryChemistryValue()
134 WMI method BatteryTemperature()
139 WMI method BatteryCurrent()
[all …]
/linux/net/tipc/
H A Dbcast.c61 * @rc_ratio: dest count as percentage of cluster size where send method changes
213 struct tipc_mc_method *method) in tipc_bcast_select_xmit_method() argument
216 unsigned long exp = method->expires; in tipc_bcast_select_xmit_method()
220 method->rcast = true; in tipc_bcast_select_xmit_method()
225 method->rcast = false; in tipc_bcast_select_xmit_method()
228 /* Can current method be changed ? */ in tipc_bcast_select_xmit_method()
229 method->expires = jiffies + TIPC_METHOD_EXPIRE; in tipc_bcast_select_xmit_method()
230 if (method->mandatory) in tipc_bcast_select_xmit_method()
237 /* Configuration as force 'broadcast' method */ in tipc_bcast_select_xmit_method()
239 method->rcast = false; in tipc_bcast_select_xmit_method()
[all …]
/linux/drivers/md/
H A Ddm-builtin.c5 * The kobject release method must not be placed in the module itself,
8 * The release method is called when the last reference to the kobject is
12 * The release method suffers from module unload race. We may prevent the
13 * module from being unloaded at the start of the release method (using
15 * method), however there is no way to prevent the module from being
16 * unloaded at the end of the release method.
40 * In order to fix this module unload race, we place the release method
/linux/drivers/iio/adc/
H A Dtwl4030-madc.c122 * @method: RT, SW1, SW2
123 * @type: Polling or interrupt based method
132 u16 method; member
183 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read()
467 const struct twl4030_madc_conversion_method *method; in twl4030_madc_threaded_irq_handler() local
496 /* No pending results for this method, move to next one */ in twl4030_madc_threaded_irq_handler()
499 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler()
501 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler()
520 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler()
522 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_page_dirty.c23 * No dirtied pages at scan trigger a transition to the _MKWRITE method,
25 * the _PAGETABLE method. How many triggers should we wait for before
26 * changing method?
30 /* Percentage to trigger a transition to the _PAGETABLE method */
38 * @method: The currently used dirty method
39 * @change_count: Number of consecutive method change triggers
49 enum vmw_bo_dirty_method method; member
66 * dirty-tracking method.
87 dirty->method = VMW_BO_DIRTY_MKWRITE; in vmw_bo_dirty_scan_pagetable()
98 * vmw_bo_dirty_scan_mkwrite - Reset the mkwrite dirty-tracking method
[all …]
/linux/include/linux/platform_data/x86/
H A Dnvidia-wmi-ec-backlight.h12 * enum wmi_brightness_method - WMI method IDs
23 * enum wmi_brightness_mode - Operation mode for WMI-wrapped method
27 * is only valid when the WMI method is
53 * struct wmi_brightness_args - arguments for the WMI-wrapped ACPI method
62 * @ignored: Padding; not used. The ACPI method expects a 24 byte params struct.
64 * This is the parameters structure for the WmiBrightnessNotify ACPI method as
66 * brightness value when the WMI method ID is %WMI_BRIGHTNESS_METHOD_LEVEL, or
/linux/arch/arm64/boot/dts/arm/
H A Dfoundation-v8-psci.dtsi10 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 Dmarvell,berlin-smp2 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/arch/arm64/kernel/
H A Dcpu_ops.c68 enable_method = of_get_property(dn, "enable-method", NULL); in cpu_read_enable_method()
71 * The boot CPU may not have an enable method (e.g. in cpu_read_enable_method()
76 pr_err("%pOF: missing enable-method property\n", in cpu_read_enable_method()
85 * checking the enable method since for some in cpu_read_enable_method()
90 pr_err("Unsupported ACPI enable-method\n"); in cpu_read_enable_method()
97 * Read a cpu's enable method and record it in cpu_ops.
108 pr_warn("Unsupported enable-method: %s\n", enable_method); in init_cpu_ops()
/linux/Documentation/PCI/
H A Dpci-iov-howto.rst38 In the first method, the device driver (PF driver) will control the
43 In the second method, a write to the sysfs file sriov_numvfs will
44 enable and disable the VFs associated with a PCIe PF. This method
45 enables per-PF, VF enable/disable values versus the first method,
51 The second method is the recommended method for new/future VF devices.
68 (a) For the first method, in the driver::
74 (b) For the second method, from sysfs::
81 (a) For the first method, in the driver::
85 (b) For the second method, from sysfs::
/linux/Documentation/userspace-api/media/v4l/
H A Dio.rst13 The classic I/O method using the :c:func:`read()` and
15 V4L2 device. When the driver does not support this method attempts to
18 Other methods must be negotiated. To select the streaming I/O method
22 Video overlay can be considered another I/O method, although the
27 Generally exactly one I/O method, including overlay, is associated with
36 method (after first switching away from read/write) other than by

12345678910>>...60