Home | History | Annotate | Download | only in dev

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