Searched refs:nb (Results 151 - 175 of 881) sorted by relevance

1234567891011>>

/linux-master/tools/include/linux/
H A Dbitops.h23 #define BYTES_TO_BITS(nb) ((nb) * BITS_PER_BYTE)
/linux-master/arch/mips/kernel/
H A Dcsrc-r4k.c85 static int r4k_cpufreq_callback(struct notifier_block *nb, argument
/linux-master/include/linux/power/
H A Dcharger-manager.h48 * @nb: the notifier block to receive changed state from EXTCON
64 struct notifier_block nb; member in struct:charger_cable
/linux-master/drivers/infiniband/hw/mlx5/
H A Dsrq.h54 struct notifier_block nb; member in struct:mlx5_srq_table
/linux-master/drivers/mailbox/
H A Dpl320-ipc.c118 int pl320_ipc_register_notifier(struct notifier_block *nb) argument
120 return atomic_notifier_chain_register(&ipc_notifier, nb);
124 int pl320_ipc_unregister_notifier(struct notifier_block *nb) argument
126 return atomic_notifier_chain_unregister(&ipc_notifier, nb);
/linux-master/kernel/gcov/
H A Dbase.c103 static int gcov_module_notifier(struct notifier_block *nb, unsigned long event, argument
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dsnoc.h81 struct notifier_block nb; member in struct:ath10k_snoc
/linux-master/drivers/soc/tegra/
H A Dari-tegra186.c39 static int tegra186_ari_panic_handler(struct notifier_block *nb, argument
/linux-master/drivers/gpu/drm/
H A Ddrm_privacy_screen.c263 * @nb: Notifier-block for the notifier to register
281 struct notifier_block *nb)
283 return blocking_notifier_chain_register(&priv->notifier_head, nb);
290 * @nb: Notifier-block for the notifier to register
297 struct notifier_block *nb)
299 return blocking_notifier_chain_unregister(&priv->notifier_head, nb);
280 drm_privacy_screen_register_notifier(struct drm_privacy_screen *priv, struct notifier_block *nb) argument
296 drm_privacy_screen_unregister_notifier(struct drm_privacy_screen *priv, struct notifier_block *nb) argument
/linux-master/drivers/acpi/nfit/
H A Dmce.c13 static int nfit_handle_mce(struct notifier_block *nb, unsigned long val, argument
/linux-master/drivers/firmware/arm_scmi/
H A Dscmi_power_control.c107 * @nb: Reference to the related notifier block
116 static int scmi_reboot_notifier(struct notifier_block *nb, argument
119 struct scmi_syspower_conf *sc = reboot_nb_to_sconf(nb);
260 * @nb: Reference to the related notifier block
274 static int scmi_userspace_notifier(struct notifier_block *nb, argument
278 struct scmi_syspower_conf *sc = userspace_nb_to_sconf(nb);
H A Dnotify.c69 * int user_cb(struct notifier_block *nb, unsigned long event_id, void *report)
1332 * @nb: A standard notifier block to register for the specified event
1336 * A notifier_block @nb will be registered for each distinct event identified
1359 struct notifier_block *nb)
1376 blocking_notifier_chain_register(&hndl->chain, nb);
1395 * @nb: The notifier_block to unregister
1397 * Takes care to unregister the provided @nb from the notification chain
1406 struct notifier_block *nb)
1426 blocking_notifier_chain_unregister(&hndl->chain, nb);
1451 struct notifier_block *nb; member in struct:scmi_notifier_devres
1357 scmi_notifier_register(const struct scmi_handle *handle, u8 proto_id, u8 evt_id, const u32 *src_id, struct notifier_block *nb) argument
1404 scmi_notifier_unregister(const struct scmi_handle *handle, u8 proto_id, u8 evt_id, const u32 *src_id, struct notifier_block *nb) argument
1478 scmi_devm_notifier_register(struct scmi_device *sdev, u8 proto_id, u8 evt_id, const u32 *src_id, struct notifier_block *nb) argument
1516 struct notifier_block *nb = data; local
1537 scmi_devm_notifier_unregister(struct scmi_device *sdev, struct notifier_block *nb) argument
[all...]
/linux-master/drivers/xen/
H A Dmanage.c49 void xen_resume_notifier_register(struct notifier_block *nb) argument
51 raw_notifier_chain_register(&xen_resume_notifier, nb);
55 void xen_resume_notifier_unregister(struct notifier_block *nb) argument
57 raw_notifier_chain_unregister(&xen_resume_notifier, nb);
/linux-master/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_buffer.h25 * @nb: gyro, accel and total samples in the FIFO data buffer.
41 } nb; member in struct:inv_icm42600_fifo
/linux-master/drivers/platform/chrome/
H A Dcros_ec_typec.h38 struct notifier_block nb; member in struct:cros_typec_data
/linux-master/arch/mips/mm/
H A Dc-octeon.c297 int register_co_cache_error_notifier(struct notifier_block *nb) argument
299 return raw_notifier_chain_register(&co_cache_error_chain, nb);
303 int unregister_co_cache_error_notifier(struct notifier_block *nb) argument
305 return raw_notifier_chain_unregister(&co_cache_error_chain, nb);
/linux-master/arch/loongarch/include/asm/
H A Dcpu-info.h81 extern int register_proc_cpuinfo_notifier(struct notifier_block *nb);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dcore.c163 static int fpga_err_event(struct notifier_block *nb, unsigned long event, void *eqe) argument
165 struct mlx5_fpga_device *fdev = mlx5_nb_cof(nb, struct mlx5_fpga_device, fpga_err_nb);
170 static int fpga_qp_err_event(struct notifier_block *nb, unsigned long event, void *eqe) argument
172 struct mlx5_fpga_device *fdev = mlx5_nb_cof(nb, struct mlx5_fpga_device, fpga_qp_err_nb);
/linux-master/drivers/firmware/imx/
H A Dimx-scu-irq.c64 int imx_scu_irq_register_notifier(struct notifier_block *nb) argument
67 &imx_scu_irq_notifier_chain, nb);
71 int imx_scu_irq_unregister_notifier(struct notifier_block *nb) argument
74 &imx_scu_irq_notifier_chain, nb);
/linux-master/arch/x86/kernel/cpu/mce/
H A Dinternal.h161 void mce_register_injector_chain(struct notifier_block *nb);
162 void mce_unregister_injector_chain(struct notifier_block *nb);
165 static inline void mce_register_injector_chain(struct notifier_block *nb) { } argument
166 static inline void mce_unregister_injector_chain(struct notifier_block *nb) { } argument
/linux-master/drivers/platform/x86/amd/
H A Dwbrf.c284 * @nb: driver notifier block
293 int amd_wbrf_register_notifier(struct notifier_block *nb) argument
295 return blocking_notifier_chain_register(&wbrf_chain_head, nb);
303 * @nb: driver notifier block
313 int amd_wbrf_unregister_notifier(struct notifier_block *nb) argument
315 return blocking_notifier_chain_unregister(&wbrf_chain_head, nb);
/linux-master/include/linux/
H A Dnvmem-consumer.h91 int nvmem_register_notifier(struct notifier_block *nb);
92 int nvmem_unregister_notifier(struct notifier_block *nb);
228 static inline int nvmem_register_notifier(struct notifier_block *nb) argument
233 static inline int nvmem_unregister_notifier(struct notifier_block *nb) argument
H A Dsuspend.h439 extern int register_pm_notifier(struct notifier_block *nb);
440 extern int unregister_pm_notifier(struct notifier_block *nb);
475 static inline int register_pm_notifier(struct notifier_block *nb) argument
480 static inline int unregister_pm_notifier(struct notifier_block *nb) argument
/linux-master/drivers/cache/
H A Dsifive_ccache.c131 int register_sifive_ccache_error_notifier(struct notifier_block *nb) argument
133 return atomic_notifier_chain_register(&ccache_err_chain, nb);
137 int unregister_sifive_ccache_error_notifier(struct notifier_block *nb) argument
139 return atomic_notifier_chain_unregister(&ccache_err_chain, nb);
/linux-master/fs/efivarfs/
H A Dinternal.h21 struct notifier_block nb; member in struct:efivarfs_fs_info

Completed in 505 milliseconds

1234567891011>>