Searched refs:media_bay (Results 1 – 4 of 4) sorted by relevance
321 if (fs->mdev->media_bay && in swim3_queue_rq()322 check_media_bay(fs->mdev->media_bay) != MB_FD) { in swim3_queue_rq()894 if (fs->mdev->media_bay && in floppy_locked_ioctl()895 check_media_bay(fs->mdev->media_bay) != MB_FD) in floppy_locked_ioctl()932 if (fs->mdev->media_bay && in floppy_open()933 check_media_bay(fs->mdev->media_bay) != MB_FD) in floppy_open()1037 if (fs->mdev->media_bay && in floppy_revalidate()1038 check_media_bay(fs->mdev->media_bay) != MB_FD) in floppy_revalidate()1130 if (mdev->media_bay == NULL) in swim3_add_device()1162 if (mdev->media_bay == NULL || check_media_bay(mdev->media_bay) == MB_FD) in swim3_add_device()[all …]
42 struct macio_dev *media_bay; /* Device is part of a media bay */ member
278 if (dev->media_bay != NULL && of_node_name_eq(np, "floppy")) { in macio_add_missing_resources()283 if (dev->media_bay != NULL && of_node_name_eq(np, "ata4")) { in macio_add_missing_resources()376 dev->media_bay = in_bay; in macio_add_one_device()
1192 lock_media_bay(priv->mdev->media_bay); in pata_macio_attach()1200 unlock_media_bay(priv->mdev->media_bay); in pata_macio_attach()1210 lock_media_bay(priv->mdev->media_bay); in pata_macio_detach()1219 unlock_media_bay(priv->mdev->media_bay); in pata_macio_detach()