Home
last modified time | relevance | path

Searched refs:notifiers (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v5.4/Documentation/cpu-freq/
Dcore.txt24 2. CPUFreq notifiers
33 frequency transitions), as well as to "notifiers". These are device
47 2. CPUFreq notifiers
50 CPUFreq notifiers conform to the standard kernel notifier interface.
51 See linux/include/linux/notifier.h for details on notifiers.
53 There are two different CPUFreq notifiers - policy notifiers and
54 transition notifiers.
57 2.1 CPUFreq policy notifiers
71 2.2 CPUFreq transition notifiers
Dindex.txt25 of CPUFreq notifiers.
/Linux-v5.4/kernel/power/
Dqos.c74 .notifiers = &cpu_dma_lat_notifier,
257 if (c->notifiers) in pm_qos_update_target()
258 blocking_notifier_call_chain(c->notifiers, in pm_qos_update_target()
504 pm_qos_array[pm_qos_class]->constraints->notifiers, in pm_qos_add_notifier()
524 pm_qos_array[pm_qos_class]->constraints->notifiers, in pm_qos_remove_notifier()
670 c->notifiers = &qos->min_freq_notifiers; in freq_constraints_init()
671 BLOCKING_INIT_NOTIFIER_HEAD(c->notifiers); in freq_constraints_init()
679 c->notifiers = &qos->max_freq_notifiers; in freq_constraints_init()
680 BLOCKING_INIT_NOTIFIER_HEAD(c->notifiers); in freq_constraints_init()
851 ret = blocking_notifier_chain_register(qos->min_freq.notifiers, in freq_qos_add_notifier()
[all …]
/Linux-v5.4/Documentation/driver-api/pm/
Dnotifiers.rst26 Subsystems or drivers having such needs can register suspend notifiers that
32 additional work is done between the notifiers and the invocation of PM
56 It is generally assumed that whatever the notifiers do for
61 Moreover, if one of the notifiers fails for the ``PM_HIBERNATION_PREPARE`` or
62 ``PM_SUSPEND_PREPARE`` event, the notifiers that have already succeeded for that
66 The hibernation and suspend notifiers are called with :c:data:`pm_mutex` held.
Dindex.rst11 notifiers
/Linux-v5.4/drivers/clk/renesas/
Drcar-gen3-cpg.c73 static void cpg_simple_notifier_register(struct raw_notifier_head *notifiers, in cpg_simple_notifier_register() argument
77 raw_notifier_chain_register(notifiers, &csn->nb); in cpg_simple_notifier_register()
381 struct raw_notifier_head *notifiers) in cpg_sd_clk_register() argument
416 cpg_simple_notifier_register(notifiers, &clock->csn); in cpg_sd_clk_register()
444 struct raw_notifier_head *notifiers) in cpg_rpc_clk_register() argument
473 cpg_simple_notifier_register(notifiers, &rpc->csn); in cpg_rpc_clk_register()
542 struct raw_notifier_head *notifiers) in rcar_gen3_cpg_clk_register() argument
609 __clk_get_name(parent), notifiers); in rcar_gen3_cpg_clk_register()
633 cpg_simple_notifier_register(notifiers, csn); in rcar_gen3_cpg_clk_register()
693 __clk_get_name(parent), notifiers); in rcar_gen3_cpg_clk_register()
Dclk-div6.c216 struct raw_notifier_head *notifiers) in cpg_div6_register() argument
280 if (notifiers) { in cpg_div6_register()
282 raw_notifier_chain_register(notifiers, &clock->nb); in cpg_div6_register()
Dclk-div6.h7 struct raw_notifier_head *notifiers);
Drcar-gen2-cpg.h36 struct raw_notifier_head *notifiers);
Drenesas-cpg-mssr.c139 struct raw_notifier_head notifiers; member
346 &priv->notifiers); in cpg_mssr_register_core_clk()
363 &priv->notifiers); in cpg_mssr_register_core_clk()
808 raw_notifier_call_chain(&priv->notifiers, PM_EVENT_SUSPEND, NULL); in cpg_mssr_suspend_noirq()
824 raw_notifier_call_chain(&priv->notifiers, PM_EVENT_RESUME, NULL); in cpg_mssr_resume_noirq()
912 RAW_INIT_NOTIFIER_HEAD(&priv->notifiers); in cpg_mssr_common_init()
Dr8a77970-cpg-mssr.c225 struct raw_notifier_head *notifiers) in r8a77970_cpg_clk_register() argument
242 notifiers); in r8a77970_cpg_clk_register()
Drcar-gen3-cpg.h72 struct raw_notifier_head *notifiers);
Drenesas-cpg-mssr.h154 struct raw_notifier_head *notifiers);
Dr7s9210-cpg-mssr.c162 struct raw_notifier_head *notifiers) in rza2_cpg_clk_register() argument
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Devents.c57 struct mlx5_event_nb notifiers[ARRAY_SIZE(events_nbs_ref)]; member
368 events->notifiers[i].nb = events_nbs_ref[i]; in mlx5_events_start()
369 events->notifiers[i].ctx = events; in mlx5_events_start()
370 mlx5_eq_notifier_register(dev, &events->notifiers[i].nb); in mlx5_events_start()
380 mlx5_eq_notifier_unregister(dev, &events->notifiers[i].nb); in mlx5_events_stop()
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_abi16.c135 list_for_each_entry_safe(ntfy, temp, &chan->notifiers, head) { in nouveau_abi16_chan_fini()
299 INIT_LIST_HEAD(&chan->notifiers); in nouveau_abi16_ioctl_channel_alloc()
502 list_add(&ntfy->head, &chan->notifiers); in nouveau_abi16_ioctl_grobj_alloc()
543 list_add(&ntfy->head, &chan->notifiers); in nouveau_abi16_ioctl_notifierobj_alloc()
606 list_for_each_entry(ntfy, &chan->notifiers, head) { in nouveau_abi16_ioctl_gpuobj_free()
Dnouveau_abi16.h24 struct list_head notifiers; member
/Linux-v5.4/drivers/misc/vmw_vmci/
Dvmci_context.c703 u32 *notifiers; in vmci_ctx_get_chkpt_notifiers() local
714 data_size = context->n_notifiers * sizeof(*notifiers); in vmci_ctx_get_chkpt_notifiers()
720 notifiers = kmalloc(data_size, GFP_ATOMIC); /* FIXME: want GFP_KERNEL */ in vmci_ctx_get_chkpt_notifiers()
721 if (!notifiers) in vmci_ctx_get_chkpt_notifiers()
725 notifiers[i++] = entry->handle.context; in vmci_ctx_get_chkpt_notifiers()
728 *pbuf = notifiers; in vmci_ctx_get_chkpt_notifiers()
/Linux-v5.4/Documentation/fault-injection/
Dnotifier-error-inject.rst7 modules that can be used to test the following notifiers.
92 for CPU and memory notifiers.
/Linux-v5.4/drivers/base/power/
Dqos.c202 c->notifiers = n; in dev_pm_qos_constraints_allocate()
282 kfree(qos->resume_latency.notifiers); in dev_pm_qos_constraints_destroy()
507 ret = blocking_notifier_chain_register(dev->power.qos->resume_latency.notifiers, in dev_pm_qos_add_notifier()
546 ret = blocking_notifier_chain_unregister(dev->power.qos->resume_latency.notifiers, in dev_pm_qos_remove_notifier()
/Linux-v5.4/mm/
Dhmm.c42 hmm->notifiers = 0; in hmm_alloc_notifier()
83 hmm->notifiers--; in notifiers_decrement()
84 if (!hmm->notifiers) { in notifiers_decrement()
107 hmm->notifiers++; in hmm_invalidate_range_start()
818 if (!hmm->notifiers) in hmm_range_register()
/Linux-v5.4/include/linux/
Dhmm.h93 long notifiers; member
Dpm_qos.h85 struct blocking_notifier_head *notifiers; member
/Linux-v5.4/Documentation/devicetree/
Dchangesets.txt9 at once before emitting OF_RECONFIG notifiers. This is so that the
/Linux-v5.4/Documentation/driver-api/memory-devices/
Dti-emif.rst50 EMIF driver registers notifiers for voltage and frequency changes

12