Searched refs:verbs_device (Results 1 – 13 of 13) sorted by relevance
| /src/contrib/ofed/libibverbs/ |
| H A D | device.c | 206 struct verbs_device *verbs_device = verbs_get_device(device); in __ibv_open_device() local 225 if (!verbs_device->ops->init_context) { in __ibv_open_device() 226 context = verbs_device->ops->alloc_context(device, cmd_fd); in __ibv_open_device() 231 verbs_device->ops->free_context(context); in __ibv_open_device() 239 verbs_device->size_of_context); in __ibv_open_device() 259 ret = verbs_device->ops->init_context(verbs_device, context, cmd_fd); in __ibv_open_device() 305 struct verbs_device *verbs_device = verbs_get_device(context->device); in __ibv_close_device() local 310 verbs_device->ops->uninit_context(verbs_device, context); in __ibv_close_device() 314 verbs_device->ops->free_context(context); in __ibv_close_device()
|
| H A D | driver.h | 56 struct verbs_device; 110 int (*init_context)(struct verbs_device *device, 112 void (*uninit_context)(struct verbs_device *device, 117 struct verbs_device { struct 124 static inline struct verbs_device * argument 127 return container_of(dev, struct verbs_device, device); in verbs_get_device() 130 typedef struct verbs_device *(*verbs_driver_init_func)(const char *uverbs_sys_path,
|
| H A D | init.c | 159 struct verbs_device *vdev; in try_driver()
|
| /src/contrib/ofed/libirdma/ |
| H A D | irdma_umain.c | 156 irdma_init_context(struct verbs_device *vdev, in irdma_init_context() 213 irdma_cleanup_context(struct verbs_device *device, in irdma_cleanup_context() 229 static struct verbs_device *
|
| H A D | irdma_umain.h | 67 struct verbs_device ibv_dev;
|
| /src/contrib/ofed/libbnxtre/ |
| H A D | main.c | 285 int bnxt_re_init_context(struct verbs_device *vdev, struct ibv_context *ibvctx, in bnxt_re_init_context() 319 void bnxt_re_uninit_context(struct verbs_device *vdev, in bnxt_re_uninit_context() 335 static struct verbs_device *bnxt_re_driver_init(const char *uverbs_sys_path, in bnxt_re_driver_init()
|
| H A D | main.h | 247 struct verbs_device vdev;
|
| /src/contrib/ofed/libmlx4/ |
| H A D | mlx4.c | 143 static int mlx4_init_context(struct verbs_device *v_device, in mlx4_init_context() 276 static void mlx4_uninit_context(struct verbs_device *v_device, in mlx4_uninit_context() 300 static struct verbs_device *mlx4_driver_init(const char *uverbs_sys_path, int abi_version) in mlx4_driver_init()
|
| H A D | mlx4.h | 116 struct verbs_device verbs_dev;
|
| /src/contrib/ofed/libcxgb4/ |
| H A D | libcxgb4.h | 54 struct verbs_device ibv_dev;
|
| H A D | dev.c | 412 static struct verbs_device *cxgb4_driver_init(const char *uverbs_sys_path, in cxgb4_driver_init()
|
| /src/contrib/ofed/libmlx5/ |
| H A D | mlx5.c | 757 static int mlx5_init_context(struct verbs_device *vdev, in mlx5_init_context() 991 static void mlx5_cleanup_context(struct verbs_device *device, in mlx5_cleanup_context() 1034 static struct verbs_device *mlx5_driver_init(const char *uverbs_sys_path, in mlx5_driver_init()
|
| H A D | mlx5.h | 195 struct verbs_device verbs_dev;
|