Home
last modified time | relevance | path

Searched refs:mlxsw_driver (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c65 struct mlxsw_driver *driver;
846 int mlxsw_core_driver_register(struct mlxsw_driver *mlxsw_driver) in mlxsw_core_driver_register() argument
849 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() argument
858 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() local
867 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 …]
Dcore.h24 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
Dswitchib.c506 static struct mlxsw_driver mlxsw_sib_driver = {
517 static struct mlxsw_driver mlxsw_sib2_driver = {
Dminimal.c397 static struct mlxsw_driver mlxsw_m_driver = {
Dspectrum.c3214 static struct mlxsw_driver mlxsw_sp1_driver = {
3254 static struct mlxsw_driver mlxsw_sp2_driver = {
3295 static struct mlxsw_driver mlxsw_sp3_driver = {
Dswitchx2.c1637 static struct mlxsw_driver mlxsw_sx_driver = {