Home
last modified time | relevance | path

Searched defs:mlxsw_driver (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h283 struct mlxsw_driver { struct
284 struct list_head list;
285 const char *kind;
286 size_t priv_size;
287 const struct mlxsw_fw_rev *fw_req_rev;
288 const char *fw_filename;
289 int (*init)(struct mlxsw_core *mlxsw_core,
292 void (*fini)(struct mlxsw_core *mlxsw_core);
293 int (*basic_trap_groups_set)(struct mlxsw_core *mlxsw_core);
294 int (*port_type_set)(struct mlxsw_core *mlxsw_core, u8 local_port,
[all …]
Dcore.c846 int mlxsw_core_driver_register(struct mlxsw_driver *mlxsw_driver) in mlxsw_core_driver_register()
855 void mlxsw_core_driver_unregister(struct mlxsw_driver *mlxsw_driver) in mlxsw_core_driver_unregister()
865 struct mlxsw_driver *mlxsw_driver; in __driver_find() local
876 struct mlxsw_driver *mlxsw_driver; in mlxsw_core_driver_get() local
1211 struct mlxsw_driver *mlxsw_driver = mlxsw_core->driver; in mlxsw_devlink_sb_pool_get() local
1226 struct mlxsw_driver *mlxsw_driver = mlxsw_core->driver; in mlxsw_devlink_sb_pool_set() local
1244 struct mlxsw_driver *mlxsw_driver = mlxsw_core->driver; in mlxsw_devlink_port_type_set() local
1260 struct mlxsw_driver *mlxsw_driver = mlxsw_core->driver; in mlxsw_devlink_sb_port_pool_get() local
1276 struct mlxsw_driver *mlxsw_driver = mlxsw_core->driver; in mlxsw_devlink_sb_port_pool_set() local
1293 struct mlxsw_driver *mlxsw_driver = mlxsw_core->driver; in mlxsw_devlink_sb_tc_pool_bind_get() local
[all …]