Searched refs:nb (Results 176 - 200 of 881) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ipa/
H A Dipa.h30 * @nb: Notifier block used for remoteproc SSR
78 struct notifier_block nb; member in struct:ipa
/linux-master/include/linux/usb/
H A Drenesas_usbhs.h87 int (*notifier)(struct notifier_block *nb, unsigned long event,
/linux-master/drivers/bcma/
H A Ddriver_chipcommon.c59 u32 nb; local
63 nb = 32;
65 nb = 16;
67 nb = (cc->core->id.rev >= 37) ? 32 : 24;
69 nb = 28;
71 if (nb == 32)
74 return (1 << nb) - 1;
/linux-master/drivers/power/supply/
H A Disp1704_charger.c51 struct notifier_block nb; member in struct:isp1704_charger
293 static int isp1704_notifier_call(struct notifier_block *nb, argument
297 container_of(nb, struct isp1704_charger, nb);
441 isp->nb.notifier_call = isp1704_notifier_call;
443 ret = usb_register_notifier(isp->phy, &isp->nb);
484 usb_unregister_notifier(isp->phy, &isp->nb);
/linux-master/drivers/usb/phy/
H A Dphy.c34 struct notifier_block *nb; member in struct:phy_devm
201 * @nb: the notifier block to determine charger type
208 static int usb_phy_get_charger_type(struct notifier_block *nb, argument
211 struct usb_phy *usb_phy = container_of(nb, struct usb_phy, type_nb);
344 if (res->nb)
345 usb_unregister_notifier(res->phy, res->nb);
523 * @nb: a notifier_block to register with the phy.
537 struct notifier_block *nb)
562 if (nb)
563 usb_register_notifier(phy, nb);
535 devm_usb_get_phy_by_node(struct device *dev, struct device_node *node, struct notifier_block *nb) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_backlight.c51 const int nb = ida_alloc_max(&bl_ida, 99, GFP_KERNEL); local
53 if (nb < 0)
55 if (nb > 0)
56 snprintf(backlight_name, BL_NAME_SIZE, "nv_backlight%d", nb);
59 bl->id = nb;
/linux-master/drivers/usb/gadget/udc/
H A Dsnps_udc_plat.c89 struct udc *udc = container_of(self, struct udc, nb);
169 udc->nb.notifier_call = usbd_connect_notify;
171 &udc->nb);
217 extcon_unregister_notifier(udc->edev, EXTCON_USB, &udc->nb);
246 extcon_unregister_notifier(dev->edev, EXTCON_USB, &dev->nb);
/linux-master/arch/powerpc/mm/book3s32/
H A Dmmu.c198 int nb = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; local
205 for (i = 0; i < nb - 1 && base < top;) {
221 for (; i < nb; i++)
238 int nb = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; local
241 for (i = 0; i < nb; i++) {
/linux-master/drivers/clk/qcom/
H A Dclk-cbf-8996.c94 struct notifier_block nb; member in struct:clk_cbf_8996_mux
103 static int cbf_clk_notifier_cb(struct notifier_block *nb, unsigned long event,
158 .nb.notifier_call = cbf_clk_notifier_cb,
169 static int cbf_clk_notifier_cb(struct notifier_block *nb, unsigned long event, argument
319 ret = devm_clk_notifier_register(dev, cbf_mux.clkr.hw.clk, &cbf_mux.nb);
H A Dclk-cpu-8996.c259 struct notifier_block nb; member in struct:clk_cpu_8996_pmux
263 static int cpu_clk_notifier_cb(struct notifier_block *nb, unsigned long event,
267 container_of(_nb, struct clk_cpu_8996_pmux, nb)
385 .nb.notifier_call = cpu_clk_notifier_cb,
398 .nb.notifier_call = cpu_clk_notifier_cb,
501 devm_clk_notifier_register(dev, pwrcl_pmux.clkr.hw.clk, &pwrcl_pmux.nb);
502 devm_clk_notifier_register(dev, perfcl_pmux.clkr.hw.clk, &perfcl_pmux.nb);
546 static int cpu_clk_notifier_cb(struct notifier_block *nb, unsigned long event, argument
549 struct clk_cpu_8996_pmux *cpuclk = to_clk_cpu_8996_pmux_nb(nb);
/linux-master/drivers/iio/filter/
H A Dadmv8818.c88 struct notifier_block nb; member in struct:admv8818_state
468 ret = clk_notifier_register(st->clkin, &st->nb);
481 ret = clk_notifier_unregister(st->clkin, &st->nb);
545 static int admv8818_freq_change(struct notifier_block *nb, unsigned long action, void *data) argument
547 struct admv8818_state *st = container_of(nb, struct admv8818_state, nb);
560 clk_notifier_unregister(st->clkin, &st->nb);
642 st->nb.notifier_call = admv8818_freq_change;
643 ret = clk_notifier_register(st->clkin, &st->nb);
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_huc.c173 static int gsc_notifier(struct notifier_block *nb, unsigned long action, void *data) argument
176 struct intel_huc *huc = container_of(nb, struct intel_huc, delayed_load.nb);
204 huc->delayed_load.nb.notifier_call = gsc_notifier;
205 ret = bus_register_notifier(bus, &huc->delayed_load.nb);
208 huc->delayed_load.nb.notifier_call = NULL;
215 if (!huc->delayed_load.nb.notifier_call)
220 bus_unregister_notifier(bus, &huc->delayed_load.nb);
221 huc->delayed_load.nb.notifier_call = NULL;
/linux-master/fs/exfat/
H A Ddir.c197 static void exfat_init_namebuf(struct exfat_dentry_namebuf *nb) argument
199 nb->lfn = NULL;
200 nb->lfnbuf_len = 0;
203 static int exfat_alloc_namebuf(struct exfat_dentry_namebuf *nb) argument
205 nb->lfn = __getname();
206 if (!nb->lfn)
208 nb->lfnbuf_len = MAX_VFSNAME_BUF_SIZE;
212 static void exfat_free_namebuf(struct exfat_dentry_namebuf *nb) argument
214 if (!nb->lfn)
217 __putname(nb
232 struct exfat_dentry_namebuf *nb = &(de.namebuf); local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Deq.c108 static int mlx5_eq_comp_int(struct notifier_block *nb, argument
113 container_of(nb, struct mlx5_eq_comp, irq_nb);
199 static int mlx5_eq_async_int(struct notifier_block *nb, argument
203 container_of(nb, struct mlx5_eq_async, irq_nb);
358 * @nb : Notifier call block
365 struct notifier_block *nb)
369 err = mlx5_irq_attach_nb(eq->irq, nb);
381 * @nb : Notifier call block
386 struct notifier_block *nb)
388 mlx5_irq_detach_nb(eq->irq, nb);
364 mlx5_eq_enable(struct mlx5_core_dev *dev, struct mlx5_eq *eq, struct notifier_block *nb) argument
385 mlx5_eq_disable(struct mlx5_core_dev *dev, struct mlx5_eq *eq, struct notifier_block *nb) argument
501 cq_err_event_notifier(struct notifier_block *nb, unsigned long type, void *data) argument
1254 mlx5_eq_notifier_register(struct mlx5_core_dev *dev, struct mlx5_nb *nb) argument
1262 mlx5_eq_notifier_unregister(struct mlx5_core_dev *dev, struct mlx5_nb *nb) argument
[all...]
/linux-master/sound/soc/codecs/
H A Darizona.h368 struct notifier_block *nb,
370 (struct notifier_block *nb,
376 nb->notifier_call = notify;
378 return blocking_notifier_chain_register(&arizona->notifier, nb);
382 struct notifier_block *nb)
387 return blocking_notifier_chain_unregister(&arizona->notifier, nb);
367 arizona_register_notifier(struct snd_soc_component *component, struct notifier_block *nb, int (*notify) (struct notifier_block *nb, unsigned long action, void *data)) argument
381 arizona_unregister_notifier(struct snd_soc_component *component, struct notifier_block *nb) argument
/linux-master/drivers/usb/host/
H A Dohci-da8xx.c43 struct notifier_block nb; member in struct:da8xx_ohci_hcd
180 static int ohci_da8xx_regulator_event(struct notifier_block *nb, argument
184 container_of(nb, struct da8xx_ohci_hcd, nb);
217 da8xx_ohci->nb.notifier_call = ohci_da8xx_regulator_event;
219 &da8xx_ohci->nb);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c379 static int mlx5_sf_vhca_event(struct notifier_block *nb, unsigned long opcode, void *data) argument
381 struct mlx5_sf_table *table = container_of(nb, struct mlx5_sf_table, vhca_nb);
413 static int mlx5_sf_esw_event(struct notifier_block *nb, unsigned long event, void *data) argument
415 struct mlx5_sf_table *table = container_of(nb, struct mlx5_sf_table, esw_nb);
429 static int mlx5_sf_mdev_event(struct notifier_block *nb, unsigned long event, void *data) argument
431 struct mlx5_sf_table *table = container_of(nb, struct mlx5_sf_table, mdev_nb);
/linux-master/include/linux/mfd/
H A Dda903x.h205 struct notifier_block *nb, unsigned int events);
207 struct notifier_block *nb, unsigned int events);
H A Dadp5520.h293 struct notifier_block *nb, unsigned int events);
296 struct notifier_block *nb, unsigned int events);
/linux-master/drivers/xen/
H A Darm-device.c104 static int xen_platform_notifier(struct notifier_block *nb, argument
149 static int xen_amba_notifier(struct notifier_block *nb, argument
/linux-master/drivers/input/keyboard/
H A Dimx_sc_key.c41 static int imx_sc_key_notify(struct notifier_block *nb, argument
45 container_of(nb,
/linux-master/arch/powerpc/include/asm/
H A Dmce.h239 int mce_register_notifier(struct notifier_block *nb);
240 int mce_unregister_notifier(struct notifier_block *nb);
/linux-master/arch/arm/mach-highbank/
H A Dhighbank.c67 static int highbank_platform_notifier(struct notifier_block *nb, argument
119 static int hb_keys_notifier(struct notifier_block *nb, unsigned long event, void *data) argument
/linux-master/include/xen/
H A Dxen-ops.h32 void xen_resume_notifier_register(struct notifier_block *nb);
33 void xen_resume_notifier_unregister(struct notifier_block *nb);
/linux-master/drivers/leds/trigger/
H A Dledtrig-heartbeat.c166 static int heartbeat_reboot_notifier(struct notifier_block *nb, argument
173 static int heartbeat_panic_notifier(struct notifier_block *nb, argument

Completed in 339 milliseconds

1234567891011>>