Searched refs:mlxsw_driver (Results 1 – 6 of 6) sorted by relevance
65 struct mlxsw_driver *driver;846 int mlxsw_core_driver_register(struct mlxsw_driver *mlxsw_driver) in mlxsw_core_driver_register() argument849 list_add_tail(&mlxsw_driver->list, &mlxsw_core_driver_list); in mlxsw_core_driver_register()855 void mlxsw_core_driver_unregister(struct mlxsw_driver *mlxsw_driver) in mlxsw_core_driver_unregister() argument858 list_del(&mlxsw_driver->list); in mlxsw_core_driver_unregister()863 static struct mlxsw_driver *__driver_find(const char *kind) in __driver_find()865 struct mlxsw_driver *mlxsw_driver; in __driver_find() local867 list_for_each_entry(mlxsw_driver, &mlxsw_core_driver_list, list) { in __driver_find()868 if (strcmp(mlxsw_driver->kind, kind) == 0) in __driver_find()869 return mlxsw_driver; in __driver_find()[all …]
24 struct mlxsw_driver;41 int mlxsw_core_driver_register(struct mlxsw_driver *mlxsw_driver);42 void mlxsw_core_driver_unregister(struct mlxsw_driver *mlxsw_driver);283 struct mlxsw_driver { struct
506 static struct mlxsw_driver mlxsw_sib_driver = {517 static struct mlxsw_driver mlxsw_sib2_driver = {
397 static struct mlxsw_driver mlxsw_m_driver = {
3214 static struct mlxsw_driver mlxsw_sp1_driver = {3254 static struct mlxsw_driver mlxsw_sp2_driver = {3295 static struct mlxsw_driver mlxsw_sp3_driver = {
1637 static struct mlxsw_driver mlxsw_sx_driver = {