Home
last modified time | relevance | path

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

12345678910>>...41

/linux-6.6.21/drivers/acpi/
Dvideo_detect.c150 .callback = video_detect_force_vendor,
158 .callback = video_detect_force_vendor,
166 .callback = video_detect_force_vendor,
174 .callback = video_detect_force_vendor,
183 .callback = video_detect_force_vendor,
191 .callback = video_detect_force_vendor,
199 .callback = video_detect_force_vendor,
208 .callback = video_detect_force_vendor,
216 .callback = video_detect_force_vendor,
225 .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.6.21/arch/x86/kernel/
Dreboot.c166 .callback = set_kbd_reboot,
174 .callback = set_efi_reboot,
184 .callback = set_pci_reboot,
192 .callback = set_pci_reboot,
200 .callback = set_pci_reboot,
208 .callback = set_pci_reboot,
216 .callback = set_pci_reboot,
224 .callback = set_pci_reboot,
234 .callback = set_pci_reboot,
244 .callback = set_bios_reboot,
[all …]
/linux-6.6.21/drivers/platform/x86/
Dasus-nb-wmi.c137 .callback = dmi_matched,
146 .callback = dmi_matched,
155 .callback = dmi_matched,
164 .callback = dmi_matched,
173 .callback = dmi_matched,
182 .callback = dmi_matched,
191 .callback = dmi_matched,
200 .callback = dmi_matched,
209 .callback = dmi_matched,
218 .callback = dmi_matched,
[all …]
/linux-6.6.21/drivers/mfd/
Dkempld-core.c577 .callback = kempld_create_platform_device,
585 .callback = kempld_create_platform_device,
593 .callback = kempld_create_platform_device,
601 .callback = kempld_create_platform_device,
609 .callback = kempld_create_platform_device,
617 .callback = kempld_create_platform_device,
625 .callback = kempld_create_platform_device,
633 .callback = kempld_create_platform_device,
641 .callback = kempld_create_platform_device,
649 .callback = kempld_create_platform_device,
[all …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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 …]
Dacpi.c59 .callback = set_use_crs,
69 .callback = set_use_crs,
78 .callback = set_use_crs,
88 .callback = set_use_crs,
99 .callback = set_use_crs,
112 .callback = set_nouse_crs,
122 .callback = set_nouse_crs,
132 .callback = set_nouse_crs,
143 .callback = set_ignore_seg,
161 .callback = set_no_e820,
[all …]
/linux-6.6.21/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.6.21/drivers/base/power/
Dmain.c592 pm_callback_t callback = NULL; in __device_resume_noirq() local
627 callback = pm_noirq_op(&dev->pm_domain->ops, state); in __device_resume_noirq()
630 callback = pm_noirq_op(dev->type->pm, state); in __device_resume_noirq()
633 callback = pm_noirq_op(dev->class->pm, state); in __device_resume_noirq()
636 callback = pm_noirq_op(dev->bus->pm, state); in __device_resume_noirq()
638 if (callback) in __device_resume_noirq()
646 callback = pm_noirq_op(dev->driver->pm, state); in __device_resume_noirq()
650 error = dpm_run_callback(callback, dev, state, info); in __device_resume_noirq()
759 pm_callback_t callback = NULL; in __device_resume_early() local
777 callback = pm_late_early_op(&dev->pm_domain->ops, state); in __device_resume_early()
[all …]
/linux-6.6.21/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.6.21/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.6.21/drivers/gpu/drm/i915/display/
Dintel_lvds.c526 .callback = intel_no_lvds_dmi_callback,
534 .callback = intel_no_lvds_dmi_callback,
542 .callback = intel_no_lvds_dmi_callback,
550 .callback = intel_no_lvds_dmi_callback,
558 .callback = intel_no_lvds_dmi_callback,
566 .callback = intel_no_lvds_dmi_callback,
574 .callback = intel_no_lvds_dmi_callback,
582 .callback = intel_no_lvds_dmi_callback,
590 .callback = intel_no_lvds_dmi_callback,
598 .callback = intel_no_lvds_dmi_callback,
[all …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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()
/linux-6.6.21/drivers/misc/vmw_vmci/
Dvmci_event.c25 vmci_event_cb callback; member
93 cur->callback(cur->id, &event_msg->event_data, in event_deliver()
130 vmci_event_cb callback, in vmci_event_subscribe() argument
144 if (!VMCI_EVENT_VALID(event) || !callback) { in vmci_event_subscribe()
146 __func__, event, callback, callback_data); in vmci_event_subscribe()
156 sub->callback = callback; in vmci_event_subscribe()
/linux-6.6.21/sound/pci/hda/
Dhda_jack.c184 for (cb = jack->callback; cb; cb = next) { in snd_hda_jack_tbl_clear()
298 for (cb = jack->callback; cb; cb = cb->next) { in find_callback_from_list()
322 struct hda_jack_callback *callback = NULL; in snd_hda_jack_detect_enable_callback_mst() local
329 callback = find_callback_from_list(jack, func); in snd_hda_jack_detect_enable_callback_mst()
331 if (func && !callback) { in snd_hda_jack_detect_enable_callback_mst()
332 callback = kzalloc(sizeof(*callback), GFP_KERNEL); in snd_hda_jack_detect_enable_callback_mst()
333 if (!callback) in snd_hda_jack_detect_enable_callback_mst()
335 callback->func = func; in snd_hda_jack_detect_enable_callback_mst()
336 callback->nid = jack->nid; in snd_hda_jack_detect_enable_callback_mst()
337 callback->dev_id = jack->dev_id; in snd_hda_jack_detect_enable_callback_mst()
[all …]
/linux-6.6.21/Documentation/networking/
Dstrparser.rst17 The strparser works in one of two modes: receive callback or general
20 In receive callback mode, the strparser is called from the data_ready
21 callback of a TCP socket. Messages are parsed and delivered as they are
33 functions, and a data_ready function for receive callback mode. The
49 callback mode; in general mode this is set to NULL. Callbacks
100 from a data_ready callback that is set on the socket. Note that
144 zero) and the parser is in receive callback mode, then it will set
154 The lock callback is called to lock the strp structure when
156 processing a timeout). In receive callback mode the default
158 mode the callback must be set appropriately.
[all …]
/linux-6.6.21/drivers/pcmcia/
Dcs.c291 if (s->callback) in socket_shutdown()
292 s->callback->remove(s); in socket_shutdown()
440 if (!(skt->state & SOCKET_CARDBUS) && (skt->callback)) in socket_insert()
441 skt->callback->add(skt); in socket_insert()
512 if (!(skt->state & SOCKET_CARDBUS) && (skt->callback)) in socket_late_resume()
513 ret = skt->callback->early_resume(skt); in socket_late_resume()
644 if (skt->callback) in pccardd()
645 ret = skt->callback->suspend(skt); in pccardd()
656 if (!ret && skt->callback) in pccardd()
657 skt->callback->resume(skt); in pccardd()
[all …]

12345678910>>...41