Searched refs:nb (Results 126 - 150 of 881) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Digmp.h94 #define IGMPV3_MASK(value, nb) ((nb)>=32 ? (value) : ((1<<(nb))-1) & (value))
H A Dclk.h97 * @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 Diosf_mbi.c401 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 Dclk-div6.c32 * @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 Dalign.c118 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 Dux500.c94 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 Dat91-reset.c77 * @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 Dsuper.c23 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 Dwatchdog_core.c158 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 Dsoc-jack.c172 * @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 Dcros_peripheral_charger.c241 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 Dwindfarm.h137 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 Dloongson2_cpufreq.c30 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 Dapcs-msm8916.c31 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 Dapcs-sdx55.c34 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 Dreset-ath79.c75 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 Dio-domain.c63 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 Dclock_ops.c608 * @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 Dswitchdev.h320 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 Ddev.c19 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 Dubi.h235 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 Docteon_edac-pc.c23 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 Dconsumer.h256 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 Dcacheflush.c87 unsigned long nb = PAGE_SIZE / bytes; local
114 : "r" (nb), "r" (msr), "i" (bytes), "r" (msr0)
/linux-master/net/x25/
H A Daf_x25.c209 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...]

Completed in 246 milliseconds

1234567891011>>