chdev            1877 drivers/rapidio/devices/rio_mport_cdev.c 	struct mport_dev *chdev;
chdev            1886 drivers/rapidio/devices/rio_mport_cdev.c 	chdev = container_of(inode->i_cdev, struct mport_dev, cdev);
chdev            1888 drivers/rapidio/devices/rio_mport_cdev.c 	rmcd_debug(INIT, "%s filp=%p", dev_name(&chdev->dev), filp);
chdev            1890 drivers/rapidio/devices/rio_mport_cdev.c 	if (atomic_read(&chdev->active) == 0)
chdev            1893 drivers/rapidio/devices/rio_mport_cdev.c 	get_device(&chdev->dev);
chdev            1897 drivers/rapidio/devices/rio_mport_cdev.c 		put_device(&chdev->dev);
chdev            1901 drivers/rapidio/devices/rio_mport_cdev.c 	priv->md = chdev;
chdev            1903 drivers/rapidio/devices/rio_mport_cdev.c 	mutex_lock(&chdev->file_mutex);
chdev            1904 drivers/rapidio/devices/rio_mport_cdev.c 	list_add_tail(&priv->list, &chdev->file_list);
chdev            1905 drivers/rapidio/devices/rio_mport_cdev.c 	mutex_unlock(&chdev->file_mutex);
chdev            1915 drivers/rapidio/devices/rio_mport_cdev.c 		dev_err(&chdev->dev, DRV_NAME ": kfifo_alloc failed\n");
chdev            2009 drivers/rapidio/devices/rio_mport_cdev.c 	struct mport_dev *chdev;
chdev            2017 drivers/rapidio/devices/rio_mport_cdev.c 	chdev = priv->md;
chdev            2022 drivers/rapidio/devices/rio_mport_cdev.c 	spin_lock_irqsave(&chdev->pw_lock, flags);
chdev            2028 drivers/rapidio/devices/rio_mport_cdev.c 	spin_unlock_irqrestore(&chdev->pw_lock, flags);
chdev            2030 drivers/rapidio/devices/rio_mport_cdev.c 	spin_lock_irqsave(&chdev->db_lock, flags);
chdev            2035 drivers/rapidio/devices/rio_mport_cdev.c 	spin_unlock_irqrestore(&chdev->db_lock, flags);
chdev            2039 drivers/rapidio/devices/rio_mport_cdev.c 	mutex_lock(&chdev->buf_mutex);
chdev            2040 drivers/rapidio/devices/rio_mport_cdev.c 	list_for_each_entry_safe(map, _map, &chdev->mappings, node) {
chdev            2047 drivers/rapidio/devices/rio_mport_cdev.c 	mutex_unlock(&chdev->buf_mutex);
chdev            2051 drivers/rapidio/devices/rio_mport_cdev.c 	mutex_lock(&chdev->file_mutex);
chdev            2053 drivers/rapidio/devices/rio_mport_cdev.c 	mutex_unlock(&chdev->file_mutex);
chdev            2054 drivers/rapidio/devices/rio_mport_cdev.c 	put_device(&chdev->dev);
chdev            2541 drivers/rapidio/devices/rio_mport_cdev.c 	struct mport_dev *chdev = NULL;
chdev            2547 drivers/rapidio/devices/rio_mport_cdev.c 	chdev = mport_cdev_add(mport);
chdev            2548 drivers/rapidio/devices/rio_mport_cdev.c 	if (!chdev)
chdev            2562 drivers/rapidio/devices/rio_mport_cdev.c 	struct mport_dev *chdev;
chdev            2569 drivers/rapidio/devices/rio_mport_cdev.c 	list_for_each_entry(chdev, &mport_devs, node) {
chdev            2570 drivers/rapidio/devices/rio_mport_cdev.c 		if (chdev->mport->id == mport->id) {
chdev            2571 drivers/rapidio/devices/rio_mport_cdev.c 			atomic_set(&chdev->active, 0);
chdev            2572 drivers/rapidio/devices/rio_mport_cdev.c 			list_del(&chdev->node);
chdev            2580 drivers/rapidio/devices/rio_mport_cdev.c 		mport_cdev_remove(chdev);