Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddev.c244 } mlx5_adev_devices[] = { variable
280 priv->adev = kcalloc(ARRAY_SIZE(mlx5_adev_devices), in mlx5_adev_init()
308 const char *suffix = mlx5_adev_devices[idx].suffix; in add_adev()
367 for (i = 0; i < ARRAY_SIZE(mlx5_adev_devices); i++) { in mlx5_attach_device()
371 if (mlx5_adev_devices[i].is_enabled) { in mlx5_attach_device()
374 enabled = mlx5_adev_devices[i].is_enabled(dev); in mlx5_attach_device()
379 if (mlx5_adev_devices[i].is_supported) in mlx5_attach_device()
380 is_supported = mlx5_adev_devices[i].is_supported(dev); in mlx5_attach_device()
405 i, mlx5_adev_devices[i].suffix); in mlx5_attach_device()
424 for (i = ARRAY_SIZE(mlx5_adev_devices) in mlx5_detach_device()
[all...]