Home
last modified time | relevance | path

Searched refs:notifier_block (Results 1 - 25 of 91) sorted by relevance

1234

/device/soc/rockchip/common/sdk_linux/include/linux/
H A 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 int devm_extcon_register_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb);
210 void devm_extcon_unregister_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb);
239 static inline int extcon_register_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) in extcon_register_notifier()
244 static inline int extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *n
[all...]
H A 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/
H A 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()
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/power/
H A 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/soc/rockchip/common/sdk_linux/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);
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/soc/rockchip/rk3588/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()
/device/soc/rockchip/rk3588/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()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A 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;
/device/soc/rockchip/common/vendor/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()
/device/soc/rockchip/common/sdk_linux/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()
/device/soc/rockchip/rk3588/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()
/device/soc/rockchip/common/sdk_linux/kernel/
H A 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/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/platform/devicetree/
H A Dmali_kbase_clk_rate_trace.c70 void *gpu_clk_handle, struct notifier_block *nb) in gpu_clk_notifier_register()
90 void *gpu_clk_handle, struct notifier_block *nb) in gpu_clk_notifier_unregister()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_config.h288 int (*gpu_clk_notifier_register)(struct kbase_device *kbdev, void *gpu_clk_handle, struct notifier_block *nb);
301 void (*gpu_clk_notifier_unregister)(struct kbase_device *kbdev, void *gpu_clk_handle, struct notifier_block *nb);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_linux_priv.h179 struct notifier_block freq_trans;
183 struct notifier_block pm_notifier;
209 struct notifier_block cpu_notifier;
411 int dhd_cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu);
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A 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/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
H A Drockchip_debug.c203 static int rockchip_panic_notify_edpcsr(struct notifier_block *nb, in rockchip_panic_notify_edpcsr()
263 static int rockchip_panic_notify_pmpcsr(struct notifier_block *nb, in rockchip_panic_notify_pmpcsr()
320 static int rockchip_panic_notify_pmpcsr(struct notifier_block *nb, in rockchip_panic_notify_pmpcsr()
327 static int rockchip_panic_notify(struct notifier_block *nb, unsigned long event, in rockchip_panic_notify()
336 static struct notifier_block rockchip_panic_nb = {
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_config.h409 void *gpu_clk_handle, struct notifier_block *nb);
423 void *gpu_clk_handle, struct notifier_block *nb);
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
H A Dmipi-csi2.h153 int rkcif_csi2_register_notifier(struct notifier_block *nb);
154 int rkcif_csi2_unregister_notifier(struct notifier_block *nb);
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
H A Dmipi-csi2.h156 int rkcif_csi2_register_notifier(struct notifier_block *nb);
157 int rkcif_csi2_unregister_notifier(struct notifier_block *nb);
/device/soc/rockchip/common/sdk_linux/drivers/gpio/
H A Dgpiolib-of.h42 extern struct notifier_block gpio_of_notifier;
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_clk_rate_trace_mgr.h50 struct notifier_block clk_rate_change_nb;
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/arbiter/
H A Dmali_kbase_arbiter_pm.h180 struct notifier_block *nb;
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_clk_rate_trace_mgr.h49 struct notifier_block clk_rate_change_nb;
/device/soc/rockchip/common/vendor/drivers/devfreq/
H A Drockchip_bus.c38 struct notifier_block clk_nb;
39 struct notifier_block cpufreq_nb;
201 static int rockchip_bus_clk_notifier(struct notifier_block *nb, unsigned long event, void *data) in rockchip_bus_clk_notifier()
330 static int rockchip_bus_cpufreq_notifier(struct notifier_block *nb, unsigned long event, void *data) in rockchip_bus_cpufreq_notifier()

Completed in 14 milliseconds

1234