Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddev.c224 } mlx5_adev_devices[] = { variable
256 priv->adev = kcalloc(ARRAY_SIZE(mlx5_adev_devices), in mlx5_adev_init()
284 const char *suffix = mlx5_adev_devices[idx].suffix; in add_adev()
343 for (i = 0; i < ARRAY_SIZE(mlx5_adev_devices); i++) { in mlx5_attach_device()
347 if (mlx5_adev_devices[i].is_enabled) { in mlx5_attach_device()
350 enabled = mlx5_adev_devices[i].is_enabled(dev); in mlx5_attach_device()
355 if (mlx5_adev_devices[i].is_supported) in mlx5_attach_device()
356 is_supported = mlx5_adev_devices[i].is_supported(dev); in mlx5_attach_device()
381 i, mlx5_adev_devices[i].suffix); in mlx5_attach_device()
400 for (i = ARRAY_SIZE(mlx5_adev_devices) - 1; i >= 0; i--) { in mlx5_detach_device()
[all …]