Searched refs:media_bay (Results 1 – 4 of 4) sorted by relevance
322 if (fs->mdev->media_bay && in swim3_queue_rq()323 check_media_bay(fs->mdev->media_bay) != MB_FD) { in swim3_queue_rq()895 if (fs->mdev->media_bay && in floppy_locked_ioctl()896 check_media_bay(fs->mdev->media_bay) != MB_FD) in floppy_locked_ioctl()933 if (fs->mdev->media_bay && in floppy_open()934 check_media_bay(fs->mdev->media_bay) != MB_FD) in floppy_open()1038 if (fs->mdev->media_bay && in floppy_revalidate()1039 check_media_bay(fs->mdev->media_bay) != MB_FD) in floppy_revalidate()1131 if (mdev->media_bay == NULL) in swim3_add_device()1163 if (mdev->media_bay == NULL || check_media_bay(mdev->media_bay) == MB_FD) in swim3_add_device()[all …]
41 struct macio_dev *media_bay; /* Device is part of a media bay */ member
272 if (dev->media_bay != NULL && of_node_name_eq(np, "floppy")) { in macio_add_missing_resources()277 if (dev->media_bay != NULL && of_node_name_eq(np, "ata4")) { in macio_add_missing_resources()370 dev->media_bay = in_bay; in macio_add_one_device()
1178 lock_media_bay(priv->mdev->media_bay); in pata_macio_attach()1186 unlock_media_bay(priv->mdev->media_bay); in pata_macio_attach()1196 lock_media_bay(priv->mdev->media_bay); in pata_macio_detach()1205 unlock_media_bay(priv->mdev->media_bay); in pata_macio_detach()