/src/sys/dev/ic/ |
wdc.c | 1 /* $NetBSD: wdc.c,v 1.310 2022/05/31 08:43:15 andvar Exp $ */ 61 __KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.310 2022/05/31 08:43:15 andvar Exp $"); 178 * Initialize the "shadow register" handles for a standard wdc controller. 191 wdc_allocate_regs(struct wdc_softc *wdc) 194 wdc->regs = malloc(wdc->sc_atac.atac_nchannels * 207 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdc_sataprobe 248 if (atabus_alloc_drives(chp, wdc->wdc_maxdrives) != 0) { 297 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdc_drvprobe 298 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel] 495 struct wdc_softc *wdc; local in function:wdcprobe_with_reset 524 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdcprobe1 796 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdcattach 886 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdcintr 969 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdc_reset_channel 1030 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdcreset 1067 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdc_do_reset 1100 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:__wdcwait_reset 1207 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:__wdcwait 1320 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdc_dmawait 1344 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdctimeout 1429 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:__wdccommand_start 1500 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:__wdccommand_intr 1627 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:__wdccommand_done 1758 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdccommand 1794 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdccommandext 1861 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdccommandshort [all...] |
mvsata.c | 1020 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:mvsata_bio_start 1221 wdc->dataout_pio(chp, drvp->drive_flags, 1271 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:mvsata_bio_intr 1371 wdc->datain_pio(chp, drvp->drive_flags, 1701 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:mvsata_wdc_cmd_intr 1779 wdc->datain_pio(chp, drive_flags, data, bcount); 1791 wdc->dataout_pio(chp, drive_flags, data, bcount); 2207 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:mvsata_atapi_intr 2307 wdc->dataout_pio(chp, drvp->drive_flags, cmd, sc_xfer->cmdlen); 2342 wdc->dataout_pio(chp, drvp->drive_flags 2500 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:mvsata_atapi_phase_complete [all...] |
/src/sys/arch/mips/adm5120/dev/ |
wdc_extio.c | 118 struct wdc_softc *wdc = CHAN_TO_WDC(chp); 119 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel]; 125 if (wdc->select) 126 wdc->select(chp,0); 149 if (wdc->irqack) 150 wdc->irqack(chp); 248 wdc.datain_pio = wdc_extio_datain; 249 wdc.dataout_pio = wdc_extio_dataout; 251 wdc.sc_atac.atac_cap |= cf->cf_flags & 253 wdc.cap |= cf->cf_flags [all...] |
/src/sbin/nvmectl/ |
Makefile | 15 SRCS+= wdc.c
|
nvmectl.h | 84 "wdc cap-diag [-o path-templete]\n" 99 void wdc(int, char *[]) __dead;
|
wdc.c | 1 /* $NetBSD: wdc.c,v 1.6 2023/07/05 10:58:46 riastradh Exp $ */ 31 __RCSID("$NetBSD: wdc.c,v 1.6 2023/07/05 10:58:46 riastradh Exp $"); 33 __FBSDID("$FreeBSD: head/sbin/nvmecontrol/wdc.c 329824 2018-02-22 13:32:31Z wma $"); 59 #define WDC_CAP_DIAG_USAGE "wdc cap-diag [-o path-template]\n" 149 * though it likely doesn't matter to the WDC 203 wdc(int argc, char *argv[]) function in typeref:typename:void
|
nvmectl.c | 71 {"wdc", wdc, WDC_USAGE},
|
/src/sys/arch/vax/vsa/ |
smg.c | 518 smg_getcursor(struct smg_screen *ss, struct wsdisplay_cursor *wdc) 522 if ((wdc->which & WSDISPLAY_CURSOR_DOCUR) != 0) 523 wdc->enable = ss->ss_curcmd & PCCCMD_ENPA ? 1 : 0; 524 if ((wdc->which & WSDISPLAY_CURSOR_DOPOS) != 0) { 525 wdc->pos.x = ss->ss_curpos.x; 526 wdc->pos.y = ss->ss_curpos.y; 528 if ((wdc->which & WSDISPLAY_CURSOR_DOHOT) != 0) { 529 wdc->hot.x = ss->ss_curhot.x; 530 wdc->hot.y = ss->ss_curhot.y; 532 if ((wdc->which & WSDISPLAY_CURSOR_DOCMAP) != 0) [all...] |
/src/sys/dev/ata/ |
ata_wdc.c | 179 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdc_ata_bio_start 180 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel]; 214 if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) 217 if (wdc->select) 218 wdc->select(chp, xfer->c_drive); 299 if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) 327 if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) 337 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:_wdc_ata_bio_start 338 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel]; 426 error = (*wdc->dma_init)(wdc->dma_arg 631 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdc_ata_bio_intr [all...] |
/src/sys/dev/scsipi/ |
atapi_wdc.c | 207 struct wdc_softc *wdc = device_private(chan->chan_adapter->adapt_dev); local in function:wdc_atapi_get_params 208 struct atac_softc *atac = &wdc->sc_atac; 209 struct wdc_regs *wdr = &wdc->regs[chan->chan_channel]; 269 struct wdc_softc *wdc = device_private(chan->chan_adapter->adapt_dev); local in function:wdc_atapi_probe_device 270 struct atac_softc *atac = &wdc->sc_atac; 281 /* if no ATAPI device detected at wdc attach time, skip */ 372 struct wdc_softc *wdc = device_private(adapt->adapt_dev); local in function:wdc_atapi_scsipi_request 373 struct atac_softc *atac = &wdc->sc_atac; 481 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdc_atapi_start 482 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel] 735 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdc_atapi_intr 1059 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdc_atapi_phase_complete [all...] |
/src/sys/arch/playstation2/dev/ |
wdc_spd.c | 43 if (ra_ == 0xb400004e) /* (wdc)STAT LED off */ \ 53 if (wa_ == 0xb400004e) /* (wdc)CMD LED on */ \ 95 * wdc register is 16 bit wide. 189 struct wdc_softc *wdc = &sc->sc_wdcdev; local in function:wdc_spd_attach 197 wdc->sc_atac.atac_cap = 199 wdc->sc_atac.atac_pio_cap = 0; 201 wdc->sc_atac.atac_channels = sc->sc_chanlist; 202 wdc->sc_atac.atac_nchannels = 1; 223 wdr->cmd_iohs[i] = SPD_HDD_IO_BASE + i * 2; /* wdc register is 16 bit wide. */
|
/src/sys/arch/mips/cavium/dev/ |
octeon_pkovar.h | 145 octpko_op_doorbell_write(int pid, int qid, int wdc) 152 value = __SHIFTIN(wdc, PKO_DOORBELL_WRITE_WDC);
|
if_cnmac.c | 985 int wdc = 0; local in function:cnmac_start 1016 if (wdc > 0) 1018 sc->sc_port, wdc); 1031 if (cnmac_send(sc, m, &wdc)) { 1048 if (wdc > 0) 1049 octpko_op_doorbell_write(sc->sc_port, sc->sc_port, wdc);
|
/src/sys/arch/atari/conf/ |
SMALL030 | 54 atabus* at wdc? channel ?
|
HADES.in | 45 atabus* at wdc? channel ?
|
FALCON | 90 atabus* at wdc? channel ?
|
HADES | 107 atabus* at wdc? channel ?
|
GENERIC.in | 354 atabus* at wdc? channel ?
|
/src/sys/arch/playstation2/conf/ |
config.playstation2 | 48 wdc* at spd?
|
/src/sys/arch/evbarm/conf/ |
LUBBOCK | 203 wdc* at pcmcia? function ? 204 atabus* at wdc? channel ?
|
/src/sys/arch/mmeye/stand/boot/ |
Makefile | 14 SRCS+= com.c scif.c wd.c wdc.c
|
/src/sys/arch/bebox/stand/boot/ |
Makefile | 26 SRCS+= pci.c prf.c sd.c siop.c tgets.c vga.c video.c vreset.c wdc.c wd.c
|
/src/sys/arch/dreamcast/dev/g1/ |
wdc_g1.c | 175 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local in function:wdc_g1_do_reset 176 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel];
|
/src/sys/arch/cobalt/stand/boot/ |
Makefile | 77 SRCS+= prf.c com.c cons.c ns16550.c pciide.c tgets.c wdc.c wd.c
|
/src/sys/arch/amiga/dev/ |
efa.c | 112 * can't coexist with wdc_amiga. Match "wdc" on an A1200, because 115 if (!matchname(aux, "wdc") || !is_a1200()) 534 struct wdc_softc *wdc; local in function:efa_select_regset 541 wdc = CHAN_TO_WDC(&sc->sc_ports[chnum].chan); 542 wdc->regs[chnum] = sc->sc_ports[chnum].wdr[piomode]; 548 efa_debug_print_regmapping(&wdc->regs[chnum]);
|