Home | History | Annotate | Download | only in mainbus

Lines Matching defs:out_fdc

308 int out_fdc(bus_space_tag_t iot, bus_space_handle_t ioh, u_char x);
343 if (out_fdc(iot, ioh, NE7CMD_SPECIFY) < 0)
345 out_fdc(iot, ioh, 0xdf);
346 out_fdc(iot, ioh, 2);
466 out_fdc(iot, ioh, NE7CMD_RECAL);
467 out_fdc(iot, ioh, drive);
470 out_fdc(iot, ioh, NE7CMD_SENSEI);
768 out_fdc(bus_space_tag_t iot, bus_space_handle_t ioh, u_char x)
869 out_fdc(fdc->sc_iot, fdc->sc_ioh, NE7CMD_SENSEI);
981 out_fdc(iot, ioh, NE7CMD_CONFIGURE);/* configure command */
982 out_fdc(iot, ioh, 0);
983 out_fdc(iot, ioh, 0x18);
984 out_fdc(iot, ioh, 0);
986 out_fdc(iot, ioh, NE7CMD_SPECIFY);/* specify command */
987 out_fdc(iot, ioh, fd->sc_type->steprate);
988 out_fdc(iot, ioh, 6); /* XXX head load time == 6ms */
990 out_fdc(iot, ioh, NE7CMD_SEEK); /* seek function */
991 out_fdc(iot, ioh, fd->sc_drive); /* drive number */
992 out_fdc(iot, ioh, bp->b_cylinder * fd->sc_type->step);
1063 if (out_fdc(iot, ioh, NE7CMD_FORMAT) < 0) {
1068 out_fdc(iot, ioh, (head << 2) | fd->sc_drive);
1069 out_fdc(iot, ioh, finfo->fd_formb_secshift);
1070 out_fdc(iot, ioh, finfo->fd_formb_nsecs);
1071 out_fdc(iot, ioh, finfo->fd_formb_gaplen);
1072 out_fdc(iot, ioh, finfo->fd_formb_fillbyte);
1075 out_fdc(iot, ioh, NE7CMD_READ); /* READ */
1077 out_fdc(iot, ioh, NE7CMD_WRITE); /* WRITE */
1078 out_fdc(iot, ioh, (head << 2) | fd->sc_drive);
1079 out_fdc(iot, ioh, fd->sc_cylin); /* track */
1080 out_fdc(iot, ioh, head);
1081 out_fdc(iot, ioh, sec + 1); /* sector +1 */
1082 out_fdc(iot, ioh, type->secsize);/* sector size */
1083 out_fdc(iot, ioh, type->sectrac);/* sectors/track */
1084 out_fdc(iot, ioh, type->gap1); /* gap1 size */
1085 out_fdc(iot, ioh, type->datalen);/* data length */
1109 out_fdc(iot, ioh, NE7CMD_SENSEI);
1181 out_fdc(iot, ioh, NE7CMD_SENSEI);
1187 out_fdc(iot, ioh, NE7CMD_RECAL); /* recalibrate function */
1188 out_fdc(iot, ioh, fd->sc_drive);
1203 out_fdc(iot, ioh, NE7CMD_SENSEI);