Home
last modified time | relevance | path

Searched refs:media_bay (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/
Dswim3.c322 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 …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmacio.h41 struct macio_dev *media_bay; /* Device is part of a media bay */ member
/kernel/linux/linux-5.10/drivers/macintosh/
Dmacio_asic.c273 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()
/kernel/linux/linux-5.10/drivers/ata/
Dpata_macio.c1179 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()
/kernel/linux/linux-5.10/drivers/ide/
Dpmac.c848 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()