Searched refs:media_bay (Results 1 – 5 of 5) 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()877 if (fs->mdev->media_bay && in floppy_locked_ioctl()878 check_media_bay(fs->mdev->media_bay) != MB_FD) in floppy_locked_ioctl()915 if (fs->mdev->media_bay && in floppy_open()916 check_media_bay(fs->mdev->media_bay) != MB_FD) in floppy_open()1020 if (fs->mdev->media_bay && in floppy_revalidate()1021 check_media_bay(fs->mdev->media_bay) != MB_FD) in floppy_revalidate()1113 if (mdev->media_bay == NULL) in swim3_add_device()1145 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
273 if (dev->media_bay != NULL && of_node_name_eq(np, "floppy")) { in macio_add_missing_resources()278 if (dev->media_bay != NULL && of_node_name_eq(np, "ata4")) { in macio_add_missing_resources()371 dev->media_bay = in_bay; in macio_add_one_device()
1179 lock_media_bay(priv->mdev->media_bay); in pata_macio_attach()1187 unlock_media_bay(priv->mdev->media_bay); in pata_macio_attach()1197 lock_media_bay(priv->mdev->media_bay); in pata_macio_detach()1206 unlock_media_bay(priv->mdev->media_bay); in pata_macio_detach()
848 return pmif->mdev && pmif->mdev->media_bay != NULL; in on_media_bay()947 if (check_media_bay(pmif->mdev->media_bay) == MB_CD) { in pmac_ide_init_dev()1070 lock_media_bay(pmif->mdev->media_bay); in pmac_ide_setup_device()1108 unlock_media_bay(pmif->mdev->media_bay); in pmac_ide_setup_device()