Home
last modified time | relevance | path

Searched refs:floppy (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/ide/
H A Dide-floppy.c3 * IDE ATAPI floppy driver.
9 * This driver supports the following IDE floppy drives:
16 * Documentation/ide/ChangeLog.ide-floppy.1996-2002
44 #include "ide-floppy.h"
66 struct ide_disk_obj *floppy = drive->driver_data; in ide_floppy_callback() local
84 floppy->sense_key = buf[2] & 0x0F; in ide_floppy_callback()
85 floppy->asc = buf[12]; in ide_floppy_callback()
86 floppy->ascq = buf[13]; in ide_floppy_callback()
87 floppy->progress_indication = buf[15] & 0x80 ? in ide_floppy_callback()
95 "ascq = %x", floppy in ide_floppy_callback()
108 ide_floppy_report_error(struct ide_disk_obj *floppy, struct ide_atapi_pc *pc) ide_floppy_report_error() argument
128 struct ide_disk_obj *floppy = drive->driver_data; ide_floppy_issue_pc() local
196 struct ide_disk_obj *floppy = drive->driver_data; idefloppy_create_rw_cmd() local
217 idefloppy_blockpc_cmd(struct ide_disk_obj *floppy, struct ide_atapi_pc *pc, struct request *rq) idefloppy_blockpc_cmd() argument
233 struct ide_disk_obj *floppy = drive->driver_data; ide_floppy_do_request() local
319 struct ide_disk_obj *floppy = drive->driver_data; ide_floppy_get_flexible_disk_page() local
381 struct ide_disk_obj *floppy = drive->driver_data; ide_floppy_get_capacity() local
484 struct ide_disk_obj *floppy = drive->driver_data; ide_floppy_setup() local
[all...]
H A Dide-floppy_ioctl.c3 * ide-floppy IOCTLs handling.
16 #include "ide-floppy.h"
42 struct ide_disk_obj *floppy = drive->driver_data; in ide_floppy_get_format_capacities() local
55 if (ide_queue_pc_tail(drive, floppy->disk, pc, pc_buf, pc->req_xfer)) { in ide_floppy_get_format_capacities()
56 printk(KERN_ERR "ide-floppy: Can't get floppy parameters\n"); in ide_floppy_get_format_capacities()
123 struct ide_disk_obj *floppy = drive->driver_data; in ide_floppy_get_sfrp_bit() local
131 if (ide_queue_pc_tail(drive, floppy->disk, pc, buf, pc->req_xfer)) in ide_floppy_get_sfrp_bit()
143 struct ide_disk_obj *floppy = drive->driver_data; in ide_floppy_format_unit() local
147 if (floppy in ide_floppy_format_unit()
203 struct ide_disk_obj *floppy = drive->driver_data; ide_floppy_get_format_progress() local
240 struct ide_disk_obj *floppy = drive->driver_data; ide_floppy_lockdoor() local
[all...]
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dfd.h28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8)
36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \
37 512 : 128 << FD_SIZECODE(floppy) )
270 unsigned int driver_version; /* version code for floppy driver */
272 /* user programs using the floppy API should use floppy_fdc_state to
273 * get the version number of the floppy drive
[all...]
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dfd.h28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8)
36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \
37 512 : 128 << FD_SIZECODE(floppy) )
270 unsigned int driver_version; /* version code for floppy driver */
272 /* user programs using the floppy API should use floppy_fdc_state to
273 * get the version number of the floppy drive
[all...]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dfd.h30 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
34 #define FD_SIZECODE(floppy) (((((floppy)->rate & FD_SIZECODEMASK) >> 3) + 2) % 8)
35 #define FD_SECTSIZE(floppy) ((floppy)->rate & FD_2M ? 512 : 128 << FD_SIZECODE(floppy))
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dfd.h30 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
34 #define FD_SIZECODE(floppy) (((((floppy)->rate & FD_SIZECODEMASK) >> 3) + 2) % 8)
35 #define FD_SECTSIZE(floppy) ((floppy)->rate & FD_2M ? 512 : 128 << FD_SIZECODE(floppy))
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dfd.h24 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
29 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8)
30 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \
31 512 : 128 << FD_SIZECODE(floppy) )
/kernel/linux/linux-5.10/drivers/block/
H A Dataflop.c28 * - Initialize track register when testing presence of floppy
337 * First, there is a DMA buffer in ST-RAM that is used for floppy DMA
1164 printk(KERN_INFO "fd%d: Auto-detected floppy type %s\n", in fd_rwsec_done1()
1334 printk(KERN_ERR "floppy timeout\n" ); in fd_times_out()
1397 * Linux, since the floppy driver can't make assumptions about the
1438 printk(KERN_ERR "floppy: clear format %p!\n", UDT); in floppy_revalidate()
1487 struct atari_floppy_struct *floppy = bd->rq->rq_disk->private_data; in ataflop_queue_rq() local
1488 int drive = floppy - unit; in ataflop_queue_rq()
1489 int type = floppy->type; in ataflop_queue_rq()
1518 set_capacity(floppy in ataflop_queue_rq()
1563 struct atari_floppy_struct *floppy = disk->private_data; fd_locked_ioctl() local
[all...]
H A Damiflop.c191 struct fd_drive_type *type; /* type of floppy for this unit */
192 struct fd_data_type *dtype; /* type of floppy for this unit */
306 /* floppy internal millisecond timer stuff */
1382 printk (KERN_NOTICE "floppy disk write protected\n"); in flush_track_callback()
1407 printk (KERN_NOTICE "floppy disk write protected " in non_int_flush_track()
1458 static blk_status_t amiflop_rw_cur_segment(struct amiga_floppy_struct *floppy, in amiflop_rw_cur_segment() argument
1461 int drive = floppy - unit; in amiflop_rw_cur_segment()
1472 track = block / (floppy->dtype->sects * floppy->type->sect_mult); in amiflop_rw_cur_segment()
1473 sector = block % (floppy in amiflop_rw_cur_segment()
1508 struct amiga_floppy_struct *floppy = rq->rq_disk->private_data; amiflop_queue_rq() local
[all...]
H A DMakefile14 obj-$(CONFIG_BLK_DEV_FD) += floppy.o
H A Dfloppy.c3 * linux/drivers/block/floppy.c
29 * call "floppy-on" directly, but have to set a special timer interrupt
39 * Automatic floppy-detection and formatting written by Werner Almesberger
41 * the floppy-change signal detection.
61 * floppy as the first thing after bootup.
66 * this helped the floppy driver as well. Much cleaner, and still seems to
70 /* 1994/6/24 --bbroad-- added the floppy table entries and made
83 /* 1994/9/17 -- Koen Holtman -- added logging of physical floppy write
99 * features to asm/floppy.h.
108 * interrupt and dma channel to asm/floppy
3054 struct floppy_struct *floppy; drive_name() local
5001 static char *floppy; global() variable
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dfloppy.h38 * The DMA channel used by the floppy controller cannot access data at
41 * Went back to the 1MB limit, as some people had problems with the floppy
43 * floppy accesses go through the track buffer.
54 #include <floppy.h>
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dfloppy.h38 * The DMA channel used by the floppy controller cannot access data at
41 * Went back to the 1MB limit, as some people had problems with the floppy
43 * floppy accesses go through the track buffer.
54 #include <floppy.h>
/kernel/linux/linux-6.6/drivers/block/
H A DMakefile14 obj-$(CONFIG_BLK_DEV_FD) += floppy.o
H A Damiflop.c191 struct fd_drive_type *type; /* type of floppy for this unit */
192 struct fd_data_type *dtype; /* type of floppy for this unit */
306 /* floppy internal millisecond timer stuff */
1382 printk (KERN_NOTICE "floppy disk write protected\n"); in flush_track_callback()
1407 printk (KERN_NOTICE "floppy disk write protected " in non_int_flush_track()
1458 static blk_status_t amiflop_rw_cur_segment(struct amiga_floppy_struct *floppy, in amiflop_rw_cur_segment() argument
1461 int drive = floppy - unit; in amiflop_rw_cur_segment()
1472 track = block / (floppy->dtype->sects * floppy->type->sect_mult); in amiflop_rw_cur_segment()
1473 sector = block % (floppy in amiflop_rw_cur_segment()
1508 struct amiga_floppy_struct *floppy = rq->q->disk->private_data; amiflop_queue_rq() local
[all...]
H A Dataflop.c28 * - Initialize track register when testing presence of floppy
340 * First, there is a DMA buffer in ST-RAM that is used for floppy DMA
1191 printk(KERN_INFO "fd%d: Auto-detected floppy type %s\n", in fd_rwsec_done1()
1362 printk(KERN_ERR "floppy timeout\n" ); in fd_times_out()
1426 * Linux, since the floppy driver can't make assumptions about the
1466 printk(KERN_ERR "floppy: clear format %p!\n", UDT); in floppy_revalidate()
1506 struct atari_floppy_struct *floppy = bd->rq->q->disk->private_data; in ataflop_queue_rq() local
1507 int drive = floppy - unit; in ataflop_queue_rq()
1508 int type = floppy->type; in ataflop_queue_rq()
1588 struct atari_floppy_struct *floppy in fd_locked_ioctl() local
[all...]
H A Dfloppy.c3 * linux/drivers/block/floppy.c
29 * call "floppy-on" directly, but have to set a special timer interrupt
39 * Automatic floppy-detection and formatting written by Werner Almesberger
41 * the floppy-change signal detection.
61 * floppy as the first thing after bootup.
66 * this helped the floppy driver as well. Much cleaner, and still seems to
70 /* 1994/6/24 --bbroad-- added the floppy table entries and made
83 /* 1994/9/17 -- Koen Holtman -- added logging of physical floppy write
99 * features to asm/floppy.h.
108 * interrupt and dma channel to asm/floppy
2967 struct floppy_struct *floppy; drive_name() local
4943 static char *floppy; global() variable
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-generic/
H A Dfloppy.h21 #include <asm/floppy.h>
39 * How to access the floppy DMA functions.
53 return request_dma(FLOPPY_DMA, "floppy"); in fd_request_dma()
99 0, "floppy", NULL); in fd_request_irq()
/kernel/linux/linux-5.10/arch/xtensa/kernel/
H A Dxtensa_ksyms.c30 #include <asm/floppy.h>
/kernel/linux/linux-6.6/arch/mips/include/asm/mach-generic/
H A Dfloppy.h21 #include <asm/floppy.h>
39 * How to access the floppy DMA functions.
53 return request_dma(FLOPPY_DMA, "floppy"); in fd_request_dma()
99 0, "floppy", NULL); in fd_request_irq()
/kernel/linux/linux-5.10/drivers/scsi/
H A DBusLogic.h552 bool floppy:1; /* Byte 10 Bit 0 */ member
/kernel/linux/linux-6.6/drivers/scsi/
H A DBusLogic.h544 bool floppy:1; /* Byte 10 Bit 0 */ member
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dentry.S71 * %l7 -- scratch [floppy byte, ld/st address, aux. data]
186 mov 11, %o0 ! floppy irq level (unused anyway)
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dentry.S71 * %l7 -- scratch [floppy byte, ld/st address, aux. data]
186 mov 11, %o0 ! floppy irq level (unused anyway)

Completed in 28 milliseconds