Home
last modified time | relevance | path

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

12345678910>>...18

/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Ddsmethod.c4 * Module Name: dsmethod - Parser/Interpreter interface - control method parsing
34 * PARAMETERS: node - Namespace Node of the method
39 * DESCRIPTION: Parse a control method AML to scan for control methods that
43 * there is only a problem if the method actually blocks during execution.
46 * detect whether a method will block or not, so we simply mark all suspicious
50 * control method.
68 /* Create/Init a root op for the method parse tree */ in acpi_ds_auto_serialize_method()
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 in acpi_ds_auto_serialize_method()
[all...]
H A Dpsxface.c37 * method execution
68 * parameters - List of parameters to pass to the method,
71 * return_object - Where to put method's return value (if
74 * return_object - Where to put method's return value (if
80 * DESCRIPTION: Execute a control method
96 /* Validate the Info and method Node */ in acpi_ps_execute_method()
102 /* Init for new method, wait on concurrency semaphore */ in acpi_ps_execute_method()
116 * Execute the method. Performs parse simultaneously in acpi_ps_execute_method()
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 in acpi_ps_execute_method()
[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
271 struct acpi_namespace_node *method; acpi_db_disassemble_method() local
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Ddsmethod.c4 * Module Name: dsmethod - Parser/Interpreter interface - control method parsing
34 * PARAMETERS: node - Namespace Node of the method
39 * DESCRIPTION: Parse a control method AML to scan for control methods that
43 * there is only a problem if the method actually blocks during execution.
46 * detect whether a method will block or not, so we simply mark all suspicious
50 * control method.
68 /* Create/Init a root op for the method parse tree */ in acpi_ds_auto_serialize_method()
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 in acpi_ds_auto_serialize_method()
[all...]
H A Dpsxface.c37 * method execution
68 * parameters - List of parameters to pass to the method,
71 * return_object - Where to put method's return value (if
74 * return_object - Where to put method's return value (if
80 * DESCRIPTION: Execute a control method
96 /* Validate the Info and method Node */ in acpi_ps_execute_method()
102 /* Init for new method, wait on concurrency semaphore */ in acpi_ps_execute_method()
116 * Execute the method. Performs parse simultaneously in acpi_ps_execute_method()
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 in acpi_ps_execute_method()
[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
271 struct acpi_namespace_node *method; acpi_db_disassemble_method() local
[all...]
/kernel/linux/linux-5.10/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()
183 spectre_bhb_method_name(int method) spectre_bhb_method_name() argument
197 spectre_bhb_install_workaround(int method) spectre_bhb_install_workaround() argument
219 spectre_bhb_install_workaround(int method) spectre_bhb_install_workaround() argument
227 unsigned int state, method = 0; cpu_v7_spectre_bhb_init() local
[all...]
/kernel/linux/linux-6.6/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()
183 spectre_bhb_method_name(int method) spectre_bhb_method_name() argument
197 spectre_bhb_install_workaround(int method) spectre_bhb_install_workaround() argument
219 spectre_bhb_install_workaround(int method) spectre_bhb_install_workaround() argument
227 unsigned int state, method = 0; cpu_v7_spectre_bhb_init() local
[all...]
/kernel/linux/linux-5.10/arch/arm/kernel/
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()
H A Dcpuidle.c55 * @method: the method name
58 * method name.
62 static const struct cpuidle_ops *__init arm_cpuidle_get_ops(const char *method) in arm_cpuidle_get_ops() argument
66 for (; m->method; m++) in arm_cpuidle_get_ops()
67 if (!strcmp(m->method, method)) in arm_cpuidle_get_ops()
78 * Get the method name defined in the 'enable-method' property, retrieve the
83 * Return 0 on sucess, -ENOENT if no 'enable-method' i
[all...]
/kernel/linux/linux-6.6/arch/arm/kernel/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dcharge_reserved_hugetlb.sh153 local method="$6"
178 if [[ "$method" == "1" ]] || [[ "$method" == 2 ]] ||
182 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
215 "$cgroup" "$path" "$method" "$private" "$reserve"
271 local method="$7"
291 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \
319 local method="${12}"
345 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \
362 "$populate2" "$write2" "/mnt/huge/test2" "$method" "
[all...]
H A Dwrite_to_hugetlbfs.c21 enum method { enum
71 enum method method = MAX_METHOD; in main() local
98 method = atoi(optarg); in main()
147 if (method == MAX_METHOD) { in main()
152 printf("Using method=%d\n", method); in main()
164 switch (method) { in main()
219 err(1, "Invalid method."); in main()
236 if (method in main()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh156 local method="$6"
181 if [[ "$method" == "1" ]] || [[ "$method" == 2 ]] ||
185 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
218 "$cgroup" "$path" "$method" "$private" "$reserve"
274 local method="$7"
294 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \
322 local method="${12}"
348 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \
365 "$populate2" "$write2" "/mnt/huge/test2" "$method" "
[all...]
H A Dwrite_to_hugetlbfs.c21 enum method { enum
71 enum method method = MAX_METHOD; in main() local
98 method = atoi(optarg); in main()
147 if (method == MAX_METHOD) { in main()
152 printf("Using method=%d\n", method); in main()
164 switch (method) { in main()
219 err(1, "Invalid method."); in main()
236 if (method in main()
[all...]
/kernel/linux/linux-5.10/arch/sh/boards/
H A Dof-generic.c57 const char *method = NULL; in sh_of_smp_probe() local
69 if (!method) in sh_of_smp_probe()
70 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe()
77 if (!method) { in sh_of_smp_probe()
79 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe()
83 pr_info("CPU enable method: %s\n", method); in sh_of_smp_probe()
84 if (method) in sh_of_smp_probe()
[all...]
/kernel/linux/linux-6.6/arch/sh/boards/
H A Dof-generic.c57 const char *method = NULL; in sh_of_smp_probe() local
68 if (!method) in sh_of_smp_probe()
69 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe()
76 if (!method) { in sh_of_smp_probe()
78 of_property_read_string(np, "enable-method", &method); in sh_of_smp_probe()
82 pr_info("CPU enable method: %s\n", method); in sh_of_smp_probe()
83 if (method) in sh_of_smp_probe()
[all...]
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dtwl4030-madc.c121 * @method: RT, SW1, SW2
122 * @type: Polling or interrupt based method
131 u16 method; member
182 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read()
473 const struct twl4030_madc_conversion_method *method; in twl4030_madc_threaded_irq_handler() local
502 /* No pending results for this method, move to next one */ in twl4030_madc_threaded_irq_handler()
505 method = &twl4030_conversion_methods[r->method]; in twl4030_madc_threaded_irq_handler()
507 twl4030_madc_read_channels(madc, method->rbase, in twl4030_madc_threaded_irq_handler()
526 method in twl4030_madc_threaded_irq_handler()
550 const struct twl4030_madc_conversion_method *method; twl4030_madc_start_conversion() local
612 const struct twl4030_madc_conversion_method *method; twl4030_madc_conversion() local
[all...]
/kernel/linux/linux-6.6/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 in twl4030_madc_threaded_irq_handler()
544 const struct twl4030_madc_conversion_method *method; twl4030_madc_start_conversion() local
606 const struct twl4030_madc_conversion_method *method; twl4030_madc_conversion() local
[all...]
/kernel/linux/linux-5.10/drivers/acpi/dptf/
H A Ddptf_pch_fivr.c17 static int pch_fivr_read(acpi_handle handle, char *method, struct pch_fivr_resp *fivr_resp) in pch_fivr_read() argument
26 status = acpi_evaluate_object(handle, method, NULL, &buffer); in pch_fivr_read()
56 #define PCH_FIVR_SHOW(name, method) \
65 status = pch_fivr_read(acpi_dev->handle, #method, &fivr_resp);\
72 #define PCH_FIVR_STORE(name, method) \
84 status = acpi_execute_simple_method(acpi_dev->handle, #method, val);\
/kernel/linux/linux-6.6/drivers/acpi/dptf/
H A Ddptf_pch_fivr.c17 static int pch_fivr_read(acpi_handle handle, char *method, struct pch_fivr_resp *fivr_resp) in pch_fivr_read() argument
26 status = acpi_evaluate_object(handle, method, NULL, &buffer); in pch_fivr_read()
56 #define PCH_FIVR_SHOW(name, method) \
65 status = pch_fivr_read(acpi_dev->handle, #method, &fivr_resp);\
72 #define PCH_FIVR_STORE(name, method) \
84 status = acpi_execute_simple_method(acpi_dev->handle, #method, val);\
/kernel/linux/linux-5.10/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()
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 in tipc_bcast_select_xmit_method()
212 tipc_bcast_select_xmit_method(struct net *net, int dests, struct tipc_mc_method *method) tipc_bcast_select_xmit_method() argument
317 tipc_mcast_send_sync(struct net *net, struct sk_buff *skb, struct tipc_mc_method *method, struct tipc_nlist *dests) tipc_mcast_send_sync() argument
378 tipc_mcast_xmit(struct net *net, struct sk_buff_head *pkts, struct tipc_mc_method *method, struct tipc_nlist *dests, u16 *cong_link_cnt) tipc_mcast_xmit() argument
[all...]
/kernel/linux/linux-6.6/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()
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 in tipc_bcast_select_xmit_method()
212 tipc_bcast_select_xmit_method(struct net *net, int dests, struct tipc_mc_method *method) tipc_bcast_select_xmit_method() argument
317 tipc_mcast_send_sync(struct net *net, struct sk_buff *skb, struct tipc_mc_method *method, struct tipc_nlist *dests) tipc_mcast_send_sync() argument
378 tipc_mcast_xmit(struct net *net, struct sk_buff_head *pkts, struct tipc_mc_method *method, struct tipc_nlist *dests, u16 *cong_link_cnt) tipc_mcast_xmit() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c116 mad->mad_hdr.method == IB_MGMT_METHOD_SET) { in smp_snoop()
155 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP && in node_desc_override()
210 if (in->mad_hdr.method == IB_MGMT_METHOD_TRAP && !slid) { in mthca_process_mad()
223 if (in->mad_hdr.method != IB_MGMT_METHOD_GET && in mthca_process_mad()
224 in->mad_hdr.method != IB_MGMT_METHOD_SET && in mthca_process_mad()
225 in->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS) in mthca_process_mad()
239 if (in->mad_hdr.method != IB_MGMT_METHOD_GET && in mthca_process_mad()
240 in->mad_hdr.method != IB_MGMT_METHOD_SET) in mthca_process_mad()
246 in->mad_hdr.method == IB_MGMT_METHOD_SET && in mthca_process_mad()
270 if (in->mad_hdr.method in mthca_process_mad()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c116 mad->mad_hdr.method == IB_MGMT_METHOD_SET) { in smp_snoop()
155 mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP && in node_desc_override()
210 if (in->mad_hdr.method == IB_MGMT_METHOD_TRAP && !slid) { in mthca_process_mad()
223 if (in->mad_hdr.method != IB_MGMT_METHOD_GET && in mthca_process_mad()
224 in->mad_hdr.method != IB_MGMT_METHOD_SET && in mthca_process_mad()
225 in->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS) in mthca_process_mad()
239 if (in->mad_hdr.method != IB_MGMT_METHOD_GET && in mthca_process_mad()
240 in->mad_hdr.method != IB_MGMT_METHOD_SET) in mthca_process_mad()
246 in->mad_hdr.method == IB_MGMT_METHOD_SET && in mthca_process_mad()
270 if (in->mad_hdr.method in mthca_process_mad()
[all...]

Completed in 11 milliseconds

12345678910>>...18