Home
last modified time | relevance | path

Searched full:callback (Results 1 – 25 of 2724) sorted by relevance

12345678910>>...109

/linux/arch/alpha/lib/
H A Dcallback_srm.S19 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/include/linux/
H A Dcpuhotplug.h179 /* Must be the last timer callback */
254 * callback
256 * @name: Name of the callback (will be used in debug output)
257 * @startup: startup callback function or NULL if not required
258 * @teardown: teardown callback function or NULL if not required
260 * Installs the callback functions and invokes the @startup callback on
273 * @startup callback from a cpus_read_lock()
276 * @name: Name of the callback (will be used in debug output)
277 * @startup: startup callback function or NULL if not required
278 * @teardown: teardown callback function or NULL if not required
[all …]
H A Dfirewire.h296 * @callback_data: the data registered with this callback
298 * This callback is called from a workqueue in process context after the outgoing transaction is
321 * @callback_data: the data registered with this callback
323 * This callback is called from a workqueue in process context after the outgoing transaction is
341 * union fw_transaction_callback - A union to store the outgoing transaction callback.
342 * @without_tstamp: Callback without hardware timestamps.
343 * @with_tstamp: Callback with hardware timestamps.
363 * This callback handles an inbound request subaction.
365 * The contents of @request are opaque to the callback. The callback i
338 fw_packet_callback_t callback; global() member
359 union fw_transaction_callback callback; global() member
421 fw_send_request(struct fw_card * card,struct fw_transaction * t,int tcode,int destination_id,int generation,int speed,unsigned long long offset,void * payload,size_t length,fw_transaction_callback_t callback,void * callback_data) fw_send_request() argument
453 fw_send_request_with_tstamp(struct fw_card * card,struct fw_transaction * t,int tcode,int destination_id,int generation,int speed,unsigned long long offset,void * payload,size_t length,fw_transaction_callback_with_tstamp_t callback,void * callback_data) fw_send_request_with_tstamp() argument
561 union fw_iso_callback callback; global() member
577 fw_iso_context_create(struct fw_card * card,int type,int channel,int speed,size_t header_size,fw_iso_callback_t callback,void * callback_data) fw_iso_context_create() argument
588 fw_iso_context_create_with_header_storage_size(struct fw_card * card,int type,int channel,int speed,size_t header_size,size_t header_storage_size,fw_iso_callback_t callback,void * callback_data) fw_iso_context_create_with_header_storage_size() argument
[all...]
H A Drio.h109 * @add_entry: Callback for switch-specific route add function
110 * @get_entry: Callback for switch-specific route get function
111 * @clr_table: Callback for switch-specific clear route table function
112 * @set_domain: Callback for switch-specific domain setting function
113 * @get_domain: Callback for switch-specific domain get function
114 * @em_init: Callback for switch-specific error management init function
115 * @em_handle: Callback for switch-specific error management handler function
168 * @pwcback: port-write callback function for this device
217 * @mcback: Message event callback
228 * @dinb: Doorbell event callback
[all …]
/linux/drivers/md/dm-vdo/
H A Dcompletion.h15 * vdo_run_completion() - Run a completion's callback or error handler on the current thread.
17 * Context: This function must be called from the correct callback thread.
26 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()
102 * vdo_launch_completion_callback() - Set the callback for a completion and launch it immediately.
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()
115 * Resets the completion, and then sets its callback, error handler, callback thread, and parent.
118 vdo_action_fn callback, in vdo_prepare_completion() argument
[all …]
H A Dwait-queue.c75 * @callback: The function to call to notify each waiter, or NULL to invoke the callback field
77 * @context: The context to pass to the callback function.
79 * Notifies all the entries waiting in a waitq to continue execution by invoking a callback
84 vdo_waiter_callback_fn callback, void *context) in vdo_waitq_notify_all_waiters() argument
88 * loop if entries are returned to the waitq by the callback function. in vdo_waitq_notify_all_waiters()
95 /* Drain the copied waitq, invoking the callback on every entry. */ in vdo_waitq_notify_all_waiters()
97 vdo_waitq_notify_next_waiter(&waiters, callback, context); in vdo_waitq_notify_all_waiters()
183 * @callback: The function to call to notify the waiter, or NULL to invoke the callback field
185 * @context: The context to pass to the callback function.
187 * Notifies the next entry waiting in a waitq to continue execution by invoking a callback function
[all …]
/linux/sound/soc/intel/boards/
H A Dsof_sdw.c61 .callback = sof_sdw_quirk_cb,
69 .callback = sof_sdw_quirk_cb,
78 .callback = sof_sdw_quirk_cb,
86 .callback = sof_sdw_quirk_cb,
94 .callback = sof_sdw_quirk_cb,
103 .callback = sof_sdw_quirk_cb,
112 .callback = sof_sdw_quirk_cb,
124 .callback = sof_sdw_quirk_cb,
134 .callback = sof_sdw_quirk_cb,
144 .callback
[all...]
/linux/drivers/hid/
H A Dhid-sensor-hub.c24 * @dyn_callback_list: Holds callback function
25 * @dyn_callback_lock: spin lock to protect callback list
41 * struct hid_sensor_hub_callbacks_list - Stores callback list
45 * @usage_callback: Stores registered callback functions.
105 struct hid_sensor_hub_callbacks_list *callback; in sensor_hub_get_callback()
110 list_for_each_entry(callback, &pdata->dyn_callback_list, list) in sensor_hub_get_callback()
111 if ((callback->usage_id == usage_id || in sensor_hub_get_callback()
112 callback->usage_id == HID_USAGE_SENSOR_COLLECTION) && in sensor_hub_get_callback()
114 callback->hsdev->start_collection_index) && in sensor_hub_get_callback()
116 callback in sensor_hub_get_callback()
104 struct hid_sensor_hub_callbacks_list *callback; sensor_hub_get_callback() local
131 struct hid_sensor_hub_callbacks_list *callback; sensor_hub_register_callback() local
172 struct hid_sensor_hub_callbacks_list *callback; sensor_hub_remove_callback() local
484 struct hid_sensor_hub_callbacks_list *callback; sensor_hub_suspend() local
502 struct hid_sensor_hub_callbacks_list *callback; sensor_hub_resume() local
533 struct hid_sensor_hub_callbacks *callback = NULL; sensor_hub_raw_event() local
[all...]
/linux/Documentation/livepatch/
H A Dcallbacks.rst6 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/drivers/platform/x86/
H A Dasus-nb-wmi.c171 .callback = dmi_matched,
180 .callback = dmi_matched,
189 .callback = dmi_matched,
198 .callback = dmi_matched,
207 .callback = dmi_matched,
216 .callback = dmi_matched,
225 .callback = dmi_matched,
234 .callback = dmi_matched,
243 .callback = dmi_matched,
252 .callback
[all...]
/linux/tools/testing/selftests/bpf/progs/
H A Duser_ringbuf_fail.c40 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
63 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
83 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
103 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback should
125 /* A callback that accesses a dynptr in a bpf_user_ringbuf_drain callback shoul
[all...]
/linux/Documentation/networking/
H A Dstrparser.rst17 The strparser is called from the data_ready callback of a TCP
79 from a data_ready callback that is set on the socket. Note that
128 This callback must be set.
145 This callback must be set.
152 The read_sock callback is used by strparser instead of
155 This callback is optional.
164 loop. If the callback is not set (NULL in strp_init) a default
167 This callback is optional.
/linux/drivers/dma/
H A Ddmaengine.h99 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(c in dmaengine_desc_callback_invoke()
[all...]
/linux/drivers/char/
H A Dnwbutton.c36 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/include/media/
H A Ddvb_frontend.h152 * 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/drivers/firmware/qcom/
H A Dqcom_pas.h15 * @supported: Peripheral supported callback.
16 * @init_image: Peripheral image initialization callback.
17 * @mem_setup: Peripheral memory setup callback.
18 * @get_rsc_table: Peripheral get resource table callback.
20 * reset callback.
22 * callback.
23 * @set_remote_state: Peripheral set remote state callback.
24 * @shutdown: Peripheral shutdown callback.
25 * @metadata_release: Image metadata release callback.
/linux/Documentation/sound/designs/
H A Dseq-oss.rst36 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 …]
/linux/include/xen/interface/
H A Dcallback.h3 * 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/drivers/base/power/
H A Dmain.c305 * If the device is resumed asynchronously and the parent's callback in dpm_wait_for_superior()
328 * If the parent's callback has deleted the device, attempting to resume in dpm_wait_for_superior()
791 * device_resume_noirq - Execute a "noirq resume" callback for given device.
801 pm_callback_t callback = NULL; in device_resume_noirq() local
816 * phase before invoking the noirq suspend callback for the in device_resume_noirq()
834 * If the driver callback is skipped below or by the middle layer in device_resume_noirq()
835 * callback and device_resume_early() also skips the driver callback for in device_resume_noirq()
850 callback = pm_noirq_op(&dev->pm_domain->ops, state); in device_resume_noirq()
853 callback in device_resume_noirq()
971 pm_callback_t callback = NULL; device_resume_early() local
1115 pm_callback_t callback = NULL; device_resume() local
1282 void (*callback)(struct device *) = NULL; device_complete() local
1508 pm_callback_t callback = NULL; device_suspend_noirq() local
1703 pm_callback_t callback = NULL; device_suspend_late() local
1942 pm_callback_t callback = NULL; device_suspend() local
2201 int (*callback)(struct device *) = NULL; device_prepare() local
[all...]
/linux/arch/x86/pci/
H A 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/include/linux/mfd/
H A Ddln2.h13 * dln2_event_cb_t - event callback function signature
15 * @pdev - the sub-device that registered this callback
20 * The callback function is called in interrupt context and the data payload is
29 * dl2n_register_event_cb - register a callback function for an event
31 * @pdev - the sub-device that registers the callback
32 * @event - the event for which to register a callback
33 * @event_cb - the callback function
41 * dln2_unregister_event_cb - unregister the callback function for an event
43 * @pdev - the sub-device that registered the callback
44 * @event - the event for which to register a callback
/linux/fs/nfs/
H A Dcallback.c3 * linux/fs/nfs/callback.c
7 * NFSv4 callback handling
26 #include "callback.h"
53 dprintk("NFS: Callback listener port = %u (af %u, net %x)\n", in nfs4_callback_up_net()
61 dprintk("NFS: Callback listener port = %u (af %u, net %x)\n", in nfs4_callback_up_net()
72 * This is the NFSv4 callback kernel thread.
131 dprintk("NFS: destroy per-net callback data; net=%x\n", net->ns.inum); in nfs_callback_down_net()
144 dprintk("NFS: create per-net callback data; net=%x\n", net->ns.inum); in nfs_callback_up_net()
148 printk(KERN_WARNING "NFS: bind callback service failed\n"); in nfs_callback_up_net()
161 printk(KERN_ERR "NFS: callback service start failed\n"); in nfs_callback_up_net()
[all …]
/linux/Documentation/driver-api/dmaengine/
H A Dclient.rst27 - Issue pending requests and wait for callback notification
149 Once a descriptor has been obtained, the callback information can be
157 Although the async_tx API specifies that completion callback
162 for submission prior to callback function being invoked, so
166 For cyclic DMA, a callback function may wish to terminate the
170 locks before calling the callback function which may cause a
198 after their transfer completion callback has run for the descriptor.
199 If no completion callback has been defined for the transfer, then the
202 completed, then the client must use completion callback.
264 point when the completion callback returns if used).
[all …]
/linux/include/linux/usb/
H A Dljca.h21 * typedef ljca_event_cb_t - event callback function signature
23 * @context: the execution context of who registered this callback
28 * The callback function is called in interrupt context and the data payload is
42 * @context: the execution context of the event callback
43 * @event_cb: ljca client driver register this callback to get
45 * @event_cb_lock: spinlock to protect event callback
96 * ljca_register_event_cb - register a callback function to receive events
99 * @event_cb: callback function
100 * @context: execution context of event callback
107 * ljca_unregister_event_cb - unregister the callback function for an event
/linux/include/net/libeth/
H A Dxsk.h59 * @flush_bulk: driver callback to flush the bulk to the HW queue
115 * the driver callback. in libeth_xsk_tx_fill_buf()
149 * @prep: driver callback to prepare the queue
150 * @xmit: driver callback to fill a HW descriptor
153 * callback.
194 * info to pass to the driver callback. in __libeth_xsk_xmit_fill_buf_md()
227 * the driver callback. in __libeth_xsk_xmit_fill_buf()
250 * and other info to pass to the driver callback. in libeth_xsk_xmit_fill_buf()
276 * @prep: driver callback to build a &libeth_xdpsq
277 * @xmit: driver callback t
[all...]

12345678910>>...109