Searched refs:mlx5_adev_devices (Results 1 – 1 of 1) sorted by relevance
238 } mlx5_adev_devices[] = { variable270 priv->adev = kcalloc(ARRAY_SIZE(mlx5_adev_devices), in mlx5_adev_init()298 const char *suffix = mlx5_adev_devices[idx].suffix; in add_adev()344 for (i = 0; i < ARRAY_SIZE(mlx5_adev_devices); i++) { in mlx5_attach_device()348 if (mlx5_adev_devices[i].is_enabled) { in mlx5_attach_device()351 enabled = mlx5_adev_devices[i].is_enabled(dev); in mlx5_attach_device()356 if (mlx5_adev_devices[i].is_supported) in mlx5_attach_device()357 is_supported = mlx5_adev_devices[i].is_supported(dev); in mlx5_attach_device()386 i, mlx5_adev_devices[i].suffix); in mlx5_attach_device()404 for (i = ARRAY_SIZE(mlx5_adev_devices) - 1; i >= 0; i--) { in mlx5_detach_device()[all …]