Lines Matching full:s5
721 int sparx5_register_notifier_blocks(struct sparx5 *s5) in sparx5_register_notifier_blocks() argument
725 s5->netdevice_nb.notifier_call = sparx5_netdevice_event; in sparx5_register_notifier_blocks()
726 err = register_netdevice_notifier(&s5->netdevice_nb); in sparx5_register_notifier_blocks()
730 s5->switchdev_nb.notifier_call = sparx5_switchdev_event; in sparx5_register_notifier_blocks()
731 err = register_switchdev_notifier(&s5->switchdev_nb); in sparx5_register_notifier_blocks()
735 s5->switchdev_blocking_nb.notifier_call = sparx5_switchdev_blocking_event; in sparx5_register_notifier_blocks()
736 err = register_switchdev_blocking_notifier(&s5->switchdev_blocking_nb); in sparx5_register_notifier_blocks()
749 unregister_switchdev_notifier(&s5->switchdev_nb); in sparx5_register_notifier_blocks()
751 unregister_netdevice_notifier(&s5->netdevice_nb); in sparx5_register_notifier_blocks()
756 void sparx5_unregister_notifier_blocks(struct sparx5 *s5) in sparx5_unregister_notifier_blocks() argument
760 unregister_switchdev_blocking_notifier(&s5->switchdev_blocking_nb); in sparx5_unregister_notifier_blocks()
761 unregister_switchdev_notifier(&s5->switchdev_nb); in sparx5_unregister_notifier_blocks()
762 unregister_netdevice_notifier(&s5->netdevice_nb); in sparx5_unregister_notifier_blocks()