Home
last modified time | relevance | path

Searched refs:notifier_block (Results 1 – 25 of 1235) sorted by relevance

12345678910>>...50

/OK3568_Linux_fs/kernel/include/linux/
H A Dextcon.h203 struct notifier_block *nb);
205 struct notifier_block *nb);
208 struct notifier_block *nb);
211 struct notifier_block *nb);
214 struct notifier_block *nb);
216 struct notifier_block *nb);
219 struct notifier_block *nb);
222 struct notifier_block *nb);
255 unsigned int id, struct notifier_block *nb) in extcon_register_notifier()
261 unsigned int id, struct notifier_block *nb) in extcon_unregister_notifier()
[all …]
H A Dnotifier.h49 struct notifier_block;
51 typedef int (*notifier_fn_t)(struct notifier_block *nb,
54 struct notifier_block { struct
56 struct notifier_block __rcu *next; argument
62 struct notifier_block __rcu *head; argument
67 struct notifier_block __rcu *head;
71 struct notifier_block __rcu *head;
77 struct notifier_block __rcu *head;
145 struct notifier_block *nb);
147 struct notifier_block *nb);
[all …]
H A Dreboot.h43 extern int register_reboot_notifier(struct notifier_block *);
44 extern int unregister_reboot_notifier(struct notifier_block *);
46 extern int devm_register_reboot_notifier(struct device *, struct notifier_block *);
48 extern int register_restart_handler(struct notifier_block *);
49 extern int unregister_restart_handler(struct notifier_block *);
53 extern int register_pre_restart_handler(struct notifier_block *nb);
54 extern int unregister_pre_restart_handler(struct notifier_block *nb);
57 static inline int register_pre_restart_handler(struct notifier_block *nb) in register_pre_restart_handler()
62 static inline int unregister_pre_restart_handler(struct notifier_block *nb) in unregister_pre_restart_handler()
H A Dprofile.h19 struct notifier_block;
81 int task_handoff_register(struct notifier_block * n);
82 int task_handoff_unregister(struct notifier_block * n);
84 int profile_event_register(enum profile_type, struct notifier_block * n);
85 int profile_event_unregister(enum profile_type, struct notifier_block * n);
113 static inline int task_handoff_register(struct notifier_block * n) in task_handoff_register()
118 static inline int task_handoff_unregister(struct notifier_block * n) in task_handoff_unregister()
123 static inline int profile_event_register(enum profile_type t, struct notifier_block * n) in profile_event_register()
128 static inline int profile_event_unregister(enum profile_type t, struct notifier_block * n) in profile_event_unregister()
H A Ddevfreq.h180 struct notifier_block nb;
203 struct notifier_block nb_min;
204 struct notifier_block nb_max;
246 struct notifier_block *nb,
249 struct notifier_block *nb,
253 struct notifier_block *nb,
257 struct notifier_block *nb,
312 struct notifier_block nb;
386 struct notifier_block *nb, in devfreq_register_notifier()
393 struct notifier_block *nb, in devfreq_unregister_notifier()
[all …]
H A Dmemory.h54 struct notifier_block;
69 static inline int register_memory_notifier(struct notifier_block *nb) in register_memory_notifier()
73 static inline void unregister_memory_notifier(struct notifier_block *nb) in unregister_memory_notifier()
81 extern int register_memory_notifier(struct notifier_block *nb);
82 extern void unregister_memory_notifier(struct notifier_block *nb);
97 static __meminitdata struct notifier_block fn##_mem_nb =\
H A Dgpio_detection.h28 int gpio_det_register_notifier(struct notifier_block *nb);
29 int gpio_det_unregister_notifier(struct notifier_block *nb);
34 static inline int gpio_det_register_notifier(struct notifier_block *nb) in gpio_det_register_notifier()
39 static inline int gpio_det_unregister_notifier(struct notifier_block *nb) in gpio_det_unregister_notifier()
H A Dcpu_pm.h61 int cpu_pm_register_notifier(struct notifier_block *nb);
62 int cpu_pm_unregister_notifier(struct notifier_block *nb);
70 static inline int cpu_pm_register_notifier(struct notifier_block *nb) in cpu_pm_register_notifier()
75 static inline int cpu_pm_unregister_notifier(struct notifier_block *nb) in cpu_pm_unregister_notifier()
/OK3568_Linux_fs/kernel/kernel/
H A Dnotifier.c22 static int notifier_chain_register(struct notifier_block **nl, in notifier_chain_register()
23 struct notifier_block *n) in notifier_chain_register()
39 static int notifier_chain_unregister(struct notifier_block **nl, in notifier_chain_unregister()
40 struct notifier_block *n) in notifier_chain_unregister()
64 static int notifier_call_chain(struct notifier_block **nl, in notifier_call_chain()
69 struct notifier_block *nb, *next_nb; in notifier_call_chain()
112 static int notifier_call_chain_robust(struct notifier_block **nl, in notifier_call_chain_robust()
140 struct notifier_block *n) in atomic_notifier_chain_register()
162 struct notifier_block *n) in atomic_notifier_chain_unregister()
241 struct notifier_block *n) in blocking_notifier_chain_register()
[all …]
H A Dreboot.c91 int register_reboot_notifier(struct notifier_block *nb) in register_reboot_notifier()
106 int unregister_reboot_notifier(struct notifier_block *nb) in unregister_reboot_notifier()
114 WARN_ON(unregister_reboot_notifier(*(struct notifier_block **)res)); in devm_unregister_reboot_notifier()
117 int devm_register_reboot_notifier(struct device *dev, struct notifier_block *nb) in devm_register_reboot_notifier()
119 struct notifier_block **rcnb; in devm_register_reboot_notifier()
183 int register_restart_handler(struct notifier_block *nb) in register_restart_handler()
198 int unregister_restart_handler(struct notifier_block *nb) in unregister_restart_handler()
223 int register_pre_restart_handler(struct notifier_block *nb) in register_pre_restart_handler()
229 int unregister_pre_restart_handler(struct notifier_block *nb) in unregister_pre_restart_handler()
/OK3568_Linux_fs/kernel/include/linux/remoteproc/
H A Dqcom_rproc.h4 struct notifier_block;
29 void *qcom_register_ssr_notifier(const char *name, struct notifier_block *nb);
30 int qcom_unregister_ssr_notifier(void *notify, struct notifier_block *nb);
35 struct notifier_block *nb) in qcom_register_ssr_notifier()
41 struct notifier_block *nb) in qcom_unregister_ssr_notifier()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Devents.c21 static int any_notifier(struct notifier_block *, unsigned long, void *);
22 static int temp_warn(struct notifier_block *, unsigned long, void *);
23 static int port_module(struct notifier_block *, unsigned long, void *);
24 static int pcie_core(struct notifier_block *, unsigned long, void *);
27 static int forward_event(struct notifier_block *, unsigned long, void *);
137 static int any_notifier(struct notifier_block *nb, in any_notifier()
150 static int temp_warn(struct notifier_block *nb, unsigned long type, void *data) in temp_warn()
212 static int port_module(struct notifier_block *nb, unsigned long type, void *data) in port_module()
301 static int pcie_core(struct notifier_block *nb, unsigned long type, void *data) in pcie_core()
326 static int forward_event(struct notifier_block *nb, unsigned long event, void *data) in forward_event()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Diosf_mbi.h168 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb);
175 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb);
187 struct notifier_block *nb);
226 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_register_pmic_bus_access_notifier()
232 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier()
238 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb) in iosf_mbi_unregister_pmic_bus_access_notifier_unlocked()
/OK3568_Linux_fs/kernel/include/net/
H A Dfib_notifier.h32 int (*fib_dump)(struct net *net, struct notifier_block *nb,
38 int call_fib_notifier(struct notifier_block *nb,
43 int register_fib_notifier(struct net *net, struct notifier_block *nb,
44 void (*cb)(struct notifier_block *nb),
46 int unregister_fib_notifier(struct net *net, struct notifier_block *nb);
H A Ddcbevent.h16 int register_dcbevent_notifier(struct notifier_block *nb);
17 int unregister_dcbevent_notifier(struct notifier_block *nb);
21 register_dcbevent_notifier(struct notifier_block *nb) in register_dcbevent_notifier()
26 static inline int unregister_dcbevent_notifier(struct notifier_block *nb) in unregister_dcbevent_notifier()
H A Dswitchdev.h269 int register_switchdev_notifier(struct notifier_block *nb);
270 int unregister_switchdev_notifier(struct notifier_block *nb);
275 int register_switchdev_blocking_notifier(struct notifier_block *nb);
276 int unregister_switchdev_blocking_notifier(struct notifier_block *nb);
329 static inline int register_switchdev_notifier(struct notifier_block *nb) in register_switchdev_notifier()
334 static inline int unregister_switchdev_notifier(struct notifier_block *nb) in unregister_switchdev_notifier()
348 register_switchdev_blocking_notifier(struct notifier_block *nb) in register_switchdev_blocking_notifier()
354 unregister_switchdev_blocking_notifier(struct notifier_block *nb) in unregister_switchdev_blocking_notifier()
/OK3568_Linux_fs/kernel/net/core/
H A Dfib_notifier.c18 int call_fib_notifier(struct notifier_block *nb, in call_fib_notifier()
60 static int fib_net_dump(struct net *net, struct notifier_block *nb, in fib_net_dump()
83 static bool fib_dump_is_consistent(struct net *net, struct notifier_block *nb, in fib_dump_is_consistent()
84 void (*cb)(struct notifier_block *nb), in fib_dump_is_consistent()
99 int register_fib_notifier(struct net *net, struct notifier_block *nb, in register_fib_notifier()
100 void (*cb)(struct notifier_block *nb), in register_fib_notifier()
121 int unregister_fib_notifier(struct net *net, struct notifier_block *nb) in unregister_fib_notifier()
/OK3568_Linux_fs/kernel/include/linux/power/
H A Drk_usbbc.h26 extern int rk_bc_detect_notifier_register(struct notifier_block *nb,
28 extern int rk_bc_detect_notifier_unregister(struct notifier_block *nb);
32 static inline int rk_bc_detect_notifier_register(struct notifier_block *nb, in rk_bc_detect_notifier_register()
38 static inline int rk_bc_detect_notifier_unregister(struct notifier_block *nb) in rk_bc_detect_notifier_unregister()
/OK3568_Linux_fs/kernel/include/soc/rockchip/
H A Drockchip-system-status.h10 int rockchip_register_system_status_notifier(struct notifier_block *nb);
11 int rockchip_unregister_system_status_notifier(struct notifier_block *nb);
19 rockchip_register_system_status_notifier(struct notifier_block *nb) in rockchip_register_system_status_notifier()
25 rockchip_unregister_system_status_notifier(struct notifier_block *nb) in rockchip_unregister_system_status_notifier()
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A DbL_switcher.h40 int bL_switcher_register_notifier(struct notifier_block *nb);
41 int bL_switcher_unregister_notifier(struct notifier_block *nb);
58 static inline int bL_switcher_register_notifier(struct notifier_block *nb) in bL_switcher_register_notifier()
63 static inline int bL_switcher_unregister_notifier(struct notifier_block *nb) in bL_switcher_unregister_notifier()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ebc-dev/
H A Debc_dev.h94 int ebc_register_notifier(struct notifier_block *nb);
95 int ebc_unregister_notifier(struct notifier_block *nb);
98 static inline int ebc_register_notifier(struct notifier_block *nb) in ebc_register_notifier()
103 static inline int ebc_unregister_notifier(struct notifier_block *nb) in ebc_unregister_notifier()
/OK3568_Linux_fs/kernel/arch/arm/mach-highbank/
H A Dhighbank.c67 static int highbank_platform_notifier(struct notifier_block *nb, in highbank_platform_notifier()
107 static struct notifier_block highbank_amba_nb = {
111 static struct notifier_block highbank_platform_nb = {
119 static int hb_keys_notifier(struct notifier_block *nb, unsigned long event, void *data) in hb_keys_notifier()
133 static struct notifier_block hb_keys_nb = {
/OK3568_Linux_fs/kernel/include/linux/regulator/
H A Dconsumer.h38 struct notifier_block;
274 struct notifier_block *nb);
276 struct notifier_block *nb);
278 struct notifier_block *nb);
280 struct notifier_block *nb);
569 struct notifier_block *nb) in regulator_register_notifier()
575 struct notifier_block *nb) in devm_regulator_register_notifier()
581 struct notifier_block *nb) in regulator_unregister_notifier()
587 struct notifier_block *nb) in devm_regulator_unregister_notifier()
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dsstate.c50 static int sstate_reboot_call(struct notifier_block *np, unsigned long type, void *_unused) in sstate_reboot_call()
74 static struct notifier_block sstate_reboot_notifier = {
78 static int sstate_panic_event(struct notifier_block *n, unsigned long event, void *ptr) in sstate_panic_event()
85 static struct notifier_block sstate_panic_block = {
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dphy.h106 struct notifier_block vbus_nb;
107 struct notifier_block id_nb;
108 struct notifier_block type_nb;
227 struct device_node *node, struct notifier_block *nb);
256 struct device_node *node, struct notifier_block *nb) in devm_usb_get_phy_by_node()
342 usb_register_notifier(struct usb_phy *x, struct notifier_block *nb) in usb_register_notifier()
348 usb_unregister_notifier(struct usb_phy *x, struct notifier_block *nb) in usb_unregister_notifier()

12345678910>>...50