new_ch           1075 drivers/rapidio/rio_cm.c 	struct rio_channel *new_ch;
new_ch           1129 drivers/rapidio/rio_cm.c 	new_ch = riocm_ch_alloc(RIOCM_CHNUM_AUTO);
new_ch           1131 drivers/rapidio/rio_cm.c 	if (IS_ERR(new_ch)) {
new_ch           1133 drivers/rapidio/rio_cm.c 			PTR_ERR(new_ch));
new_ch           1142 drivers/rapidio/rio_cm.c 	new_ch->cmdev = ch->cmdev;
new_ch           1143 drivers/rapidio/rio_cm.c 	new_ch->loc_destid = ch->loc_destid;
new_ch           1144 drivers/rapidio/rio_cm.c 	new_ch->rem_destid = req->destid;
new_ch           1145 drivers/rapidio/rio_cm.c 	new_ch->rem_channel = req->chan;
new_ch           1154 drivers/rapidio/rio_cm.c 	list_for_each_entry(peer, &new_ch->cmdev->peers, node) {
new_ch           1155 drivers/rapidio/rio_cm.c 		if (peer->rdev->destid == new_ch->rem_destid) {
new_ch           1170 drivers/rapidio/rio_cm.c 	new_ch->rdev = peer->rdev;
new_ch           1171 drivers/rapidio/rio_cm.c 	new_ch->state = RIO_CM_CONNECTED;
new_ch           1172 drivers/rapidio/rio_cm.c 	spin_lock_init(&new_ch->lock);
new_ch           1175 drivers/rapidio/rio_cm.c 	riocm_send_ack(new_ch);
new_ch           1177 drivers/rapidio/rio_cm.c 	*new_ch_id = new_ch->id;
new_ch           1178 drivers/rapidio/rio_cm.c 	return new_ch;
new_ch           1182 drivers/rapidio/rio_cm.c 	idr_remove(&ch_idr, new_ch->id);
new_ch           1184 drivers/rapidio/rio_cm.c 	riocm_put_channel(new_ch);