Home
last modified time | relevance | path

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

12345678910>>...40

/Linux-v6.1/drivers/acpi/
Dvideo_detect.c137 .callback = video_detect_force_vendor,
145 .callback = video_detect_force_vendor,
153 .callback = video_detect_force_vendor,
161 .callback = video_detect_force_vendor,
169 .callback = video_detect_force_vendor,
177 .callback = video_detect_force_vendor,
185 .callback = video_detect_force_vendor,
193 .callback = video_detect_force_vendor,
201 .callback = video_detect_force_vendor,
209 .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.c174 .callback = init_old_suspend_ordering,
182 .callback = init_old_suspend_ordering,
190 .callback = init_old_suspend_ordering,
198 .callback = init_old_suspend_ordering,
207 .callback = init_nvs_nosave,
215 .callback = init_nvs_nosave,
223 .callback = init_nvs_nosave,
231 .callback = init_nvs_nosave,
239 .callback = init_nvs_nosave,
247 .callback = init_nvs_nosave,
[all …]
Dblacklist.c93 .callback = dmi_enable_rev_override,
101 .callback = dmi_enable_rev_override,
109 .callback = dmi_enable_rev_override,
121 .callback = dmi_enable_rev_override,
129 .callback = dmi_enable_rev_override,
/Linux-v6.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-v6.1/drivers/platform/x86/
Dasus-nb-wmi.c133 .callback = dmi_matched,
142 .callback = dmi_matched,
151 .callback = dmi_matched,
160 .callback = dmi_matched,
169 .callback = dmi_matched,
178 .callback = dmi_matched,
187 .callback = dmi_matched,
196 .callback = dmi_matched,
205 .callback = dmi_matched,
214 .callback = dmi_matched,
[all …]
/Linux-v6.1/drivers/mfd/
Dkempld-core.c578 .callback = kempld_create_platform_device,
586 .callback = kempld_create_platform_device,
594 .callback = kempld_create_platform_device,
602 .callback = kempld_create_platform_device,
610 .callback = kempld_create_platform_device,
618 .callback = kempld_create_platform_device,
626 .callback = kempld_create_platform_device,
634 .callback = kempld_create_platform_device,
642 .callback = kempld_create_platform_device,
650 .callback = kempld_create_platform_device,
[all …]
/Linux-v6.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-v6.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-v6.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 …]
Dacpi.c56 .callback = set_use_crs,
66 .callback = set_use_crs,
75 .callback = set_use_crs,
85 .callback = set_use_crs,
96 .callback = set_use_crs,
109 .callback = set_nouse_crs,
119 .callback = set_nouse_crs,
129 .callback = set_nouse_crs,
140 .callback = set_ignore_seg,
158 .callback = set_no_e820,
[all …]
/Linux-v6.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()
196 if (fe->callback) { in tua9001_probe()
197 ret = fe->callback(client->adapter, in tua9001_probe()
[all …]
/Linux-v6.1/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()
763 pm_callback_t callback = NULL; in device_resume_early() local
781 callback = pm_late_early_op(&dev->pm_domain->ops, state); in device_resume_early()
[all …]
/Linux-v6.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-v6.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-v6.1/drivers/gpu/drm/i915/display/
Dintel_lvds.c518 .callback = intel_no_lvds_dmi_callback,
526 .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,
[all …]
/Linux-v6.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()
146 int (*callback)(int i, void *ctx); in prog_non_constant_callback() local
151 callback = callback_set_0f; in prog_non_constant_callback()
153 callback = callback_set_f0; in prog_non_constant_callback()
155 bpf_loop(1, callback, NULL, 0); in prog_non_constant_callback()
/Linux-v6.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-v6.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-v6.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()
/Linux-v6.1/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-v6.1/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-v6.1/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()
643 if (skt->callback) in pccardd()
644 ret = skt->callback->suspend(skt); in pccardd()
655 if (!ret && skt->callback) in pccardd()
656 skt->callback->resume(skt); in pccardd()
[all …]
/Linux-v6.1/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 …]

12345678910>>...40