Searched refs:nb (Results 276 - 300 of 870) sorted by last modified time

<<11121314151617181920>>

/linux-master/drivers/net/wan/framer/
H A Dframer-core.c350 * @nb: the notifier block to register
358 int framer_notifier_register(struct framer *framer, struct notifier_block *nb) argument
360 return blocking_notifier_chain_register(&framer->notifier_list, nb);
367 * @nb: the notifier block to unregister
374 int framer_notifier_unregister(struct framer *framer, struct notifier_block *nb) argument
376 return blocking_notifier_chain_unregister(&framer->notifier_list, nb);
/linux-master/drivers/net/usb/
H A Dr8152.c6914 static int rtl_notifier(struct notifier_block *nb, unsigned long action, argument
6917 struct r8152 *tp = container_of(nb, struct r8152, pm_notifier);
/linux-master/drivers/net/ipa/
H A Dipa_modem.c439 static int ipa_modem_notify(struct notifier_block *nb, unsigned long action,
442 struct ipa *ipa = container_of(nb, struct ipa, nb);
480 ipa->nb.notifier_call = ipa_modem_notify;
482 notifier = qcom_register_ssr_notifier("mpss", &ipa->nb);
496 ret = qcom_unregister_ssr_notifier(ipa->notifier, &ipa->nb);
501 memset(&ipa->nb, 0, sizeof(ipa->nb));
441 ipa_modem_notify(struct notifier_block *nb, unsigned long action, void *data) argument
H A Dipa.h30 * @nb: Notifier block used for remoteproc SSR
78 struct notifier_block nb;
83 struct notifier_block nb; member in struct:ipa
/linux-master/drivers/net/ethernet/rocker/
H A Drocker_main.c2149 static int rocker_router_fib_event(struct notifier_block *nb, argument
2152 struct rocker *rocker = container_of(nb, struct rocker, fib_nb);
2849 struct notifier_block *nb; local
2956 nb = &rocker_switchdev_blocking_notifier;
2957 err = register_switchdev_blocking_notifier(nb);
3003 struct notifier_block *nb; local
3005 nb = &rocker_switchdev_blocking_notifier;
3006 unregister_switchdev_blocking_notifier(nb);
/linux-master/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_config.c249 static int rmnet_config_notify_cb(struct notifier_block *nb, argument
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c3748 static int ionic_lif_notify(struct notifier_block *nb, argument
3752 struct ionic *ionic = container_of(nb, struct ionic, nb);
3775 lif->ionic->nb.notifier_call = ionic_lif_notify;
3777 err = register_netdevice_notifier(&lif->ionic->nb);
3779 lif->ionic->nb.notifier_call = NULL;
3798 if (lif->ionic->nb.notifier_call) {
3799 unregister_netdevice_notifier(&lif->ionic->nb);
3801 lif->ionic->nb.notifier_call = NULL;
H A Dionic.h58 struct notifier_block nb; member in struct:ionic
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c400 mlxsw_sp_bridge_port_replay_switchdev_objs(struct notifier_block *nb, argument
448 mlxsw_sp_bridge_port_unreplay_switchdev_objs(struct notifier_block *nb, argument
2447 struct notifier_block *nb; local
2450 nb = &mlxsw_sp_bridge_port_replay_switchdev_objs_nb;
2452 &rso, NULL, nb, extack);
2459 nb = &mlxsw_sp_bridge_port_unreplay_switchdev_objs_nb;
2461 &rso, NULL, nb, extack);
4081 struct notifier_block *nb; local
4096 nb = &mlxsw_sp_switchdev_blocking_notifier;
4097 err = register_switchdev_blocking_notifier(nb);
4114 struct notifier_block *nb; local
[all...]
H A Dspectrum_router.c2893 static int mlxsw_sp_router_netevent_event(struct notifier_block *nb, argument
2901 router = container_of(nb, struct mlxsw_sp_router, netevent_nb);
5721 static int mlxsw_sp_nexthop_obj_event(struct notifier_block *nb, argument
5728 router = container_of(nb, struct mlxsw_sp_router, nexthop_nb);
8106 static int mlxsw_sp_router_fib_event(struct notifier_block *nb, argument
8119 router = container_of(nb, struct mlxsw_sp_router, fib_nb);
9548 static int mlxsw_sp_inetaddr_event(struct notifier_block *nb, argument
9561 router = container_of(nb, struct mlxsw_sp_router, inetaddr_nb);
9632 static int mlxsw_sp_inet6addr_event(struct notifier_block *nb, argument
9648 router = container_of(nb, struc
10283 mlxsw_sp_router_netdevice_event(struct notifier_block *nb, unsigned long event, void *ptr) argument
11209 mlxsw_sp_router_fib_dump_flush(struct notifier_block *nb) argument
11627 struct notifier_block *nb; local
[all...]
H A Dspectrum.c5440 static int mlxsw_sp_netdevice_event(struct notifier_block *nb, argument
5446 mlxsw_sp = container_of(nb, struct mlxsw_sp, netdevice_nb);
/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/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c836 static int mlx5e_ipsec_netevent_event(struct notifier_block *nb, argument
851 ipsec = container_of(nb, struct mlx5e_ipsec, netevent_nb);
H A Dipsec.h240 struct notifier_block nb; member in struct:mlx5e_ipsec
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dmonitor_stats.c71 static int mlx5e_monitor_event_handler(struct notifier_block *nb, argument
74 struct mlx5e_priv *priv = mlx5_nb_cof(nb, struct mlx5e_priv,
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddpll.c300 static int mlx5_dpll_mdev_notifier_event(struct notifier_block *nb, argument
303 struct mlx5_dpll *mdpll = container_of(nb, struct mlx5_dpll, mdev_nb);
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_rx.c1075 int pad, nb;
1085 nb = PAGE_SIZE / frag_stride;
1086 pad = (PAGE_SIZE - nb * frag_stride) / nb;
1074 int pad, nb; local
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c11656 static int ixgbe_notify_dca(struct notifier_block *nb, unsigned long event,
11661 ixgbe_notify_dca(struct notifier_block *nb, unsigned long event, void *p) argument
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_main.c7176 static int igb_notify_dca(struct notifier_block *nb, unsigned long event,
7200 igb_notify_dca(struct notifier_block *nb, unsigned long event, void *p) argument
/linux-master/drivers/net/ethernet/hisilicon/hns/
H A Dhnae.c280 int hnae_register_notifier(struct notifier_block *nb) argument
282 return raw_notifier_chain_register(&ae_chain, nb);
286 void hnae_unregister_notifier(struct notifier_block *nb) argument
288 if (raw_notifier_chain_unregister(&ae_chain, nb))
/linux-master/drivers/edac/
H A Dmce_amd.c793 amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data) argument
H A Digen6_edac.c911 static int ecclog_mce_handler(struct notifier_block *nb, unsigned long val, argument
H A Damd64_edac.c1725 struct amd_northbridge *nb; local
1747 nb = node_to_amd_nb(dram_dst_node(pvt, range));
1748 if (WARN_ON(!nb))
1758 f1 = pci_get_related_function(nb->misc->vendor, pci_func, nb->misc);
/linux-master/drivers/clk/rockchip/
H A Dclk.h310 .nb = ((_nf) < 2) ? 1 : (_nf) >> 1, \
319 .nb = _nb, \
355 unsigned int nb; member in struct:rockchip_pll_rate_table::__anon365::__anon366
H A Dclk.c138 #define to_rockchip_clk_frac_nb(nb) \
139 container_of(nb, struct rockchip_clk_frac, clk_nb)
141 static int rockchip_clk_frac_notifier_cb(struct notifier_block *nb, argument
145 struct rockchip_clk_frac *frac = to_rockchip_clk_frac_nb(nb);

Completed in 704 milliseconds

<<11121314151617181920>>