Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/libibverbs/
H A Ddevice.c207 struct verbs_device *verbs_device = verbs_get_device(device); in __ibv_open_device() local
226 if (!verbs_device->ops->init_context) { in __ibv_open_device()
227 context = verbs_device->ops->alloc_context(device, cmd_fd); in __ibv_open_device()
232 verbs_device->ops->free_context(context); in __ibv_open_device()
240 verbs_device->size_of_context); in __ibv_open_device()
260 ret = verbs_device->ops->init_context(verbs_device, context, cmd_fd); in __ibv_open_device()
306 struct verbs_device *verbs_device = verbs_get_device(context->device); in __ibv_close_device() local
311 verbs_device->ops->uninit_context(verbs_device, context); in __ibv_close_device()
315 verbs_device->ops->free_context(context); in __ibv_close_device()
H A Ddriver.h56 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 Dinit.c159 struct verbs_device *vdev; in try_driver()
/freebsd/contrib/ofed/libirdma/
H A Dirdma_umain.c144 irdma_init_context(struct verbs_device *vdev, in irdma_init_context()
201 irdma_cleanup_context(struct verbs_device *device, in irdma_cleanup_context()
217 static struct verbs_device *
H A Dirdma_umain.h67 struct verbs_device ibv_dev;
/freebsd/contrib/ofed/libmlx4/
H A Dmlx4.c143 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 Dmlx4.h116 struct verbs_device verbs_dev;
/freebsd/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h54 struct verbs_device ibv_dev;
H A Ddev.c410 static struct verbs_device *cxgb4_driver_init(const char *uverbs_sys_path, in cxgb4_driver_init()
/freebsd/contrib/ofed/libmlx5/
H A Dmlx5.c757 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 Dmlx5.h195 struct verbs_device verbs_dev;