Home
last modified time | relevance | path

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

123456

/device/soc/rockchip/common/sdk_linux/include/linux/
Dextcon.h200 int extcon_register_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb);
201 int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb);
203 struct notifier_block *nb);
205 struct notifier_block *nb);
207 int extcon_register_notifier_all(struct extcon_dev *edev, struct notifier_block *nb);
208 int extcon_unregister_notifier_all(struct extcon_dev *edev, struct notifier_block *nb);
209 …tcon_register_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb);
210 …on_unregister_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb);
239 …e int extcon_register_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) in extcon_register_notifier()
244 …int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) in extcon_unregister_notifier()
[all …]
Dreboot.h41 extern int register_reboot_notifier(struct notifier_block *);
42 extern int unregister_reboot_notifier(struct notifier_block *);
44 extern int devm_register_reboot_notifier(struct device *, struct notifier_block *);
46 extern int register_restart_handler(struct notifier_block *);
47 extern int unregister_restart_handler(struct notifier_block *);
51 extern int register_pre_restart_handler(struct notifier_block *nb);
52 extern int unregister_pre_restart_handler(struct notifier_block *nb);
55 static inline int register_pre_restart_handler(struct notifier_block *nb) in register_pre_restart_handler()
60 static inline int unregister_pre_restart_handler(struct notifier_block *nb) in unregister_pre_restart_handler()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
Dosal_notifier.c30 struct notifier_block *nb;
34 static struct osal_notifier_block *osal_find_ob(struct notifier_block *nb) in osal_find_ob()
71 static int osal_notifier(struct notifier_block *nb, unsigned long action, void *data) in osal_notifier()
82 struct notifier_block *nb = NULL; in osal_register_reboot_notifier()
85 nb = kmalloc(sizeof(struct notifier_block), GFP_KERNEL); in osal_register_reboot_notifier()
90 (void)memset_s(nb, sizeof(struct notifier_block), 0, sizeof(struct notifier_block)); in osal_register_reboot_notifier()
102 ob->notifier_block = nb; in osal_register_reboot_notifier()
114 unregister_reboot_notifier((struct notifier_block *)nb->notifier_block); in osal_unregister_reboot_notifier()
115 kfree((struct notifier_block *)nb->notifier_block); in osal_unregister_reboot_notifier()
/device/soc/rockchip/rk3588/kernel/include/linux/power/
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()
/device/soc/rockchip/common/sdk_linux/include/linux/power/
Drk_usbbc.h26 extern int rk_bc_detect_notifier_register(struct notifier_block *nb, enum bc_port_type *type);
27 extern int rk_bc_detect_notifier_unregister(struct notifier_block *nb);
34 static inline int rk_bc_detect_notifier_register(struct notifier_block *nb, enum bc_port_type *type) in rk_bc_detect_notifier_register()
39 static inline int rk_bc_detect_notifier_unregister(struct notifier_block *nb) in rk_bc_detect_notifier_unregister()
/device/board/isoftstone/yangfan/kernel/src/incl/linux/power/
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()
/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/
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);
18 static inline int rockchip_register_system_status_notifier(struct notifier_block *nb) in rockchip_register_system_status_notifier()
23 static inline int rockchip_unregister_system_status_notifier(struct notifier_block *nb) in rockchip_unregister_system_status_notifier()
/device/board/isoftstone/yangfan/kernel/src/incl/soc/
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()
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/
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()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ebc-dev/
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()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ebc-dev/
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()
/device/soc/rockchip/common/vendor/drivers/gpu/drm/rockchip/ebc-dev/
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()
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/
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()
/device/soc/rockchip/common/sdk_linux/kernel/
Dreboot.c89 int register_reboot_notifier(struct notifier_block *nb) in register_reboot_notifier()
104 int unregister_reboot_notifier(struct notifier_block *nb) in unregister_reboot_notifier()
112 WARN_ON(unregister_reboot_notifier(*(struct notifier_block **)res)); in devm_unregister_reboot_notifier()
115 int devm_register_reboot_notifier(struct device *dev, struct notifier_block *nb) in devm_register_reboot_notifier()
117 struct notifier_block **rcnb; in devm_register_reboot_notifier()
181 int register_restart_handler(struct notifier_block *nb) in register_restart_handler()
196 int unregister_restart_handler(struct notifier_block *nb) in unregister_restart_handler()
221 int register_pre_restart_handler(struct notifier_block *nb) in register_pre_restart_handler()
227 int unregister_pre_restart_handler(struct notifier_block *nb) in unregister_pre_restart_handler()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/vout/lcd/
Dlcd_notify.h88 extern int aml_lcd_notifier_register(struct notifier_block *nb);
89 extern int aml_lcd_notifier_unregister(struct notifier_block *nb);
92 extern int aml_lcd_atomic_notifier_register(struct notifier_block *nb);
93 extern int aml_lcd_atomic_notifier_unregister(struct notifier_block *nb);
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
Dplat_pm.h136 struct notifier_block;
138 typedef int (*notifier_fn_t)(struct notifier_block *nb, unsigned long action, void *data);
140 struct notifier_block { struct
142 struct notifier_block *next; argument
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/vout/
Dvout_notify.h66 extern int vout_register_client(struct notifier_block *p);
67 extern int vout_unregister_client(struct notifier_block *p);
81 extern int vout2_register_client(struct notifier_block *p);
82 extern int vout2_unregister_client(struct notifier_block *p);
/device/board/isoftstone/yangfan/kernel/src/driv/input/touchscreen/
Dtp_suspend.h19 struct notifier_block fb_notif;
20 struct notifier_block ebc_notif;
27 static inline int fb_notifier_callback(struct notifier_block *self, in fb_notifier_callback()
71 static int ebc_notifier_callback(struct notifier_block *self, in ebc_notifier_callback()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/linux/
Dpm_qos.h157 int pm_qos_add_notifier(int pm_qos_class, struct notifier_block *notifier);
158 int pm_qos_remove_notifier(int pm_qos_class, struct notifier_block *notifier);
172 struct notifier_block *notifier,
175 struct notifier_block *notifier,
244 struct notifier_block *notifier, in dev_pm_qos_add_notifier()
248 struct notifier_block *notifier, in dev_pm_qos_remove_notifier()
311 struct notifier_block *notifier);
314 struct notifier_block *notifier);
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/
Dusbtype.h103 extern int dwc_otg_power_register_notifier(struct notifier_block *nb);
104 extern int dwc_otg_power_unregister_notifier(struct notifier_block *nb);
105 extern int dwc_otg_charger_detect_register_notifier(struct notifier_block *nb);
Dusb-v2.h31 int aml_new_usb_v2_register_notifier(struct notifier_block *nb);
32 int aml_new_usb_v2_unregister_notifier(struct notifier_block *nb);
33 int aml_new_otg_register_notifier(struct notifier_block *nb);
34 int aml_new_otg_unregister_notifier(struct notifier_block *nb);
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/vout/hdmi_tx/
Dhdmi_tx_notify.h29 int hdmitx_event_notifier_regist(struct notifier_block *nb);
30 int hdmitx_event_notifier_unregist(struct notifier_block *nb);
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/sound/
Daout_notify.h40 int aout_unregister_client(struct notifier_block *p);
41 int aout_register_client(struct notifier_block *p);
/device/soc/rockchip/common/vendor/drivers/rockchip/
Drockchip_debug.c197 static int rockchip_panic_notify_edpcsr(struct notifier_block *nb, unsigned long event, void *p) in rockchip_panic_notify_edpcsr()
254 static int rockchip_panic_notify_pmpcsr(struct notifier_block *nb, unsigned long event, void *p) in rockchip_panic_notify_pmpcsr()
309 static int rockchip_panic_notify_pmpcsr(struct notifier_block *nb, unsigned long event, void *p) in rockchip_panic_notify_pmpcsr()
315 static int rockchip_panic_notify(struct notifier_block *nb, unsigned long event, void *p) in rockchip_panic_notify()
324 static struct notifier_block rockchip_panic_nb = {
/device/board/isoftstone/yangfan/kernel/src/driv/soc/
Drockchip_debug.c202 static int rockchip_panic_notify_edpcsr(struct notifier_block *nb, in rockchip_panic_notify_edpcsr()
262 static int rockchip_panic_notify_pmpcsr(struct notifier_block *nb, in rockchip_panic_notify_pmpcsr()
319 static int rockchip_panic_notify_pmpcsr(struct notifier_block *nb, in rockchip_panic_notify_pmpcsr()
326 static int rockchip_panic_notify(struct notifier_block *nb, unsigned long event, in rockchip_panic_notify()
335 static struct notifier_block rockchip_panic_nb = {

123456