Lines Matching refs:out_fdc

311 static int out_fdc(bus_space_tag_t, bus_space_handle_t, uint8_t);
513 out_fdc(iot, ioh, NE7CMD_SPECIFY); /* specify command */ in fdcattach()
514 out_fdc(iot, ioh, 0xd0); in fdcattach()
515 out_fdc(iot, ioh, 0x10); in fdcattach()
539 out_fdc(fdc->sc_iot, fdc->sc_ioh, NE7CMD_SENSEI); in fdcpoll()
569 out_fdc(iot, ioh, NE7CMD_SENSEI); in fdprobe()
580 out_fdc(iot, ioh, NE7CMD_RECAL); in fdprobe()
581 out_fdc(iot, ioh, drive); in fdprobe()
586 out_fdc(iot, ioh, NE7CMD_SENSEI); in fdprobe()
909 out_fdc(bus_space_tag_t iot, bus_space_handle_t ioh, uint8_t x) in out_fdc() function
1052 out_fdc(fdc->sc_iot, fdc->sc_ioh, NE7CMD_SENSEI); in fdcstatus()
1116 out_fdc(iot, ioh, NE7CMD_SENSEI); in fdcintr()
1185 out_fdc(iot, ioh, NE7CMD_SPECIFY); /* specify command */ in fdcintr()
1186 out_fdc(iot, ioh, 0xd0); /* XXX const */ in fdcintr()
1187 out_fdc(iot, ioh, 0x10); in fdcintr()
1189 out_fdc(iot, ioh, NE7CMD_SEEK); /* seek function */ in fdcintr()
1190 out_fdc(iot, ioh, fd->sc_drive); /* drive number */ in fdcintr()
1191 out_fdc(iot, ioh, bp->b_cylinder * fd->sc_type->step); in fdcintr()
1283 if (out_fdc(iot, ioh, NE7CMD_FORMAT) < 0) { in fdcintr()
1288 out_fdc(iot, ioh, (head << 2) | fd->sc_drive); in fdcintr()
1289 out_fdc(iot, ioh, finfo->fd_formb_secshift); in fdcintr()
1290 out_fdc(iot, ioh, finfo->fd_formb_nsecs); in fdcintr()
1291 out_fdc(iot, ioh, finfo->fd_formb_gaplen); in fdcintr()
1292 out_fdc(iot, ioh, finfo->fd_formb_fillbyte); in fdcintr()
1295 out_fdc(iot, ioh, NE7CMD_READ); /* READ */ in fdcintr()
1297 out_fdc(iot, ioh, NE7CMD_WRITE); /* WRITE */ in fdcintr()
1298 out_fdc(iot, ioh, (head << 2) | fd->sc_drive); in fdcintr()
1299 out_fdc(iot, ioh, bp->b_cylinder); /* cylinder */ in fdcintr()
1300 out_fdc(iot, ioh, head); in fdcintr()
1301 out_fdc(iot, ioh, sec + 1); /* sector +1 */ in fdcintr()
1302 out_fdc(iot, ioh, type->secsize); /* sector size */ in fdcintr()
1303 out_fdc(iot, ioh, type->sectrac); /* sectors/track */ in fdcintr()
1304 out_fdc(iot, ioh, type->gap1); /* gap1 size */ in fdcintr()
1305 out_fdc(iot, ioh, type->datalen); /* data length */ in fdcintr()
1326 out_fdc(iot, ioh, NE7CMD_READ); /* READ */ in fdcintr()
1327 out_fdc(iot, ioh, (head << 2) | fd->sc_drive); in fdcintr()
1328 out_fdc(iot, ioh, bp->b_cylinder); /* cylinder */ in fdcintr()
1329 out_fdc(iot, ioh, head); in fdcintr()
1330 out_fdc(iot, ioh, sec + 1); /* sector +1 */ in fdcintr()
1331 out_fdc(iot, ioh, type->secsize); /* sector size */ in fdcintr()
1332 out_fdc(iot, ioh, type->sectrac); /* sectors/track */ in fdcintr()
1333 out_fdc(iot, ioh, type->gap1); /* gap1 size */ in fdcintr()
1334 out_fdc(iot, ioh, type->datalen); /* data length */ in fdcintr()
1379 out_fdc(iot, ioh, NE7CMD_WRITE); /* WRITE */ in fdcintr()
1380 out_fdc(iot, ioh, (head << 2) | fd->sc_drive); in fdcintr()
1381 out_fdc(iot, ioh, bp->b_cylinder); /* cylinder */ in fdcintr()
1382 out_fdc(iot, ioh, head); in fdcintr()
1383 out_fdc(iot, ioh, sec + 1); /* sector +1 */ in fdcintr()
1384 out_fdc(iot, ioh, fd->sc_type->secsize); /* sector size */ in fdcintr()
1385 out_fdc(iot, ioh, sectrac); /* sectors/track */ in fdcintr()
1386 out_fdc(iot, ioh, fd->sc_type->gap1); /* gap1 size */ in fdcintr()
1387 out_fdc(iot, ioh, fd->sc_type->datalen); /* data length */ in fdcintr()
1406 out_fdc(iot, ioh, NE7CMD_SENSEI); in fdcintr()
1494 out_fdc(iot, ioh, NE7CMD_SENSEI); in fdcintr()
1501 out_fdc(iot, ioh, NE7CMD_RECAL); /* recalibrate function */ in fdcintr()
1502 out_fdc(iot, ioh, fd->sc_drive); in fdcintr()
1519 out_fdc(iot, ioh, NE7CMD_SENSEI); in fdcintr()
1542 out_fdc(iot, ioh, NE7CMD_SENSEI); in fdcintr()