Lines Matching refs:ib_device

68 static int ib_device_check_mandatory(struct ib_device *device)
70 #define IB_MANDATORY_FUNC(x) { offsetof(struct ib_device, x), #x }
108 static struct ib_device *__ib_device_get_by_name(const char *name)
110 struct ib_device *device;
124 struct ib_device *device;
152 static int start_port(struct ib_device *device)
158 static int end_port(struct ib_device *device)
169 * ib_device. @size is the size of the structure to be allocated,
174 struct ib_device *ib_alloc_device(size_t size)
176 struct ib_device *dev;
178 BUG_ON(size < sizeof (struct ib_device));
193 void ib_dealloc_device(struct ib_device *device)
206 static int add_client_context(struct ib_device *device, struct ib_client *client)
228 static int read_port_table_lengths(struct ib_device *device)
276 int ib_register_device(struct ib_device *device,
277 int (*port_callback)(struct ib_device *,
340 void ib_unregister_device(struct ib_device *device)
385 struct ib_device *device;
411 struct ib_device *device;
442 void *ib_get_client_data(struct ib_device *device, struct ib_client *client)
469 void ib_set_client_data(struct ib_device *device, struct ib_client *client,
561 int ib_query_device(struct ib_device *device,
577 int ib_query_port(struct ib_device *device,
597 int ib_query_gid(struct ib_device *device,
613 int ib_query_pkey(struct ib_device *device,
629 int ib_modify_device(struct ib_device *device,
652 int ib_modify_port(struct ib_device *device,
676 int ib_find_gid(struct ib_device *device, union ib_gid *gid,
708 int ib_find_pkey(struct ib_device *device,