Lines Matching refs:ib_device
69 static int ib_device_check_mandatory(struct ib_device *device)
71 #define IB_MANDATORY_FUNC(x) { offsetof(struct ib_device, x), #x }
109 static struct ib_device *__ib_device_get_by_name(const char *name)
111 struct ib_device *device;
125 struct ib_device *device;
153 static int start_port(struct ib_device *device)
159 static int end_port(struct ib_device *device)
170 * ib_device. @size is the size of the structure to be allocated,
175 struct ib_device *ib_alloc_device(size_t size)
177 BUG_ON(size < sizeof (struct ib_device));
189 void ib_dealloc_device(struct ib_device *device)
202 static int add_client_context(struct ib_device *device, struct ib_client *client)
224 static int read_port_table_lengths(struct ib_device *device)
272 int ib_register_device(struct ib_device *device)
334 void ib_unregister_device(struct ib_device *device)
377 struct ib_device *device;
403 struct ib_device *device;
434 void *ib_get_client_data(struct ib_device *device, struct ib_client *client)
461 void ib_set_client_data(struct ib_device *device, struct ib_client *client,
553 int ib_query_device(struct ib_device *device,
569 int ib_query_port(struct ib_device *device,
589 int ib_query_gid(struct ib_device *device,
605 int ib_query_pkey(struct ib_device *device,
621 int ib_modify_device(struct ib_device *device,
641 int ib_modify_port(struct ib_device *device,
662 int ib_find_gid(struct ib_device *device, union ib_gid *gid,
694 int ib_find_pkey(struct ib_device *device,