cm_dev            212 drivers/infiniband/core/cm.c 	struct cm_device *cm_dev;
cm_dev            472 drivers/infiniband/core/cm.c 	ret = ib_init_ah_attr_from_wc(port->cm_dev->ib_device,
cm_dev            487 drivers/infiniband/core/cm.c 	return ib_init_ah_attr_from_wc(port->cm_dev->ib_device,
cm_dev            515 drivers/infiniband/core/cm.c 	struct cm_device *cm_dev;
cm_dev            521 drivers/infiniband/core/cm.c 		list_for_each_entry(cm_dev, &cm.device_list, list) {
cm_dev            522 drivers/infiniband/core/cm.c 			if (cm_dev->ib_device == attr->device) {
cm_dev            523 drivers/infiniband/core/cm.c 				port = cm_dev->port[attr->port_num - 1];
cm_dev            536 drivers/infiniband/core/cm.c 		list_for_each_entry(cm_dev, &cm.device_list, list) {
cm_dev            537 drivers/infiniband/core/cm.c 			attr = rdma_find_gid(cm_dev->ib_device,
cm_dev            542 drivers/infiniband/core/cm.c 				port = cm_dev->port[attr->port_num - 1];
cm_dev            559 drivers/infiniband/core/cm.c 	struct cm_device *cm_dev;
cm_dev            566 drivers/infiniband/core/cm.c 	cm_dev = port->cm_dev;
cm_dev            568 drivers/infiniband/core/cm.c 	ret = ib_find_cached_pkey(cm_dev->ib_device, port->port_num,
cm_dev            584 drivers/infiniband/core/cm.c 	ret = ib_init_ah_attr_from_path(cm_dev->ib_device, port->port_num, path,
cm_dev            965 drivers/infiniband/core/cm.c 	struct cm_device *cm_dev;
cm_dev            967 drivers/infiniband/core/cm.c 	cm_dev = ib_get_client_data(cm_id_priv->id.device, &cm_client);
cm_dev            968 drivers/infiniband/core/cm.c 	if (!cm_dev)
cm_dev            986 drivers/infiniband/core/cm.c 	if (!cm_dev->going_down)
cm_dev           1335 drivers/infiniband/core/cm.c 		cm_ack_timeout(cm_id_priv->av.port->cm_dev->ack_delay,
cm_dev           1370 drivers/infiniband/core/cm.c 			cm_ack_timeout(cm_id_priv->av.port->cm_dev->ack_delay,
cm_dev           1632 drivers/infiniband/core/cm.c 	struct ib_device *ib_dev = work->port->cm_dev->ib_device;
cm_dev           1660 drivers/infiniband/core/cm.c 	struct ib_device *dev = work->port->cm_dev->ib_device;
cm_dev           1942 drivers/infiniband/core/cm.c 	cm_id = ib_create_cm_id(work->port->cm_dev->ib_device, NULL, NULL);
cm_dev           1985 drivers/infiniband/core/cm.c 	    rdma_protocol_roce(work->port->cm_dev->ib_device,
cm_dev           1990 drivers/infiniband/core/cm.c 		cm_path_set_rec_type(work->port->cm_dev->ib_device,
cm_dev           2008 drivers/infiniband/core/cm.c 		err = rdma_query_gid(work->port->cm_dev->ib_device,
cm_dev           2070 drivers/infiniband/core/cm.c 				    cm_id_priv->av.port->cm_dev->ack_delay);
cm_dev           3116 drivers/infiniband/core/cm.c 		cm_ack_timeout(cm_id_priv->av.port->cm_dev->ack_delay,
cm_dev           3227 drivers/infiniband/core/cm.c 	if (rdma_protocol_roce(work->port->cm_dev->ib_device,
cm_dev           3240 drivers/infiniband/core/cm.c 	cm_path_set_rec_type(work->port->cm_dev->ib_device,
cm_dev           3386 drivers/infiniband/core/cm.c 	if (rdma_protocol_roce(work->port->cm_dev->ib_device,
cm_dev           3558 drivers/infiniband/core/cm.c 	cm_id = ib_create_cm_id(work->port->cm_dev->ib_device, NULL, NULL);
cm_dev           3882 drivers/infiniband/core/cm.c 	struct cm_device *cm_dev;
cm_dev           3884 drivers/infiniband/core/cm.c 	cm_dev = ib_get_client_data(cm_id->device, &cm_client);
cm_dev           3885 drivers/infiniband/core/cm.c 	if (!cm_dev)
cm_dev           3930 drivers/infiniband/core/cm.c 	if (!cm_dev->going_down) {
cm_dev           4061 drivers/infiniband/core/cm.c 	if (!port->cm_dev->going_down)
cm_dev           4291 drivers/infiniband/core/cm.c 		ret = ib_port_register_module_stat(port->cm_dev->ib_device,
cm_dev           4320 drivers/infiniband/core/cm.c 	struct cm_device *cm_dev;
cm_dev           4334 drivers/infiniband/core/cm.c 	cm_dev = kzalloc(struct_size(cm_dev, port, ib_device->phys_port_cnt),
cm_dev           4336 drivers/infiniband/core/cm.c 	if (!cm_dev)
cm_dev           4339 drivers/infiniband/core/cm.c 	cm_dev->ib_device = ib_device;
cm_dev           4340 drivers/infiniband/core/cm.c 	cm_dev->ack_delay = ib_device->attrs.local_ca_ack_delay;
cm_dev           4341 drivers/infiniband/core/cm.c 	cm_dev->going_down = 0;
cm_dev           4352 drivers/infiniband/core/cm.c 		cm_dev->port[i-1] = port;
cm_dev           4353 drivers/infiniband/core/cm.c 		port->cm_dev = cm_dev;
cm_dev           4384 drivers/infiniband/core/cm.c 	ib_set_client_data(ib_device, &cm_client, cm_dev);
cm_dev           4387 drivers/infiniband/core/cm.c 	list_add_tail(&cm_dev->list, &cm.device_list);
cm_dev           4403 drivers/infiniband/core/cm.c 		port = cm_dev->port[i-1];
cm_dev           4410 drivers/infiniband/core/cm.c 	kfree(cm_dev);
cm_dev           4415 drivers/infiniband/core/cm.c 	struct cm_device *cm_dev = client_data;
cm_dev           4425 drivers/infiniband/core/cm.c 	if (!cm_dev)
cm_dev           4429 drivers/infiniband/core/cm.c 	list_del(&cm_dev->list);
cm_dev           4433 drivers/infiniband/core/cm.c 	cm_dev->going_down = 1;
cm_dev           4440 drivers/infiniband/core/cm.c 		port = cm_dev->port[i-1];
cm_dev           4464 drivers/infiniband/core/cm.c 	kfree(cm_dev);
cm_dev            180 drivers/rapidio/rio_cm.c 	struct cm_dev		*cmdev;	/* associated CM device object */
cm_dev            203 drivers/rapidio/rio_cm.c 	struct cm_dev *cm;
cm_dev            211 drivers/rapidio/rio_cm.c 	struct cm_dev *cmdev;
cm_dev            226 drivers/rapidio/rio_cm.c static int riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev,
cm_dev            300 drivers/rapidio/rio_cm.c static void *riocm_rx_get_msg(struct cm_dev *cm)
cm_dev            329 drivers/rapidio/rio_cm.c static void riocm_rx_fill(struct cm_dev *cm, int nent)
cm_dev            354 drivers/rapidio/rio_cm.c static void riocm_rx_free(struct cm_dev *cm)
cm_dev            376 drivers/rapidio/rio_cm.c static int riocm_req_handler(struct cm_dev *cm, void *req_data)
cm_dev            486 drivers/rapidio/rio_cm.c static void rio_cm_handler(struct cm_dev *cm, void *data)
cm_dev            526 drivers/rapidio/rio_cm.c static int rio_rx_data_handler(struct cm_dev *cm, void *buf)
cm_dev            582 drivers/rapidio/rio_cm.c 	struct cm_dev *cm = container_of(work, struct cm_dev, rx_work);
cm_dev            620 drivers/rapidio/rio_cm.c 	struct cm_dev *cm = dev_id;
cm_dev            635 drivers/rapidio/rio_cm.c static void rio_txcq_handler(struct cm_dev *cm, int slot)
cm_dev            697 drivers/rapidio/rio_cm.c 	struct cm_dev *cm = dev_id;
cm_dev            703 drivers/rapidio/rio_cm.c static int riocm_queue_req(struct cm_dev *cm, struct rio_dev *rdev,
cm_dev            733 drivers/rapidio/rio_cm.c static int riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev,
cm_dev            942 drivers/rapidio/rio_cm.c static int riocm_ch_connect(u16 loc_ch, struct cm_dev *cm,
cm_dev           1231 drivers/rapidio/rio_cm.c 	struct cm_dev *cm;
cm_dev           1534 drivers/rapidio/rio_cm.c 	struct cm_dev *cm;
cm_dev           1562 drivers/rapidio/rio_cm.c 	struct cm_dev *cm;
cm_dev           1621 drivers/rapidio/rio_cm.c 	struct cm_dev *cm;
cm_dev           1781 drivers/rapidio/rio_cm.c 	struct cm_dev *cm;
cm_dev           1948 drivers/rapidio/rio_cm.c 	struct cm_dev *cm;
cm_dev           1991 drivers/rapidio/rio_cm.c 	struct cm_dev *cm;
cm_dev           2100 drivers/rapidio/rio_cm.c 	struct cm_dev *cm;
cm_dev           2180 drivers/rapidio/rio_cm.c 	struct cm_dev *cm;