/linux-master/arch/arm/mach-omap2/ |
H A D | clockdomain.c | 453 static int cpu_notifier(struct notifier_block *nb, unsigned long cmd, void *v) argument 480 static struct notifier_block nb; local 497 nb.notifier_call = cpu_notifier; 498 cpu_pm_register_notifier(&nb);
|
/linux-master/drivers/mtd/ubi/ |
H A D | nvmem.c | 138 * @nb: registered notifier block 142 static int nvmem_notify(struct notifier_block *nb, unsigned long l, argument
|
/linux-master/drivers/net/ethernet/amd/pds_core/ |
H A D | core.c | 11 int pdsc_register_notify(struct notifier_block *nb) argument 13 return blocking_notifier_chain_register(&pds_notify_chain, nb); 17 void pdsc_unregister_notify(struct notifier_block *nb) argument 19 blocking_notifier_chain_unregister(&pds_notify_chain, nb);
|
/linux-master/include/linux/ |
H A D | scmi_protocol.h | 853 * invoking the callback provided with the notifier_block *nb as follows: 855 * int user_cb(nb, evt_id, report) 859 * @nb: The notifier block provided by the user 867 struct notifier_block *nb); 869 struct notifier_block *nb); 873 struct notifier_block *nb); 877 struct notifier_block *nb);
|
H A D | module.h | 741 int register_module_notifier(struct notifier_block *nb); 742 int unregister_module_notifier(struct notifier_block *nb); 831 static inline int register_module_notifier(struct notifier_block *nb) argument 837 static inline int unregister_module_notifier(struct notifier_block *nb) argument
|
/linux-master/drivers/thermal/ |
H A D | thermal_netlink.c | 711 int thermal_genl_register_notifier(struct notifier_block *nb) argument 713 return blocking_notifier_chain_register(&thermal_genl_chain, nb); 716 int thermal_genl_unregister_notifier(struct notifier_block *nb) argument 718 return blocking_notifier_chain_unregister(&thermal_genl_chain, nb);
|
/linux-master/drivers/cpufreq/ |
H A D | cpufreq.c | 477 struct notifier_block *nb; local 483 for (nb = cpufreq_transition_notifier_list.head; nb; nb = nb->next) 484 pr_info("%pS\n", nb->notifier_call); 1207 static int cpufreq_notifier_min(struct notifier_block *nb, unsigned long freq, argument 1210 struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_min); 1216 static int cpufreq_notifier_max(struct notifier_block *nb, unsigned long freq, argument 1219 struct cpufreq_policy *policy = container_of(nb, struc 2083 cpufreq_register_notifier(struct notifier_block *nb, unsigned int list) argument 2127 cpufreq_unregister_notifier(struct notifier_block *nb, unsigned int list) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | pci_irq.c | 340 int mlx5_irq_attach_nb(struct mlx5_irq *irq, struct notifier_block *nb) argument 350 ret = atomic_notifier_chain_register(&irq->nh, nb); 356 int mlx5_irq_detach_nb(struct mlx5_irq *irq, struct notifier_block *nb) argument 360 err = atomic_notifier_chain_unregister(&irq->nh, nb);
|
/linux-master/include/net/ |
H A D | ip6_fib.h | 557 int call_fib6_notifier(struct notifier_block *nb, 567 int fib6_tables_dump(struct net *net, struct notifier_block *nb, 633 int fib6_rules_dump(struct net *net, struct notifier_block *nb, 674 static inline int fib6_rules_dump(struct net *net, struct notifier_block *nb, argument
|
/linux-master/drivers/of/ |
H A D | dynamic.c | 56 int of_reconfig_notifier_register(struct notifier_block *nb) argument 58 return blocking_notifier_chain_register(&of_reconfig_chain, nb); 62 int of_reconfig_notifier_unregister(struct notifier_block *nb) argument 64 return blocking_notifier_chain_unregister(&of_reconfig_chain, nb);
|
/linux-master/mm/ |
H A D | memory-tiers.c | 790 * @nb: The notifier block which describe the algorithm 801 * int (*algorithm_notifier)(struct notifier_block *nb, 810 int register_mt_adistance_algorithm(struct notifier_block *nb) argument 812 return blocking_notifier_chain_register(&mt_adistance_algorithms, nb); 818 * @nb: the notifier block which describe the algorithm 822 int unregister_mt_adistance_algorithm(struct notifier_block *nb) argument 824 return blocking_notifier_chain_unregister(&mt_adistance_algorithms, nb);
|
/linux-master/drivers/video/backlight/ |
H A D | backlight.c | 571 * @nb: notifier block with the notifier to call on backlight (un)registration 580 int backlight_register_notifier(struct notifier_block *nb) argument 582 return blocking_notifier_chain_register(&backlight_notifier, nb); 588 * @nb: notifier block to unregister 597 int backlight_unregister_notifier(struct notifier_block *nb) argument 599 return blocking_notifier_chain_unregister(&backlight_notifier, nb);
|
/linux-master/drivers/staging/nvec/ |
H A D | nvec_ps2.c | 63 static int nvec_ps2_notifier(struct notifier_block *nb, argument
|
H A D | nvec_kbd.c | 53 static int nvec_keys_notifier(struct notifier_block *nb, argument
|
/linux-master/drivers/tty/serial/8250/ |
H A D | 8250_dw.c | 59 static inline struct dw8250_data *clk_to_dw8250_data(struct notifier_block *nb) argument 61 return container_of(nb, struct dw8250_data, clk_notifier); 301 static int dw8250_clk_notifier_cb(struct notifier_block *nb, argument 304 struct dw8250_data *d = clk_to_dw8250_data(nb);
|
/linux-master/drivers/tty/serial/ |
H A D | sifive.c | 164 #define notifier_to_sifive_serial_port(nb) (container_of((nb), \ 582 * @nb: pointer to the struct notifier_block, from the notifier code 593 static int sifive_serial_clk_notifier(struct notifier_block *nb, argument 597 struct sifive_serial_port *ssp = notifier_to_sifive_serial_port(nb);
|
/linux-master/drivers/platform/x86/dell/ |
H A D | dell-smbios-base.c | 341 int dell_laptop_register_notifier(struct notifier_block *nb) argument 343 return blocking_notifier_chain_register(&dell_laptop_chain_head, nb); 347 int dell_laptop_unregister_notifier(struct notifier_block *nb) argument 349 return blocking_notifier_chain_unregister(&dell_laptop_chain_head, nb);
|
/linux-master/drivers/input/touchscreen/ |
H A D | da9034-ts.c | 231 static int da9034_touch_notifier(struct notifier_block *nb, argument 235 container_of(nb, struct da9034_touch, notifier);
|
/linux-master/arch/mips/kernel/ |
H A D | proc.c | 26 int __ref register_proc_cpuinfo_notifier(struct notifier_block *nb) argument 28 return raw_notifier_chain_register(&proc_cpuinfo_chain, nb);
|
/linux-master/drivers/gpu/drm/sti/ |
H A D | sti_crtc.c | 242 int sti_crtc_vblank_cb(struct notifier_block *nb, argument 251 compo = container_of(nb, struct sti_compositor, vtg_vblank_nb[pipe]);
|
/linux-master/drivers/clk/rockchip/ |
H A D | clk-pll.c | 47 #define to_rockchip_clk_pll_nb(nb) \ 48 container_of(nb, struct rockchip_clk_pll, clk_nb) 396 rate->nb = ((pllcon >> RK3066_PLLCON2_NB_SHIFT) 460 writel_relaxed(HIWORD_UPDATE(rate->nb - 1, RK3066_PLLCON2_NB_MASK, 550 pr_debug("%s: pll %s@%lu: nr (%d:%d); no (%d:%d); nf(%d:%d), nb(%d:%d)\n", 552 rate->no, cur.no, rate->nf, cur.nf, rate->nb, cur.nb); 554 || rate->nb != cur.nb) {
|
/linux-master/drivers/md/persistent-data/ |
H A D | dm-space-map-common.c | 427 struct dm_block *nb; local 439 &dm_sm_bitmap_validator, &nb, &inc); 444 ie_disk.blocknr = cpu_to_le64(dm_block_location(nb)); 445 bm_le = dm_bitmap_data(nb); 451 dm_tm_unlock(ll->tm, nb); 457 dm_tm_unlock(ll->tm, nb); 463 dm_tm_unlock(ll->tm, nb); 477 dm_tm_unlock(ll->tm, nb);
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router.c | 1329 static int __prestera_inetaddr_cb(struct notifier_block *nb, argument 1334 struct prestera_router *router = container_of(nb, 1353 static int __prestera_inetaddr_valid_cb(struct notifier_block *nb, argument 1358 struct prestera_router *router = container_of(nb, 1430 static int __prestera_router_fib_event(struct notifier_block *nb, argument 1441 router = container_of(nb, struct prestera_router, fib_nb); 1492 static int prestera_router_netevent_event(struct notifier_block *nb, argument 1499 router = container_of(nb, struct prestera_router, netevent_nb);
|
/linux-master/tools/perf/util/ |
H A D | thread-stack.c | 663 bool *start, struct branch_entry *nb) 666 *start = (nb && sample_ip >= be->to && sample_ip <= nb->from) || 724 struct branch_entry *nb = NULL; local 732 if (ks_start(s, ip, kernel_start, &start, nb)) { 736 nb = s; 741 if (ks_start(s, ip, kernel_start, &start, nb)) { 745 nb = s; 662 ks_start(struct branch_entry *be, u64 sample_ip, u64 kernel_start, bool *start, struct branch_entry *nb) argument
|
/linux-master/drivers/clk/sunxi-ng/ |
H A D | ccu_mux.c | 284 static int ccu_mux_notifier_cb(struct notifier_block *nb, argument 287 struct ccu_mux_nb *mux = to_ccu_mux_nb(nb);
|