Lines Matching defs:out_fdc
421 if (out_fdc(iot, ioh, NE7CMD_SPECIFY) < 0) {
425 out_fdc(iot, ioh, 0xdf);
426 out_fdc(iot, ioh, 2);
509 out_fdc(iot, ioh, NE7CMD_SENSEI);
517 out_fdc(iot, ioh, NE7CMD_RECAL);
518 out_fdc(iot, ioh, drive);
527 out_fdc(iot, ioh, NE7CMD_SENSEI);
904 out_fdc(bus_space_tag_t iot, bus_space_handle_t ioh, u_char x)
1017 out_fdc(fdc->sc_iot, fdc->sc_ioh, NE7CMD_SENSEI);
1125 out_fdc(iot, ioh, NE7CMD_SPECIFY);/* specify command */
1126 out_fdc(iot, ioh, fd->sc_type->steprate);
1127 out_fdc(iot, ioh, 6); /* XXX head load time == 6ms */
1129 out_fdc(iot, ioh, NE7CMD_SEEK); /* seek function */
1130 out_fdc(iot, ioh, fd->sc_drive); /* drive number */
1131 out_fdc(iot, ioh, bp->b_cylinder * fd->sc_type->step);
1182 if (out_fdc(iot, ioh, NE7CMD_FORMAT) < 0) {
1187 out_fdc(iot, ioh, (head << 2) | fd->sc_drive);
1188 out_fdc(iot, ioh, finfo->fd_formb_secshift);
1189 out_fdc(iot, ioh, finfo->fd_formb_nsecs);
1190 out_fdc(iot, ioh, finfo->fd_formb_gaplen);
1191 out_fdc(iot, ioh, finfo->fd_formb_fillbyte);
1194 out_fdc(iot, ioh, NE7CMD_READ); /* READ */
1196 out_fdc(iot, ioh, NE7CMD_WRITE); /* WRITE */
1197 out_fdc(iot, ioh, (head << 2) | fd->sc_drive);
1198 out_fdc(iot, ioh, fd->sc_cylin); /* track */
1199 out_fdc(iot, ioh, head);
1200 out_fdc(iot, ioh, sec + 1); /* sector +1 */
1201 out_fdc(iot, ioh, type->secsize);/* sector size */
1202 out_fdc(iot, ioh, type->sectrac);/* sectors/track */
1203 out_fdc(iot, ioh, type->gap1); /* gap1 size */
1204 out_fdc(iot, ioh, type->datalen);/* data length */
1226 out_fdc(iot, ioh, NE7CMD_SENSEI);
1294 out_fdc(iot, ioh, NE7CMD_SENSEI);
1300 out_fdc(iot, ioh, NE7CMD_RECAL); /* recalibrate function */
1301 out_fdc(iot, ioh, fd->sc_drive);
1314 out_fdc(iot, ioh, NE7CMD_SENSEI);