Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 1053) sorted by relevance

12345678910>>...43

/linux-6.12.1/drivers/acpi/
Dvideo_detect.c152 .callback = video_detect_force_vendor,
160 .callback = video_detect_force_vendor,
168 .callback = video_detect_force_vendor,
176 .callback = video_detect_force_vendor,
185 .callback = video_detect_force_vendor,
193 .callback = video_detect_force_vendor,
201 .callback = video_detect_force_vendor,
210 .callback = video_detect_force_vendor,
218 .callback = video_detect_force_vendor,
227 .callback = video_detect_force_vendor,
[all …]
Dosi.c304 .callback = dmi_disable_osi_vista,
321 .callback = dmi_disable_osi_vista,
329 .callback = dmi_disable_osi_vista,
337 .callback = dmi_disable_osi_vista,
345 .callback = dmi_disable_osi_vista,
353 .callback = dmi_disable_osi_vista,
361 .callback = dmi_disable_osi_vista,
369 .callback = dmi_disable_osi_win7,
377 .callback = dmi_disable_osi_vista,
385 .callback = dmi_disable_osi_vista,
[all …]
Dsleep.c178 .callback = init_old_suspend_ordering,
186 .callback = init_old_suspend_ordering,
194 .callback = init_old_suspend_ordering,
202 .callback = init_old_suspend_ordering,
211 .callback = init_nvs_nosave,
219 .callback = init_nvs_nosave,
227 .callback = init_nvs_nosave,
235 .callback = init_nvs_nosave,
243 .callback = init_nvs_nosave,
251 .callback = init_nvs_nosave,
[all …]
/linux-6.12.1/arch/x86/kernel/
Dreboot.c167 .callback = set_kbd_reboot,
175 .callback = set_efi_reboot,
185 .callback = set_pci_reboot,
193 .callback = set_pci_reboot,
201 .callback = set_pci_reboot,
209 .callback = set_pci_reboot,
217 .callback = set_pci_reboot,
225 .callback = set_pci_reboot,
235 .callback = set_pci_reboot,
245 .callback = set_bios_reboot,
[all …]
/linux-6.12.1/drivers/platform/x86/
Dasus-nb-wmi.c161 .callback = dmi_matched,
170 .callback = dmi_matched,
179 .callback = dmi_matched,
188 .callback = dmi_matched,
197 .callback = dmi_matched,
206 .callback = dmi_matched,
215 .callback = dmi_matched,
224 .callback = dmi_matched,
233 .callback = dmi_matched,
242 .callback = dmi_matched,
[all …]
/linux-6.12.1/drivers/md/dm-vdo/
Ddata-vio.h383 vdo_action_fn callback) in set_data_vio_hash_zone_callback() argument
385 vdo_set_completion_callback(&data_vio->vio.completion, callback, in set_data_vio_hash_zone_callback()
394 vdo_action_fn callback) in launch_data_vio_hash_zone_callback() argument
396 set_data_vio_hash_zone_callback(data_vio, callback); in launch_data_vio_hash_zone_callback()
411 vdo_action_fn callback) in set_data_vio_logical_callback() argument
413 vdo_set_completion_callback(&data_vio->vio.completion, callback, in set_data_vio_logical_callback()
422 vdo_action_fn callback) in launch_data_vio_logical_callback() argument
424 set_data_vio_logical_callback(data_vio, callback); in launch_data_vio_logical_callback()
440 vdo_action_fn callback) in set_data_vio_allocated_zone_callback() argument
442 vdo_set_completion_callback(&data_vio->vio.completion, callback, in set_data_vio_allocated_zone_callback()
[all …]
Dcompletion.h26 completion->callback(completion); in vdo_run_completion()
94 vdo_action_fn callback, in vdo_set_completion_callback() argument
97 completion->callback = callback; in vdo_set_completion_callback()
105 vdo_action_fn callback, in vdo_launch_completion_callback() argument
108 vdo_set_completion_callback(completion, callback, callback_thread_id); in vdo_launch_completion_callback()
118 vdo_action_fn callback, in vdo_prepare_completion() argument
123 vdo_set_completion_callback(completion, callback, callback_thread_id); in vdo_prepare_completion()
135 vdo_action_fn callback, in vdo_prepare_completion_for_requeue() argument
140 vdo_prepare_completion(completion, callback, error_handler, in vdo_prepare_completion_for_requeue()
Dwait-queue.c84 vdo_waiter_callback_fn callback, void *context) in vdo_waitq_notify_all_waiters() argument
97 vdo_waitq_notify_next_waiter(&waiters, callback, context); in vdo_waitq_notify_all_waiters()
193 vdo_waiter_callback_fn callback, void *context) in vdo_waitq_notify_next_waiter() argument
200 if (callback == NULL) in vdo_waitq_notify_next_waiter()
201 callback = waiter->callback; in vdo_waitq_notify_next_waiter()
202 callback(waiter, context); in vdo_waitq_notify_next_waiter()
Dio-submitter.h28 bio_end_io_t callback, vdo_action_fn error_handler,
32 bio_end_io_t callback, vdo_action_fn error_handler, in vdo_submit_metadata_vio() argument
35 __submit_metadata_vio(vio, physical, callback, error_handler, in vdo_submit_metadata_vio()
39 static inline void vdo_submit_flush_vio(struct vio *vio, bio_end_io_t callback, in vdo_submit_flush_vio() argument
43 __submit_metadata_vio(vio, 0, callback, error_handler, in vdo_submit_flush_vio()
/linux-6.12.1/sound/soc/intel/boards/
Dsof_sdw.c56 .callback = sof_sdw_quirk_cb,
64 .callback = sof_sdw_quirk_cb,
73 .callback = sof_sdw_quirk_cb,
81 .callback = sof_sdw_quirk_cb,
89 .callback = sof_sdw_quirk_cb,
98 .callback = sof_sdw_quirk_cb,
107 .callback = sof_sdw_quirk_cb,
119 .callback = sof_sdw_quirk_cb,
129 .callback = sof_sdw_quirk_cb,
139 .callback = sof_sdw_quirk_cb,
[all …]
/linux-6.12.1/include/trace/events/
Dipi.h40 TP_PROTO(const unsigned int cpu, unsigned long callsite, void *callback),
42 TP_ARGS(cpu, callsite, callback),
47 __field(void *, callback)
53 __entry->callback = callback;
57 __entry->cpu, __entry->callsite, __entry->callback)
62 TP_PROTO(const struct cpumask *cpumask, unsigned long callsite, void *callback),
64 TP_ARGS(cpumask, callsite, callback),
69 __field(void *, callback)
75 __entry->callback = callback;
79 __get_cpumask(cpumask), __entry->callsite, __entry->callback)
/linux-6.12.1/drivers/hid/
Dhid-sensor-hub.c104 struct hid_sensor_hub_callbacks_list *callback; in sensor_hub_get_callback() local
109 list_for_each_entry(callback, &pdata->dyn_callback_list, list) in sensor_hub_get_callback()
110 if ((callback->usage_id == usage_id || in sensor_hub_get_callback()
111 callback->usage_id == HID_USAGE_SENSOR_COLLECTION) && in sensor_hub_get_callback()
113 callback->hsdev->start_collection_index) && in sensor_hub_get_callback()
115 callback->hsdev->end_collection_index)) { in sensor_hub_get_callback()
116 *priv = callback->priv; in sensor_hub_get_callback()
117 *hsdev = callback->hsdev; in sensor_hub_get_callback()
120 return callback->usage_callback; in sensor_hub_get_callback()
131 struct hid_sensor_hub_callbacks_list *callback; in sensor_hub_register_callback() local
[all …]
/linux-6.12.1/drivers/char/
Dnwbutton.c57 int button_add_callback (void (*callback) (void), int count) in button_add_callback()
63 if (!callback) { in button_add_callback()
67 for (; (button_callback_list [lp].callback); lp++); in button_add_callback()
68 button_callback_list [lp].callback = callback; in button_add_callback()
85 int button_del_callback (void (*callback) (void)) in button_del_callback()
88 if (!callback) { in button_del_callback()
92 if ((button_callback_list [lp].callback) == callback) { in button_del_callback()
93 button_callback_list [lp].callback = NULL; in button_del_callback()
116 if (button_callback_list [lp].callback) { in button_consume_callbacks()
117 button_callback_list[lp].callback(); in button_consume_callbacks()
Dnwbutton.h21 void (*callback) (void); member
30 int button_add_callback (void (*callback) (void), int count);
31 int button_del_callback (void (*callback) (void));
36 extern int button_add_callback (void (*callback) (void), int count);
37 extern int button_del_callback (void (*callback) (void));
/linux-6.12.1/arch/x86/pci/
Dcommon.c96 .callback = can_skip_ioresource_align,
104 .callback = can_skip_ioresource_align,
112 .callback = can_skip_ioresource_align,
241 .callback = assign_all_busses,
250 .callback = set_bf_sort,
258 .callback = set_bf_sort,
266 .callback = set_bf_sort,
274 .callback = set_bf_sort,
282 .callback = set_bf_sort,
290 .callback = find_sort_method,
[all …]
/linux-6.12.1/drivers/media/tuners/
Dtua9001.c35 if (fe->callback) { in tua9001_init()
36 ret = fe->callback(client->adapter, in tua9001_init()
62 if (fe->callback) { in tua9001_sleep()
63 ret = fe->callback(client->adapter, in tua9001_sleep()
118 if (fe->callback) { in tua9001_set_params()
119 ret = fe->callback(client->adapter, in tua9001_set_params()
132 if (fe->callback) { in tua9001_set_params()
133 ret = fe->callback(client->adapter, in tua9001_set_params()
195 if (fe->callback) { in tua9001_probe()
196 ret = fe->callback(client->adapter, in tua9001_probe()
[all …]
/linux-6.12.1/drivers/base/power/
Dmain.c620 pm_callback_t callback = NULL; in device_resume_noirq() local
655 callback = pm_noirq_op(&dev->pm_domain->ops, state); in device_resume_noirq()
658 callback = pm_noirq_op(dev->type->pm, state); in device_resume_noirq()
661 callback = pm_noirq_op(dev->class->pm, state); in device_resume_noirq()
664 callback = pm_noirq_op(dev->bus->pm, state); in device_resume_noirq()
666 if (callback) in device_resume_noirq()
674 callback = pm_noirq_op(dev->driver->pm, state); in device_resume_noirq()
678 error = dpm_run_callback(callback, dev, state, info); in device_resume_noirq()
771 pm_callback_t callback = NULL; in device_resume_early() local
789 callback = pm_late_early_op(&dev->pm_domain->ops, state); in device_resume_early()
[all …]
/linux-6.12.1/Documentation/trace/
Dftrace-uses.rst26 The ability to add a callback to almost any function within the
27 kernel comes with risks. A callback can be called from any context
30 This requires extra care to what can be done inside a callback. A callback
40 To register a function callback, a ftrace_ops is required. This structure
41 is used to tell ftrace what function should be called as the callback
42 as well as what protections the callback will perform and not require
70 The registered callback will start being called some time after the
73 of services. The callback itself will have to handle any synchronization if it
76 The unregister_ftrace_function() will guarantee that the callback is
82 The callback function
[all …]
/linux-6.12.1/drivers/input/misc/
Dwistron_btns.c638 .callback = dmi_matched,
647 .callback = dmi_matched,
656 .callback = dmi_matched,
665 .callback = dmi_matched,
674 .callback = dmi_matched,
683 .callback = dmi_matched,
692 .callback = dmi_matched,
701 .callback = dmi_matched,
710 .callback = dmi_matched,
719 .callback = dmi_matched,
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_lvds.c528 .callback = intel_no_lvds_dmi_callback,
536 .callback = intel_no_lvds_dmi_callback,
544 .callback = intel_no_lvds_dmi_callback,
552 .callback = intel_no_lvds_dmi_callback,
560 .callback = intel_no_lvds_dmi_callback,
568 .callback = intel_no_lvds_dmi_callback,
576 .callback = intel_no_lvds_dmi_callback,
584 .callback = intel_no_lvds_dmi_callback,
592 .callback = intel_no_lvds_dmi_callback,
600 .callback = intel_no_lvds_dmi_callback,
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dbpf_loop.c35 static int callback(__u32 index, void *data) in callback() function
54 nr_loops_returned += bpf_loop(nested_callback_nr_loops, callback, data, 0); in nested_callback2()
73 nr_loops_returned = bpf_loop(nr_loops, callback, &data, 0); in test_prog()
102 err = bpf_loop(nr_loops, callback, &data, 1); in prog_invalid_flags()
144 int (*callback)(int i, void *ctx); in prog_non_constant_callback() local
149 callback = callback_set_0f; in prog_non_constant_callback()
151 callback = callback_set_f0; in prog_non_constant_callback()
153 bpf_loop(1, callback, NULL, 0); in prog_non_constant_callback()
/linux-6.12.1/arch/x86/include/asm/
Dreboot.h30 void cpu_emergency_register_virt_callback(cpu_emergency_virt_cb *callback);
31 void cpu_emergency_unregister_virt_callback(cpu_emergency_virt_cb *callback);
34 static inline void cpu_emergency_register_virt_callback(cpu_emergency_virt_cb *callback) {} in cpu_emergency_register_virt_callback() argument
35 static inline void cpu_emergency_unregister_virt_callback(cpu_emergency_virt_cb *callback) {} in cpu_emergency_unregister_virt_callback() argument
40 void nmi_shootdown_cpus(nmi_shootdown_cb callback);
/linux-6.12.1/Documentation/livepatch/
Dcallbacks.rst6 to execute callback functions when a kernel object is (un)patched. They
48 active), used to clean up post-patch callback
54 used to cleanup pre-patch callback resources
59 Each callback is optional, omitting one does not preclude specifying any
63 callback will only be executed if its corresponding patch callback was
68 A callback is only executed if its host klp_object is loaded. For
75 The pre-patch callback, if specified, is expected to return a status
79 callback is provided, the transition is assumed to be safe.) If a
80 pre-patch callback returns failure, the kernel's module loader will:
92 pre_patch callback or for any other reason.
[all …]
/linux-6.12.1/sound/soc/intel/common/
Dsoc-acpi-intel-byt-match.c31 .callback = byt_rt5672_quirk_cb,
38 .callback = byt_rt5672_quirk_cb,
45 .callback = byt_rt5672_quirk_cb,
52 .callback = byt_rt5672_quirk_cb,
60 .callback = byt_pov_p1006w_quirk_cb,
71 .callback = byt_rt5672_quirk_cb,
79 .callback = byt_rt5672_quirk_cb,
/linux-6.12.1/drivers/s390/net/
Dsmsgiucv.c24 void (*callback)(const char *from, char *str); member
80 cb->callback(sender, buffer + 8); in smsg_message_pending()
89 void (*callback)(const char *from, char *str)) in smsg_register_callback()
98 cb->callback = callback; in smsg_register_callback()
106 void (*callback)(const char *from, in smsg_unregister_callback()
114 if (tmp->callback == callback && in smsg_unregister_callback()

12345678910>>...43