Lines Matching defs:FDC

46  * FDC data overrun bug, added some preliminary stuff for vertical
303 #define FDC(x) (((x) & 0x04) >> 2) /* fdc of drive */
502 /* Synchronization of FDC access. */
735 int fdc = FDC(drive);
740 (fdc_state[fdc].dor & 3) != UNIT(drive) || fdc != FDC(drive)) {
742 DPRINT("drive=%d fdc=%d dor=%x\n", drive, FDC(drive),
848 if (FDC(drive) == fdc &&
866 fdc = FDC(drive);
909 DPRINT("FDC access conflict!\n");
929 set_dor(FDC(nr), mask, 0);
936 int fdc = FDC(drive);
1151 DPRINT("Unable to send byte %x to FDC. Fdc=%x Status=%x\n",
1239 DPRINT("perpendicular mode not supported by this FDC.\n");
1265 * FDC types. This parameter is ignored for other types of FDCs (i.e.
1360 /* Set the FDC's data transfer rate on behalf of the specified drive.
1373 /* TODO: some FDC/drive combinations (C&T 82C711 with TEAC 1.2MB)
1433 DPRINT("-- FDC reply error\n");
1465 DPRINT("Invalid FDC command given!\n");
1727 /* we don't even know which FDC is the culprit */
2924 * Resets the FDC connected to drive <drive>.
3144 if (FDC(drive) != current_fdc)
3544 outparam = &fdc_state[FDC(drive)];
3822 v = fdc_state[FDC(drive)];
4051 if (fdc_state[FDC(drive)].rawcmd == 1)
4052 fdc_state[FDC(drive)].rawcmd = 2;
4247 return FDC_NONE; /* No FDC present ??? */
4249 pr_info("FDC %d is an 8272A\n", fdc);
4253 pr_info("FDC %d init: DUMPREGS: unexpected return of %d bytes.\n",
4259 pr_info("FDC %d is an 82072\n", fdc);
4267 pr_info("FDC %d is an 82072A\n", fdc);
4274 pr_info("FDC %d is a pre-1991 82077\n", fdc);
4279 pr_info("FDC %d init: UNLOCK: unexpected return of %d bytes.\n",
4286 pr_info("FDC %d init: PARTID: unexpected return of %d bytes.\n",
4291 pr_info("FDC %d is a post-1991 82077\n", fdc);
4297 pr_info("FDC %d is an 82078.\n", fdc);
4300 pr_info("FDC %d is a 44pin 82078\n", fdc);
4303 pr_info("FDC %d is a S82078B\n", fdc);
4306 pr_info("FDC %d is a National Semiconductor PC87306\n", fdc);
4309 pr_info("FDC %d init: 82078 variant with unknown PARTID=%d.\n",
4507 if (fdc_state[FDC(drive)].version == FDC_NONE)
4701 * properly, so force a reset for the standard FDC clones,