/Linux-v6.1/arch/alpha/lib/ |
D | callback_srm.S | 19 ldq $0,hwrpb # gp is set up by CALLBACK macro. 29 extwl $25,0,$16 # SRM callback function code 59 #define CALLBACK(NAME, CODE, ARG_CNT) \ macro 65 #define CALLBACK(NAME, CODE, ARG_CNT) \ macro 78 CALLBACK(puts, CCB_PUTS, 4) 79 CALLBACK(open, CCB_OPEN, 3) 80 CALLBACK(close, CCB_CLOSE, 2) 81 CALLBACK(read, CCB_READ, 5) 82 CALLBACK(open_console, CCB_OPEN_CONSOLE, 1) 83 CALLBACK(close_console, CCB_CLOSE_CONSOLE, 1) [all …]
|
/Linux-v6.1/Documentation/trace/ |
D | ftrace-uses.rst | 26 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/acpi/ |
D | video_detect.c | 137 .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 …]
|
/Linux-v6.1/include/linux/ |
D | cpuhotplug.h | 192 /* Must be the last timer callback */ 273 * callback 275 * @name: Name of the callback (will be used in debug output) 276 * @startup: startup callback function or NULL if not required 277 * @teardown: teardown callback function or NULL if not required 279 * Installs the callback functions and invokes the @startup callback on 292 * @startup callback from a cpus_read_lock() 295 * @name: Name of the callback (will be used in debug output) 296 * @startup: startup callback function or NULL if not required 297 * @teardown: teardown callback function or NULL if not required [all …]
|
D | counter.h | 43 * @action_read: Synapse action mode read callback. The read value of the 46 * @device_u8_read: Device u8 component read callback. The read value of the 49 * @count_u8_read: Count u8 component read callback. The read value of the 52 * @signal_u8_read: Signal u8 component read callback. The read value of the 55 * @device_u32_read: Device u32 component read callback. The read value of 58 * @count_u32_read: Count u32 component read callback. The read value of the 61 * @signal_u32_read: Signal u32 component read callback. The read value of 64 * @device_u64_read: Device u64 component read callback. The read value of 67 * @count_u64_read: Count u64 component read callback. The read value of the 70 * @signal_u64_read: Signal u64 component read callback. The read value of [all …]
|
/Linux-v6.1/block/ |
D | blk-stat.h | 12 * struct blk_stat_callback - Block statistics callback. 26 * @timer: Timer for the next callback invocation. 53 * @fn: Callback function. 71 /* record time/size info in request but not add a callback */ 76 * blk_stat_alloc_callback() - Allocate a block statistics callback. 77 * @timer_fn: Timer callback function. 78 * @bucket_fn: Bucket callback function. 82 * See &struct blk_stat_callback for details on the callback functions. 92 * blk_stat_add_callback() - Add a block statistics callback to be run on a 95 * @cb: The callback. [all …]
|
/Linux-v6.1/drivers/hid/ |
D | hid-sensor-hub.c | 23 * @dyn_callback_list: Holds callback function 24 * @dyn_callback_lock: spin lock to protect callback list 40 * struct hid_sensor_hub_callbacks_list - Stores callback list 44 * @usage_callback: Stores registered callback functions. 104 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() [all …]
|
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | user_ringbuf_fail.c | 32 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should 54 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should 73 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should 92 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should 113 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should 132 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should 151 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should 168 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
|
/Linux-v6.1/Documentation/livepatch/ |
D | callbacks.rst | 6 to execute callback functions when a kernel object is (un)patched. They 34 2. Callback types 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: [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | strparser.rst | 17 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-v6.1/drivers/platform/x86/ |
D | asus-nb-wmi.c | 133 .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/arch/x86/kernel/ |
D | reboot.c | 167 .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/dma/ |
D | dmaengine.h | 99 dma_async_tx_callback callback; member 105 * dmaengine_desc_get_callback - get the passed in callback function 107 * @cb: temp struct to hold the callback info 117 cb->callback = tx->callback; in dmaengine_desc_get_callback() 123 * dmaengine_desc_callback_invoke - call the callback function in cb struct 124 * @cb: temp struct that is holding the callback info 127 * Call the callback function provided in the cb struct with the parameter 144 } else if (cb->callback) { in dmaengine_desc_callback_invoke() 145 cb->callback(cb->callback_param); in dmaengine_desc_callback_invoke() 150 * dmaengine_desc_get_callback_invoke - get the callback in tx descriptor and [all …]
|
/Linux-v6.1/drivers/mfd/ |
D | kempld-core.c | 578 .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/Documentation/power/ |
D | runtime_pm.rst | 68 callback, the PM core will invoke the corresponding driver callback stored in 71 The PM core always checks which callback to use in the order given above, so the 81 interrupts disabled. This implies that the callback routines in question must 86 The subsystem-level suspend callback, if present, is _entirely_ _responsible_ 88 include executing the device driver's own ->runtime_suspend() callback (from the 90 callback in a device driver as long as the subsystem-level suspend callback 93 * Once the subsystem-level suspend callback (or the driver suspend callback, 98 RAM until the appropriate resume callback is executed for it. The runtime 99 PM status of a device after successful execution of the suspend callback is 102 * If the suspend callback returns -EBUSY or -EAGAIN, the device's runtime PM [all …]
|
D | pci.rst | 378 driver has to provide a pm->runtime_suspend() callback (see below), which is 379 run by pci_pm_runtime_suspend() as the first action. If the driver's callback 392 It is expected that the device driver's pm->runtime_suspend() callback will 400 driver provides a pm->runtime_resume() callback (see below). However, before 401 the driver's callback is executed, pci_pm_runtime_resume() brings the device 404 callback need not worry about the PCI-specific aspects of the device resume. 417 callback, if defined, and if that callback doesn't return error code (or is not 424 pm->runtime_idle() callback. 432 each phase involves executing the same subsystem-level callback for every device 452 driver's pm->prepare() callback if defined (i.e. if the driver's struct [all …]
|
/Linux-v6.1/include/drm/ |
D | drm_bridge.h | 61 * This callback is invoked whenever our bridge is being attached to a 65 * The @attach callback is optional. 77 * This callback is invoked whenever our bridge is being detached from a 80 * The @detach callback is optional. 87 * This callback is used to check if a specific mode is valid in this 91 * produce all the values for the available modes then this callback 100 * The @mode_valid callback is optional. 122 * This callback is used to validate and adjust a mode. The parameter 126 * requires. It can be modified by this callback and does not need to 133 * The mode_fixup callback is optional. &drm_bridge_funcs.mode_fixup() [all …]
|
D | drm_modeset_helper_vtables.h | 65 * Callback to control power levels on the CRTC. If the mode passed in 70 * This callback is also used to disable a CRTC by calling it with 73 * This callback is used by the legacy CRTC helpers. Atomic helpers 83 * This callback should prepare the CRTC for a subsequent modeset, which 88 * This callback is used by the legacy CRTC helpers. Atomic helpers 98 * This callback should commit the new mode on the CRTC after a modeset, 103 * This callback is used by the legacy CRTC helpers. Atomic helpers 113 * This callback is used to check if a specific mode is valid in this 117 * produce all the values for the available modes then this callback 147 * This callback is used to validate a mode. The parameter mode is the [all …]
|
/Linux-v6.1/drivers/base/power/ |
D | generic_ops.c | 13 * pm_generic_runtime_suspend - Generic runtime suspend callback for subsystems. 32 * pm_generic_runtime_resume - Generic runtime resume callback for subsystems. 70 * pm_generic_suspend_noirq - Generic suspend_noirq callback for subsystems. 82 * pm_generic_suspend_late - Generic suspend_late callback for subsystems. 94 * pm_generic_suspend - Generic suspend callback for subsystems. 106 * pm_generic_freeze_noirq - Generic freeze_noirq callback for subsystems. 118 * pm_generic_freeze_late - Generic freeze_late callback for subsystems. 130 * pm_generic_freeze - Generic freeze callback for subsystems. 142 * pm_generic_poweroff_noirq - Generic poweroff_noirq callback for subsystems. 154 * pm_generic_poweroff_late - Generic poweroff_late callback for subsystems. [all …]
|
D | main.c | 282 * If the device is resumed asynchronously and the parent's callback in dpm_wait_for_superior() 305 * If the parent's callback has deleted the device, attempting to resume in dpm_wait_for_superior() 582 * device_resume_noirq - Execute a "noirq resume" callback for given device. 592 pm_callback_t callback = NULL; in device_resume_noirq() local 611 * If the driver callback is skipped below or by the middle layer in device_resume_noirq() 612 * callback and device_resume_early() also skips the driver callback for in device_resume_noirq() 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() [all …]
|
/Linux-v6.1/drivers/char/ |
D | nwbutton.c | 36 static struct button_callback button_callback_list[32]; /* The callback list */ 41 * This function is called by other drivers to register a callback function 43 * The callback list is a static array of 32 entries (I somehow doubt many 57 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() 74 * This function is called by other drivers to deregister a callback function. 75 * If you attempt to unregister a callback which does not exist, it will fail 80 * at the same time, because another driver could have unregistered a callback [all …]
|
/Linux-v6.1/include/media/ |
D | dvb_frontend.h | 152 * enum dvbfe_search - search callback possible return status 186 * @release: callback function called when frontend is detached. 188 * @init: callback function used to initialize the tuner device. 189 * @sleep: callback function used to put the tuner to sleep. 190 * @suspend: callback function used to inform that the Kernel will 192 * @resume: callback function used to inform that the Kernel is 194 * @set_params: callback function used to inform the tuner to tune 202 * @set_analog_params: callback function used to tune into an analog TV 205 * @set_config: callback function used to send some tuner-specific 217 * @calc_regs: callback function used to pass register data settings [all …]
|
/Linux-v6.1/include/xen/interface/ |
D | callback.h | 3 * callback.h 18 * @cmd == CALLBACKOP_??? (callback operation). 22 /* x86: Callback for event delivery. */ 25 /* x86: Failsafe callback when guest state cannot be restored by Xen. */ 33 * feature is enabled. Do not use this callback type in new code. 37 /* x86: Callback for NMI delivery. */ 57 * Disable event deliver during callback? This flag is ignored for event and 64 * Register a callback. 74 * Unregister a callback. 77 * you attempt to unregister such a callback.
|
/Linux-v6.1/drivers/misc/vmw_vmci/ |
D | vmci_event.c | 25 vmci_event_cb callback; member 83 * The callback function for each subscriber is invoked. 93 cur->callback(cur->id, &event_msg->event_data, in event_deliver() 121 * @callback: The callback to invoke upon the event. 122 * @callback_data: Data to pass to the callback. 126 * Subscribes to the provided event. The callback specified will be 130 vmci_event_cb callback, in vmci_event_subscribe() argument 144 if (!VMCI_EVENT_VALID(event) || !callback) { in vmci_event_subscribe() 145 pr_devel("%s: Failed to subscribe to event (type=%d) (callback=%p) (data=%p)\n", in vmci_event_subscribe() 146 __func__, event, callback, callback_data); in vmci_event_subscribe() [all …]
|
/Linux-v6.1/Documentation/sound/designs/ |
D | seq-oss.rst | 36 the patch loading is realized by callback to the synth driver. 205 callbacks. The following callback functions must be defined: 217 Each callback function takes the argument type ``snd_seq_oss_arg_t`` as the 238 filled by the synth driver at open callback. The ``addr`` contains 241 in close callback by itself. 250 Open Callback 254 using OSS sequencer. This must not be NULL. Typically, the open callback 269 Ioctl Callback 272 The ``ioctl`` callback is called when the sequencer receives device-specific 273 ioctls. The following two ioctls should be processed by this callback: [all …]
|