/linux-master/include/linux/ |
H A D | igmp.h | 94 #define IGMPV3_MASK(value, nb) ((nb)>=32 ? (value) : ((1<<(nb))-1) & (value))
|
H A D | clk.h | 97 * @nb: notifier block with callback function pointer 103 int clk_notifier_register(struct clk *clk, struct notifier_block *nb); 108 * @nb: notifier block which will be unregistered 110 int clk_notifier_unregister(struct clk *clk, struct notifier_block *nb); 116 * @nb: notifier block with callback function pointer 121 struct notifier_block *nb); 234 struct notifier_block *nb) 240 struct notifier_block *nb) 247 struct notifier_block *nb) 233 clk_notifier_register(struct clk *clk, struct notifier_block *nb) argument 239 clk_notifier_unregister(struct clk *clk, struct notifier_block *nb) argument 245 devm_clk_notifier_register(struct device *dev, struct clk *clk, struct notifier_block *nb) argument
|
/linux-master/arch/x86/platform/intel/ |
H A D | iosf_mbi.c | 401 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) argument 408 &iosf_mbi_pmic_bus_access_notifier, nb); 416 struct notifier_block *nb) 421 &iosf_mbi_pmic_bus_access_notifier, nb); 425 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) argument 431 ret = iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(nb); 415 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked( struct notifier_block *nb) argument
|
/linux-master/drivers/clk/renesas/ |
H A D | clk-div6.c | 32 * @nb: Notifier block to save/restore clock state for system resume 40 struct notifier_block nb; member in struct:div6_clock 210 static int cpg_div6_clock_notifier_call(struct notifier_block *nb, argument 213 struct div6_clock *clock = container_of(nb, struct div6_clock, nb); 308 clock->nb.notifier_call = cpg_div6_clock_notifier_call; 309 raw_notifier_chain_register(notifiers, &clock->nb);
|
/linux-master/arch/powerpc/kernel/ |
H A D | align.c | 118 unsigned int nb, flags, instr; local 126 nb = spe_aligninfo[instr].len; 168 if (!user_read_access_begin(addr, nb)) 171 switch (nb) { 255 if (!user_write_access_begin(addr, nb)) 258 switch (nb) {
|
/linux-master/drivers/usb/musb/ |
H A D | ux500.c | 94 static int musb_otg_notifications(struct notifier_block *nb, argument 97 struct musb *musb = container_of(nb, struct musb, nb); 154 musb->nb.notifier_call = musb_otg_notifications; 155 status = usb_register_notifier(musb->xceiv, &musb->nb); 168 usb_unregister_notifier(musb->xceiv, &musb->nb);
|
/linux-master/drivers/power/reset/ |
H A D | at91-reset.c | 77 * @nb: reset notifier block 89 struct notifier_block nb; member in struct:at91_reset 118 struct at91_reset *reset = container_of(this, struct at91_reset, nb); 375 reset->nb.notifier_call = at91_reset; 376 reset->nb.priority = 192; 401 ret = register_restart_handler(&reset->nb); 424 unregister_restart_handler(&reset->nb);
|
/linux-master/fs/efivarfs/ |
H A D | super.c | 23 static int efivarfs_ops_notifier(struct notifier_block *nb, unsigned long event, argument 26 struct efivarfs_fs_info *sfi = container_of(nb, struct efivarfs_fs_info, nb); 341 sfi->nb.notifier_call = efivarfs_ops_notifier; 342 err = blocking_notifier_chain_register(&efivar_ops_nh, &sfi->nb); 395 blocking_notifier_chain_unregister(&efivar_ops_nh, &sfi->nb);
|
/linux-master/drivers/watchdog/ |
H A D | watchdog_core.c | 158 static int watchdog_reboot_notifier(struct notifier_block *nb, argument 163 wdd = container_of(nb, struct watchdog_device, reboot_nb); 178 static int watchdog_restart_notifier(struct notifier_block *nb, argument 181 struct watchdog_device *wdd = container_of(nb, struct watchdog_device, 193 static int watchdog_pm_notifier(struct notifier_block *nb, unsigned long mode, argument 199 wdd = container_of(nb, struct watchdog_device, pm_nb);
|
/linux-master/sound/soc/ |
H A D | soc-jack.c | 172 * @nb: Notifier block to register 181 struct notifier_block *nb) 183 blocking_notifier_chain_register(&jack->notifier, nb); 191 * @nb: Notifier block to unregister 196 struct notifier_block *nb) 198 blocking_notifier_chain_unregister(&jack->notifier, nb); 257 static int snd_soc_jack_pm_notifier(struct notifier_block *nb, argument 261 container_of(nb, struct snd_soc_jack_gpio, pm_notifier); 180 snd_soc_jack_notifier_register(struct snd_soc_jack *jack, struct notifier_block *nb) argument 195 snd_soc_jack_notifier_unregister(struct snd_soc_jack *jack, struct notifier_block *nb) argument
|
/linux-master/drivers/power/supply/ |
H A D | cros_peripheral_charger.c | 241 static int cros_ec_notify(struct notifier_block *nb, argument 247 container_of(nb, struct charger_data, notifier); 271 struct notifier_block *nb; local 344 nb = &charger->notifier; 345 nb->notifier_call = cros_ec_notify; 347 nb);
|
/linux-master/drivers/macintosh/ |
H A D | windfarm.h | 137 extern int wf_register_client(struct notifier_block *nb); 138 extern int wf_unregister_client(struct notifier_block *nb);
|
/linux-master/drivers/cpufreq/ |
H A D | loongson2_cpufreq.c | 30 static int loongson2_cpu_freq_notifier(struct notifier_block *nb, 37 static int loongson2_cpu_freq_notifier(struct notifier_block *nb, argument
|
/linux-master/drivers/clk/qcom/ |
H A D | apcs-msm8916.c | 31 static int a53cc_notifier_cb(struct notifier_block *nb, unsigned long event, argument 35 struct clk_regmap_mux_div *md = container_of(nb,
|
H A D | apcs-sdx55.c | 34 static int a7cc_notifier_cb(struct notifier_block *nb, unsigned long event, argument 38 struct clk_regmap_mux_div *md = container_of(nb,
|
/linux-master/drivers/reset/ |
H A D | reset-ath79.c | 75 static int ath79_reset_restart_handler(struct notifier_block *nb, argument 79 container_of(nb, struct ath79_reset, restart_nb);
|
/linux-master/drivers/soc/rockchip/ |
H A D | io-domain.c | 63 struct notifier_block nb; member in struct:rockchip_iodomain_supply 144 static int rockchip_iodomain_notify(struct notifier_block *nb, argument 149 container_of(nb, struct rockchip_iodomain_supply, nb); 655 supply->nb.notifier_call = rockchip_iodomain_notify; 664 ret = regulator_register_notifier(reg, &supply->nb); 684 &io_supply->nb); 700 &io_supply->nb);
|
/linux-master/drivers/base/power/ |
H A D | clock_ops.c | 608 * @nb: Notifier block object this function is a member of. 612 * For this function to work, @nb must be a member of an object of type 622 static int pm_clk_notify(struct notifier_block *nb, argument 632 clknb = container_of(nb, struct pm_clk_notifier_block, nb); 741 * @nb: Notifier block object this function is a member of. 745 * For this function to work, @nb must be a member of an object of type 750 static int pm_clk_notify(struct notifier_block *nb, argument 759 clknb = container_of(nb, struct pm_clk_notifier_block, nb); [all...] |
/linux-master/include/net/ |
H A D | switchdev.h | 320 int register_switchdev_notifier(struct notifier_block *nb); 321 int unregister_switchdev_notifier(struct notifier_block *nb); 326 int register_switchdev_blocking_notifier(struct notifier_block *nb); 327 int unregister_switchdev_blocking_notifier(struct notifier_block *nb); 419 static inline int register_switchdev_notifier(struct notifier_block *nb) argument 424 static inline int unregister_switchdev_notifier(struct notifier_block *nb) argument 438 register_switchdev_blocking_notifier(struct notifier_block *nb) argument 444 unregister_switchdev_blocking_notifier(struct notifier_block *nb) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
H A D | dev.c | 19 struct notifier_block nb; member in struct:mlx5_sf_dev_table 157 mlx5_sf_dev_state_change_handler(struct notifier_block *nb, unsigned long event_code, void *data) argument 159 struct mlx5_sf_dev_table *table = container_of(nb, struct mlx5_sf_dev_table, nb); 332 table->nb.notifier_call = mlx5_sf_dev_state_change_handler; 339 err = mlx5_vhca_event_notifier_register(dev, &table->nb); 355 mlx5_vhca_event_notifier_unregister(dev, &table->nb); 383 mlx5_vhca_event_notifier_unregister(dev, &table->nb);
|
/linux-master/include/linux/mtd/ |
H A D | ubi.h | 235 int ubi_register_volume_notifier(struct notifier_block *nb, 237 int ubi_unregister_volume_notifier(struct notifier_block *nb);
|
/linux-master/drivers/edac/ |
H A D | octeon_edac-pc.c | 23 extern int register_co_cache_error_notifier(struct notifier_block *nb); 24 extern int unregister_co_cache_error_notifier(struct notifier_block *nb);
|
/linux-master/include/linux/regulator/ |
H A D | consumer.h | 256 struct notifier_block *nb); 258 struct notifier_block *nb); 260 struct notifier_block *nb); 262 struct notifier_block *nb); 575 struct notifier_block *nb) 581 struct notifier_block *nb) 587 struct notifier_block *nb) 593 struct notifier_block *nb) 574 regulator_register_notifier(struct regulator *regulator, struct notifier_block *nb) argument 580 devm_regulator_register_notifier(struct regulator *regulator, struct notifier_block *nb) argument 586 regulator_unregister_notifier(struct regulator *regulator, struct notifier_block *nb) argument 592 devm_regulator_unregister_notifier(struct regulator *regulator, struct notifier_block *nb) argument
|
/linux-master/arch/powerpc/mm/ |
H A D | cacheflush.c | 87 unsigned long nb = PAGE_SIZE / bytes; local 114 : "r" (nb), "r" (msr), "i" (bytes), "r" (msr0)
|
/linux-master/net/x25/ |
H A D | af_x25.c | 209 struct x25_neigh *nb; local 221 nb = x25_get_neigh(dev); 222 if (nb) { 223 x25_link_terminated(nb); 224 x25_neigh_put(nb); 234 nb = x25_get_neigh(dev); 235 if (nb) { 236 x25_link_terminated(nb); 237 x25_neigh_put(nb); 308 static struct sock *__x25_find_socket(unsigned int lci, struct x25_neigh *nb) argument 322 x25_find_socket(unsigned int lci, struct x25_neigh *nb) argument 335 x25_new_lci(struct x25_neigh *nb) argument 940 x25_rx_call_request(struct sk_buff *skb, struct x25_neigh *nb, unsigned int lci) argument 1634 struct x25_neigh *nb; local 1771 x25_kill_by_neigh(struct x25_neigh *nb) argument [all...] |