Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/ofed/libibverbs/
Ddevice.c178 struct verbs_device *verbs_device = verbs_get_device(device); in __ibv_open_device() local
197 if (!verbs_device->ops->init_context) { in __ibv_open_device()
198 context = verbs_device->ops->alloc_context(device, cmd_fd); in __ibv_open_device()
206 verbs_device->size_of_context); in __ibv_open_device()
224 ret = verbs_device->ops->init_context(verbs_device, context, cmd_fd); in __ibv_open_device()
269 struct verbs_device *verbs_device = verbs_get_device(context->device); in __ibv_close_device() local
273 verbs_device->ops->uninit_context(verbs_device, context); in __ibv_close_device()
277 verbs_device->ops->free_context(context); in __ibv_close_device()
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,
Dinit.c159 struct verbs_device *vdev; in try_driver()
/freebsd-12-stable/contrib/ofed/libmlx4/
Dmlx4.c143 static int mlx4_init_context(struct verbs_device *v_device, in mlx4_init_context()
253 static void mlx4_uninit_context(struct verbs_device *v_device, in mlx4_uninit_context()
271 static struct verbs_device *mlx4_driver_init(const char *uverbs_sys_path, int abi_version) in mlx4_driver_init()
Dmlx4.h116 struct verbs_device verbs_dev;
/freebsd-12-stable/contrib/ofed/libmlx5/
Dmlx5.c747 static int mlx5_init_context(struct verbs_device *vdev, in mlx5_init_context()
949 static void mlx5_cleanup_context(struct verbs_device *device, in mlx5_cleanup_context()
972 static struct verbs_device *mlx5_driver_init(const char *uverbs_sys_path, in mlx5_driver_init()
Dmlx5.h195 struct verbs_device verbs_dev;
/freebsd-12-stable/contrib/ofed/libcxgb4/
Dlibcxgb4.h54 struct verbs_device ibv_dev;
Ddev.c410 static struct verbs_device *cxgb4_driver_init(const char *uverbs_sys_path, in cxgb4_driver_init()