Lines Matching refs:ib_device
70 static int ib_device_check_mandatory(struct ib_device *device) in ib_device_check_mandatory()
72 #define IB_MANDATORY_FUNC(x) { offsetof(struct ib_device, x), #x } in ib_device_check_mandatory()
110 static struct ib_device *__ib_device_get_by_name(const char *name) in __ib_device_get_by_name()
112 struct ib_device *device; in __ib_device_get_by_name()
126 struct ib_device *device; in alloc_name()
154 static int start_port(struct ib_device *device) in start_port()
160 static int end_port(struct ib_device *device) in end_port()
176 struct ib_device *ib_alloc_device(size_t size) in ib_alloc_device()
178 BUG_ON(size < sizeof (struct ib_device)); in ib_alloc_device()
190 void ib_dealloc_device(struct ib_device *device) in ib_dealloc_device()
203 static int add_client_context(struct ib_device *device, struct ib_client *client) in add_client_context()
225 static int read_port_table_lengths(struct ib_device *device) in read_port_table_lengths()
273 int ib_register_device(struct ib_device *device, in ib_register_device()
274 int (*port_callback)(struct ib_device *, in ib_register_device() argument
337 void ib_unregister_device(struct ib_device *device) in ib_unregister_device()
382 struct ib_device *device; in ib_register_client()
408 struct ib_device *device; in ib_unregister_client()
439 void *ib_get_client_data(struct ib_device *device, struct ib_client *client) in ib_get_client_data()
466 void ib_set_client_data(struct ib_device *device, struct ib_client *client, in ib_set_client_data()
558 int ib_query_device(struct ib_device *device, in ib_query_device()
574 int ib_query_port(struct ib_device *device, in ib_query_port()
594 int ib_query_gid(struct ib_device *device, in ib_query_gid()
610 int ib_query_pkey(struct ib_device *device, in ib_query_pkey()
626 int ib_modify_device(struct ib_device *device, in ib_modify_device()
649 int ib_modify_port(struct ib_device *device, in ib_modify_port()
673 int ib_find_gid(struct ib_device *device, union ib_gid *gid, in ib_find_gid()
705 int ib_find_pkey(struct ib_device *device, in ib_find_pkey()