| /src/sbin/nvmectl/ |
| 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
|
| /src/sys/arch/dreamcast/dev/g1/ |
| wdc_g1.c | 175 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 176 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel];
|
| /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 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/dev/pci/ |
| piixide.c | 706 struct wdc_softc *wdc = &sc->sc_wdcdev; local 789 if ((wdc->sc_atac.atac_cap & ATAC_CAP_UDMA) &&
|
| /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 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]);
|
| /src/sys/dev/ata/ |
| ata_wdc.c | 180 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 181 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel]; 215 if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) 218 if (wdc->select) 219 wdc->select(chp, xfer->c_drive); 300 if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) 328 if (! (wdc->cap & WDC_CAPABILITY_NO_AUXCTL)) 338 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 339 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel]; 422 error = (*wdc->dma_init)(wdc->dma_arg 627 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local [all...] |
| ata.c | 1320 #if NATA_PIOBM /* XXX wdc dependent code */ 1322 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1325 (*wdc->piobm_done)(wdc->dma_arg, 2256 * XXX joerg: with wdc, the first channel unfreezes the controller. 2257 * Move this the reset and queue idling into wdc.
|
| /src/sys/dev/scsipi/ |
| atapi_wdc.c | 207 struct wdc_softc *wdc = device_private(chan->chan_adapter->adapt_dev); local 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 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 373 struct atac_softc *atac = &wdc->sc_atac; 481 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 482 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel] 735 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1059 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local [all...] |
| /src/sys/dev/ic/ |
| wdc.c | 1 /* $NetBSD: wdc.c,v 1.314 2026/04/10 13:55:59 jakllsch Exp $ */ 61 __KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.314 2026/04/10 13:55:59 jakllsch 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 248 if (atabus_alloc_drives(chp, wdc->wdc_maxdrives) != 0) { 297 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 298 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel] 495 struct wdc_softc *wdc; local 524 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 815 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 905 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 988 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1049 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1087 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1120 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1227 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1340 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1364 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1449 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1520 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1647 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1778 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1814 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1881 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local [all...] |
| mvsata.c | 1021 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1217 wdc->dataout_pio(chp, drvp->drive_flags, 1267 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1367 wdc->datain_pio(chp, drvp->drive_flags, 1697 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1775 wdc->datain_pio(chp, drive_flags, data, bcount); 1787 wdc->dataout_pio(chp, drive_flags, data, bcount); 2203 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 2303 wdc->dataout_pio(chp, drvp->drive_flags, cmd, sc_xfer->cmdlen); 2338 wdc->dataout_pio(chp, drvp->drive_flags 2496 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local [all...] |
| /src/sys/arch/powerpc/ibm4xx/dev/ |
| dwcsata.c | 1023 * Soft-reset hook (installed as wdc->reset, replacing wdc_do_reset). 1028 struct wdc_softc *wdc = CHAN_TO_WDC(chp); local 1029 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel]; 1055 aprint_normal_dev(wdc->sc_atac.atac_dev,
|
| /src/sys/arch/mips/cavium/dev/ |
| if_cnmac.c | 985 int wdc = 0; local 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/external/gpl3/binutils/dist/opcodes/ |
| microblaze-opcm.h | 36 wic, wdc, wdcclear, wdcextclear, wdcflush, wdcextflush, wdcclearea, mts, mtse, enumerator in enum:microblaze_instr
|
| /src/external/gpl3/binutils.old/dist/opcodes/ |
| microblaze-opcm.h | 36 wic, wdc, wdcclear, wdcextclear, wdcflush, wdcextflush, wdcclearea, mts, mtse, enumerator in enum:microblaze_instr
|
| /src/external/gpl3/gdb.old/dist/opcodes/ |
| microblaze-opcm.h | 36 wic, wdc, wdcclear, wdcextclear, wdcflush, wdcextflush, wdcclearea, mts, mtse, enumerator in enum:microblaze_instr
|
| /src/external/gpl3/gdb/dist/opcodes/ |
| microblaze-opcm.h | 36 wic, wdc, wdcclear, wdcextclear, wdcflush, wdcextflush, wdcclearea, mts, mtse, enumerator in enum:microblaze_instr
|