Lines Matching defs:out_fdc

292 int out_fdc(bus_space_tag_t, bus_space_handle_t, uint8_t);
489 out_fdc(iot, ioh, NE7CMD_SPECIFY); /* specify command */
490 out_fdc(iot, ioh, 0xd0);
491 out_fdc(iot, ioh, 0x10);
515 out_fdc(fdc->sc_iot, fdc->sc_ioh, NE7CMD_SENSEI);
545 out_fdc(iot, ioh, NE7CMD_SENSEI);
556 out_fdc(iot, ioh, NE7CMD_RECAL);
557 out_fdc(iot, ioh, drive);
562 out_fdc(iot, ioh, NE7CMD_SENSEI);
885 out_fdc(bus_space_tag_t iot, bus_space_handle_t ioh, uint8_t x)
1028 out_fdc(fdc->sc_iot, fdc->sc_ioh, NE7CMD_SENSEI);
1092 out_fdc(iot, ioh, NE7CMD_SENSEI);
1161 out_fdc(iot, ioh, NE7CMD_SPECIFY); /* specify command */
1162 out_fdc(iot, ioh, 0xd0); /* XXX const */
1163 out_fdc(iot, ioh, 0x10);
1165 out_fdc(iot, ioh, NE7CMD_SEEK); /* seek function */
1166 out_fdc(iot, ioh, fd->sc_drive); /* drive number */
1167 out_fdc(iot, ioh, bp->b_cylinder * fd->sc_type->step);
1259 if (out_fdc(iot, ioh, NE7CMD_FORMAT) < 0) {
1264 out_fdc(iot, ioh, (head << 2) | fd->sc_drive);
1265 out_fdc(iot, ioh, finfo->fd_formb_secshift);
1266 out_fdc(iot, ioh, finfo->fd_formb_nsecs);
1267 out_fdc(iot, ioh, finfo->fd_formb_gaplen);
1268 out_fdc(iot, ioh, finfo->fd_formb_fillbyte);
1271 out_fdc(iot, ioh, NE7CMD_READ); /* READ */
1273 out_fdc(iot, ioh, NE7CMD_WRITE); /* WRITE */
1274 out_fdc(iot, ioh, (head << 2) | fd->sc_drive);
1275 out_fdc(iot, ioh, bp->b_cylinder); /* cylinder */
1276 out_fdc(iot, ioh, head);
1277 out_fdc(iot, ioh, sec + 1); /* sector +1 */
1278 out_fdc(iot, ioh, type->secsize); /* sector size */
1279 out_fdc(iot, ioh, type->sectrac); /* sectors/track */
1280 out_fdc(iot, ioh, type->gap1); /* gap1 size */
1281 out_fdc(iot, ioh, type->datalen); /* data length */
1302 out_fdc(iot, ioh, NE7CMD_READ); /* READ */
1303 out_fdc(iot, ioh, (head << 2) | fd->sc_drive);
1304 out_fdc(iot, ioh, bp->b_cylinder); /* cylinder */
1305 out_fdc(iot, ioh, head);
1306 out_fdc(iot, ioh, sec + 1); /* sector +1 */
1307 out_fdc(iot, ioh, type->secsize); /* sector size */
1308 out_fdc(iot, ioh, type->sectrac); /* sectors/track */
1309 out_fdc(iot, ioh, type->gap1); /* gap1 size */
1310 out_fdc(iot, ioh, type->datalen); /* data length */
1355 out_fdc(iot, ioh, NE7CMD_WRITE); /* WRITE */
1356 out_fdc(iot, ioh, (head << 2) | fd->sc_drive);
1357 out_fdc(iot, ioh, bp->b_cylinder); /* cylinder */
1358 out_fdc(iot, ioh, head);
1359 out_fdc(iot, ioh, sec + 1); /* sector +1 */
1360 out_fdc(iot, ioh, fd->sc_type->secsize); /* sector size */
1361 out_fdc(iot, ioh, sectrac); /* sectors/track */
1362 out_fdc(iot, ioh, fd->sc_type->gap1); /* gap1 size */
1363 out_fdc(iot, ioh, fd->sc_type->datalen); /* data length */
1382 out_fdc(iot, ioh, NE7CMD_SENSEI);
1470 out_fdc(iot, ioh, NE7CMD_SENSEI);
1477 out_fdc(iot, ioh, NE7CMD_RECAL); /* recalibrate function */
1478 out_fdc(iot, ioh, fd->sc_drive);
1495 out_fdc(iot, ioh, NE7CMD_SENSEI);
1518 out_fdc(iot, ioh, NE7CMD_SENSEI);