Lines Matching refs:ib_device
67 static int ib_device_check_mandatory(struct ib_device *device)
69 #define IB_MANDATORY_FUNC(x) { offsetof(struct ib_device, x), #x }
107 static struct ib_device *__ib_device_get_by_name(const char *name)
109 struct ib_device *device;
123 struct ib_device *device;
151 static int start_port(struct ib_device *device)
157 static int end_port(struct ib_device *device)
168 * ib_device. @size is the size of the structure to be allocated,
173 struct ib_device *ib_alloc_device(size_t size)
175 BUG_ON(size < sizeof (struct ib_device));
187 void ib_dealloc_device(struct ib_device *device)
200 static int add_client_context(struct ib_device *device, struct ib_client *client)
222 static int read_port_table_lengths(struct ib_device *device)
270 int ib_register_device(struct ib_device *device,
271 int (*port_callback)(struct ib_device *,
334 void ib_unregister_device(struct ib_device *device)
379 struct ib_device *device;
405 struct ib_device *device;
436 void *ib_get_client_data(struct ib_device *device, struct ib_client *client)
463 void ib_set_client_data(struct ib_device *device, struct ib_client *client,
555 int ib_query_device(struct ib_device *device,
571 int ib_query_port(struct ib_device *device,
591 int ib_query_gid(struct ib_device *device,
607 int ib_query_pkey(struct ib_device *device,
623 int ib_modify_device(struct ib_device *device,
643 int ib_modify_port(struct ib_device *device,
664 int ib_find_gid(struct ib_device *device, union ib_gid *gid,
696 int ib_find_pkey(struct ib_device *device,