Searched refs:notifier (Results 101 - 125 of 687) sorted by relevance

1234567891011>>

/linux-master/drivers/media/platform/renesas/rcar-vin/
H A Drcar-core.c223 static int rvin_group_notify_complete(struct v4l2_async_notifier *notifier) argument
225 struct rvin_dev *vin = v4l2_dev_to_vin(notifier->v4l2_dev);
252 static void rvin_group_notify_unbind(struct v4l2_async_notifier *notifier, argument
256 struct rvin_dev *vin = v4l2_dev_to_vin(notifier->v4l2_dev);
278 static int rvin_group_notify_bound(struct v4l2_async_notifier *notifier, argument
282 struct rvin_dev *vin = v4l2_dev_to_vin(notifier->v4l2_dev);
329 asc = v4l2_async_nf_add_fwnode(&vin->group->notifier, fwnode,
348 if (&vin->v4l2_dev == vin->group->notifier.v4l2_dev) {
349 v4l2_async_nf_unregister(&vin->group->notifier);
350 v4l2_async_nf_cleanup(&vin->group->notifier);
576 rvin_parallel_notify_complete(struct v4l2_async_notifier *notifier) argument
611 rvin_parallel_notify_unbind(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asc) argument
624 rvin_parallel_notify_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asc) argument
[all...]
/linux-master/drivers/staging/media/imx/
H A Dimx-media-dev-common.c17 return container_of(n, struct imx_media_dev, notifier);
168 /* async subdev complete notifier */
169 int imx_media_probe_complete(struct v4l2_async_notifier *notifier) argument
171 struct imx_media_dev *imxmd = notifier2dev(notifier);
368 v4l2_async_nf_init(&imxmd->notifier, &imxmd->v4l2_dev);
385 if (list_empty(&imxmd->notifier.waiting_list)) {
390 /* prepare the async subdev notifier and register it */
391 imxmd->notifier.ops = ops ? ops : &imx_media_notifier_ops;
392 ret = v4l2_async_nf_register(&imxmd->notifier);
/linux-master/drivers/media/platform/microchip/
H A Dmicrochip-csi2dc.c176 * @notifier: Async notifier that is used to bound the underlying
202 struct v4l2_async_notifier notifier; member in struct:csi2dc_device
479 static int csi2dc_async_bound(struct v4l2_async_notifier *notifier, argument
483 struct csi2dc_device *csi2dc = container_of(notifier,
484 struct csi2dc_device, notifier);
528 v4l2_async_subdev_nf_init(&csi2dc->notifier, &csi2dc->csi2dc_sd);
530 asd = v4l2_async_nf_add_fwnode_remote(&csi2dc->notifier,
539 "failed to add async notifier for node %pOF: %d\n",
541 v4l2_async_nf_cleanup(&csi2dc->notifier);
[all...]
/linux-master/drivers/media/platform/cadence/
H A Dcdns-csi2rx.c100 struct v4l2_async_notifier notifier; member in struct:csi2rx_priv
480 static int csi2rx_async_bound(struct v4l2_async_notifier *notifier, argument
484 struct v4l2_subdev *subdev = notifier->sd;
643 v4l2_async_subdev_nf_init(&csi2rx->notifier, &csi2rx->subdev);
645 asd = v4l2_async_nf_add_fwnode_remote(&csi2rx->notifier, fwh,
649 v4l2_async_nf_cleanup(&csi2rx->notifier);
653 csi2rx->notifier.ops = &csi2rx_notifier_ops;
655 ret = v4l2_async_nf_register(&csi2rx->notifier);
657 v4l2_async_nf_cleanup(&csi2rx->notifier);
723 v4l2_async_nf_unregister(&csi2rx->notifier);
[all...]
/linux-master/tools/testing/selftests/memory-hotplug/
H A Dmem-on-off-test.sh158 echo "Usage $0 [ -e errno ] [ -p notifier-priority ] [ -r percent-of-memory-to-offline ]"
239 # Test with memory notifier error injection
243 NOTIFIER_ERR_INJECT_DIR=$DEBUGFS/notifier-error-inject/memory
249 /sbin/modprobe -q -r memory-notifier-error-inject
250 /sbin/modprobe -q memory-notifier-error-inject priority=$priority
258 echo $msg memory-notifier-error-inject module is not available >&2
263 echo -e "\t Test with memory notifier error injection"
305 /sbin/modprobe -q -r memory-notifier-error-inject
/linux-master/drivers/media/cec/platform/s5p/
H A Ds5p_cec.c24 #include <media/cec-notifier.h>
227 cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL,
229 if (!cec->notifier) {
245 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap);
256 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap);
H A Ds5p_cec.h67 struct cec_notifier *notifier; member in struct:s5p_cec_dev
/linux-master/drivers/input/keyboard/
H A Dadp5520-keys.c18 struct notifier_block notifier; member in struct:adp5520_keys
42 dev = container_of(nb, struct adp5520_keys, notifier);
159 dev->notifier.notifier_call = adp5520_keys_notifier;
160 ret = adp5520_register_notifier(dev->master, &dev->notifier,
163 dev_err(&pdev->dev, "failed to register notifier\n");
175 adp5520_unregister_notifier(dev->master, &dev->notifier,
/linux-master/lib/
H A Dtest_hmm.c79 * notifier updates.
82 struct mmu_interval_notifier notifier; member in struct:dmirror_interval
93 struct mmu_interval_notifier notifier; member in struct:dmirror
175 ret = mmu_interval_notifier_insert(&dmirror->notifier, current->mm,
190 mmu_interval_notifier_remove(&dmirror->notifier);
249 * the mmu notifier to clear page pointers when they become stale.
261 struct dmirror *dmirror = container_of(mni, struct dmirror, notifier);
290 struct mm_struct *mm = dmirror->notifier.mm;
301 range->notifier_seq = mmu_interval_read_begin(range->notifier);
312 if (mmu_interval_read_retry(range->notifier,
1112 struct dmirror_interval notifier; local
[all...]
/linux-master/drivers/media/cec/platform/sti/
H A Dstih-cec.c17 #include <media/cec-notifier.h>
129 struct cec_notifier *notifier; member in struct:stih_cec
345 cec->notifier = cec_notifier_cec_adap_register(hdmi_dev, NULL,
347 if (!cec->notifier) {
360 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap);
371 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap);
/linux-master/drivers/pwm/
H A Dpwm-sifive.c46 struct notifier_block notifier; member in struct:pwm_sifive_ddata
213 container_of(nb, struct pwm_sifive_ddata, notifier);
285 ddata->notifier.notifier_call = pwm_sifive_clock_notifier;
286 ret = clk_notifier_register(ddata->clk, &ddata->notifier);
288 dev_err(dev, "failed to register clock notifier: %d\n", ret);
304 clk_notifier_unregister(ddata->clk, &ddata->notifier);
322 clk_notifier_unregister(ddata->clk, &ddata->notifier);
/linux-master/arch/mips/kernel/
H A Dvpe-mt.c29 struct vpe_notifications *notifier; local
140 list_for_each_entry(notifier, &v->notify, list)
141 notifier->start(VPE_MODULE_MINOR);
264 struct vpe_notifications *notifier; local
266 list_for_each_entry(notifier, &vpe->notify, list)
267 notifier->stop(aprp_cpu_index());
/linux-master/drivers/infiniband/core/
H A Dumem_odp.c90 ret = mmu_interval_notifier_insert(&umem_odp->notifier,
183 odp_data->notifier.ops = ops;
186 * A mmget must be held when registering a notifier, the owming_mm only
242 umem_odp->notifier.ops = ops;
276 mmu_interval_notifier_remove(&umem_odp->notifier);
378 range.notifier = &umem_odp->notifier;
395 mmu_interval_read_begin(&umem_odp->notifier);
410 if (mmu_interval_read_retry(&umem_odp->notifier, current_seq)) {
/linux-master/drivers/misc/vmw_vmci/
H A Dvmci_context.c429 struct vmci_handle_list *notifier, *tmp; local
471 list_for_each_entry_safe(notifier, tmp,
473 list_del(&notifier->node);
474 kfree(notifier);
601 struct vmci_handle_list *notifier, *n; local
621 notifier = kmalloc(sizeof(struct vmci_handle_list), GFP_KERNEL);
622 if (!notifier) {
627 INIT_LIST_HEAD(&notifier->node);
628 notifier->handle = vmci_make_handle(remote_cid, VMCI_EVENT_HANDLER);
634 if (vmci_handle_is_equal(n->handle, notifier
668 struct vmci_handle_list *notifier = NULL, *iter, *tmp; local
[all...]
/linux-master/kernel/power/
H A Dqos.c620 * freq_qos_add_notifier - Add frequency QoS change notifier.
621 * @qos: List of requests to add the notifier to.
623 * @notifier: Notifier block to add.
627 struct notifier_block *notifier)
631 if (IS_ERR_OR_NULL(qos) || !notifier)
637 notifier);
641 notifier);
653 * freq_qos_remove_notifier - Remove frequency QoS change notifier.
654 * @qos: List of requests to remove the notifier from.
656 * @notifier
625 freq_qos_add_notifier(struct freq_constraints *qos, enum freq_qos_req_type type, struct notifier_block *notifier) argument
658 freq_qos_remove_notifier(struct freq_constraints *qos, enum freq_qos_req_type type, struct notifier_block *notifier) argument
[all...]
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-fwnode.c814 * @notifier: the async notifier where the async subdevs will be added
823 struct v4l2_async_notifier *notifier,
836 asd = v4l2_async_nf_add_fwnode(notifier, args.fwnode,
860 * @notifier: notifier for @dev
1082 * @notifier: notifier for @dev
1089 * @props. Then, set up V4L2 async sub-devices for those fwnodes in the notifier
1103 struct v4l2_async_notifier *notifier,
822 v4l2_fwnode_reference_parse(struct device *dev, struct v4l2_async_notifier *notifier, const char *prop) argument
1102 v4l2_fwnode_reference_parse_int_props(struct device *dev, struct v4l2_async_notifier *notifier, const struct v4l2_fwnode_int_props *p) argument
1176 v4l2_async_nf_parse_fwnode_sensor(struct device *dev, struct v4l2_async_notifier *notifier) argument
1210 struct v4l2_async_notifier *notifier; local
[all...]
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_state_monitor.h97 spinlock_t notifier_lock; /* Protects notifier list */
135 void t7xx_fsm_notifier_register(struct t7xx_modem *md, struct t7xx_fsm_notifier *notifier);
136 void t7xx_fsm_notifier_unregister(struct t7xx_modem *md, struct t7xx_fsm_notifier *notifier);
/linux-master/drivers/s390/char/
H A Draw3270.h128 int raw3270_register_notifier(struct raw3270_notifier *notifier);
129 void raw3270_unregister_notifier(struct raw3270_notifier *notifier);
/linux-master/include/linux/
H A Dlcd.h14 #include <linux/notifier.h>
67 /* The framebuffer notifier block */
/linux-master/include/net/
H A Dfib_notifier.h5 #include <linux/notifier.h>
/linux-master/net/ipv6/
H A Dfib6_notifier.c1 #include <linux/notifier.h>
/linux-master/drivers/staging/olpc_dcon/
H A Dolpc_dcon.h5 #include <linux/notifier.h>
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_svm.h10 struct mmu_notifier notifier; member in struct:nouveau_svmm
/linux-master/include/sound/
H A Dsoc-jack.h88 struct blocking_notifier_head notifier; member in struct:snd_soc_jack
/linux-master/drivers/power/reset/
H A Dhisi-reboot.c14 #include <linux/notifier.h>

Completed in 264 milliseconds

1234567891011>>