Home
last modified time | relevance | path

Searched refs:out_fdc (Results 1 – 12 of 12) sorted by relevance

/netbsd/src/sys/arch/x68k/dev/
Dfd.c311 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
[all …]
/netbsd/src/sys/arch/atari/dev/
Dhdfd.c324 int out_fdc(u_char);
374 if (out_fdc(NE7CMD_SPECIFY) < 0) in fdcprobe()
376 out_fdc(0xdf); in fdcprobe()
377 out_fdc(7); in fdcprobe()
428 out_fdc(NE7CMD_CONFIGURE); in fdcattach()
429 if (out_fdc(0) == 0) { in fdcattach()
430 out_fdc(0x1a); /* No polling, fifo depth = 10 */ in fdcattach()
431 out_fdc(0); in fdcattach()
434 out_fdc(NE7CMD_LOCK); in fdcattach()
495 out_fdc(NE7CMD_RECAL); in fdprobe()
[all …]
/netbsd/src/sys/arch/acorn32/mainbus/
Dfd.c308 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) in fdcprobe()
345 out_fdc(iot, ioh, 0xdf); in fdcprobe()
346 out_fdc(iot, ioh, 2); in fdcprobe()
466 out_fdc(iot, ioh, NE7CMD_RECAL); in fdprobe()
467 out_fdc(iot, ioh, drive); in fdprobe()
470 out_fdc(iot, ioh, NE7CMD_SENSEI); in fdprobe()
768 out_fdc(bus_space_tag_t iot, bus_space_handle_t ioh, u_char x) in out_fdc() function
869 out_fdc(fdc->sc_iot, fdc->sc_ioh, NE7CMD_SENSEI); in fdcstatus()
981 out_fdc(iot, ioh, NE7CMD_CONFIGURE);/* configure command */ in fdcintr()
[all …]
/netbsd/src/sys/arch/arc/jazz/
Dfd.c307 out_fdc(iot, ioh, NE7CMD_RECAL); in fdprobe()
308 out_fdc(iot, ioh, drive); in fdprobe()
311 out_fdc(iot, ioh, NE7CMD_SENSEI); in fdprobe()
635 out_fdc(bus_space_tag_t iot, bus_space_handle_t ioh, uint8_t x) in out_fdc() function
736 out_fdc(fdc->sc_iot, fdc->sc_ioh, NE7CMD_SENSEI); in fdcstatus()
843 out_fdc(iot, ioh, NE7CMD_SPECIFY);/* specify command */ in fdcintr()
844 out_fdc(iot, ioh, fd->sc_type->steprate); in fdcintr()
845 out_fdc(iot, ioh, 6); /* XXX head load time == 6ms */ in fdcintr()
847 out_fdc(iot, ioh, NE7CMD_SEEK); /* seek function */ in fdcintr()
848 out_fdc(iot, ioh, fd->sc_drive); /* drive number */ in fdcintr()
[all …]
Dfdc_jazzio.c140 if (out_fdc(iot, ioh, NE7CMD_SPECIFY) < 0) in fdc_jazzio_probe()
142 out_fdc(iot, ioh, 0xdf); /* XXX */ in fdc_jazzio_probe()
143 out_fdc(iot, ioh, 2); /* XXX */ in fdc_jazzio_probe()
Dfdcvar.h132 int out_fdc(bus_space_tag_t iot, bus_space_handle_t ioh, u_char x);
/netbsd/src/sys/dev/isa/
Dfd.c421 if (out_fdc(iot, ioh, NE7CMD_SPECIFY) < 0) { in fdcfinishattach()
425 out_fdc(iot, ioh, 0xdf); in fdcfinishattach()
426 out_fdc(iot, ioh, 2); in fdcfinishattach()
509 out_fdc(iot, ioh, NE7CMD_SENSEI); in fdprobe()
517 out_fdc(iot, ioh, NE7CMD_RECAL); in fdprobe()
518 out_fdc(iot, ioh, drive); in fdprobe()
527 out_fdc(iot, ioh, NE7CMD_SENSEI); in fdprobe()
904 out_fdc(bus_space_tag_t iot, bus_space_handle_t ioh, u_char x) in out_fdc() function
1017 out_fdc(fdc->sc_iot, fdc->sc_ioh, NE7CMD_SENSEI); in fdcstatus()
1125 out_fdc(iot, ioh, NE7CMD_SPECIFY);/* specify command */ in fdcintr1()
[all …]
Dfdc_isa.c162 if (out_fdc(iot, ioh, NE7CMD_SPECIFY) < 0) in fdc_isa_probe()
164 out_fdc(iot, ioh, 0xdf); in fdc_isa_probe()
165 out_fdc(iot, ioh, 2); in fdc_isa_probe()
Dfdcvar.h144 int out_fdc(bus_space_tag_t iot, bus_space_handle_t ioh, u_char x);
/netbsd/src/sys/arch/atari/isa/
Dfdcisa.c160 if (out_fdc(iot, ioh, NE7CMD_SPECIFY) < 0) in fdc_isa_probe()
162 out_fdc(iot, ioh, 0xdf); in fdc_isa_probe()
163 out_fdc(iot, ioh, 2); in fdc_isa_probe()
/netbsd/src/sys/dev/pcmcia/
Dfdc_pcmcia.c117 (void)out_fdc(iot, ioh, 0x00); /* doc says 0 */ in fdc_conf()
118 (void)out_fdc(iot, ioh, 8); /* FIFO is active low. */ in fdc_conf()
119 (void)out_fdc(iot, ioh, fdc->sc_status[9]); /* same comp */ in fdc_conf()
/netbsd/src/sys/arch/sun3/dev/
Dfd.c320 static int out_fdc(struct fdc_softc *, u_char);
399 if (out_fdc(fdc, NE7CMD_DUMPREG) || fdcresult(fdc) != 10) in fdconf()
410 out_fdc(fdc, NE7CMD_CFG); in fdconf()
411 out_fdc(fdc, vroom); in fdconf()
412 out_fdc(fdc, fdc->sc_cfg); in fdconf()
413 out_fdc(fdc, 0); /* PRETRK */ in fdconf()
475 if (out_fdc(fdc, NE7CMD_VERSION) == 0 && in fdcattach()
520 out_fdc(fdc, NE7CMD_RECAL); in fdmatch()
521 out_fdc(fdc, drive); in fdmatch()
528 if (out_fdc(fdc, NE7CMD_SENSEI)) in fdmatch()
[all …]