Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c62 struct mlxsw_driver *driver;
701 int mlxsw_core_driver_register(struct mlxsw_driver *mlxsw_driver) in mlxsw_core_driver_register() argument
704 list_add_tail(&mlxsw_driver->list, &mlxsw_core_driver_list); in mlxsw_core_driver_register()
710 void mlxsw_core_driver_unregister(struct mlxsw_driver *mlxsw_driver) in mlxsw_core_driver_unregister() argument
713 list_del(&mlxsw_driver->list); in mlxsw_core_driver_unregister()
718 static struct mlxsw_driver *__driver_find(const char *kind) in __driver_find()
720 struct mlxsw_driver *mlxsw_driver; in __driver_find() local
722 list_for_each_entry(mlxsw_driver, &mlxsw_core_driver_list, list) { in __driver_find()
723 if (strcmp(mlxsw_driver->kind, kind) == 0) in __driver_find()
724 return mlxsw_driver; in __driver_find()
[all …]
Dcore.h23 struct mlxsw_driver;
33 int mlxsw_core_driver_register(struct mlxsw_driver *mlxsw_driver);
34 void mlxsw_core_driver_unregister(struct mlxsw_driver *mlxsw_driver);
250 struct mlxsw_driver { struct
Dswitchib.c505 static struct mlxsw_driver mlxsw_sib_driver = {
516 static struct mlxsw_driver mlxsw_sib2_driver = {
Dminimal.c361 static struct mlxsw_driver mlxsw_m_driver = {
Dswitchx2.c1649 static struct mlxsw_driver mlxsw_sx_driver = {
Dspectrum.c5353 static struct mlxsw_driver mlxsw_sp1_driver = {
5387 static struct mlxsw_driver mlxsw_sp2_driver = {
5420 static struct mlxsw_driver mlxsw_sp3_driver = {