Searched refs:achp (Results 1 – 2 of 2) sorted by relevance
| /netbsd/src/sys/dev/ic/ |
| D | ahcisata_core.c | 211 struct ahci_channel *achp; in ahci_reprobe_drives() local 222 achp = &sc->sc_channels[i]; in ahci_reprobe_drives() 223 chp = &achp->ata_channel; in ahci_reprobe_drives() 233 struct ahci_channel *achp; in ahci_setup_port() local 235 achp = &sc->sc_channels[i]; in ahci_setup_port() 237 AHCI_WRITE(sc, AHCI_P_CLB(i), BUS_ADDR_LO32(achp->ahcic_bus_cmdh)); in ahci_setup_port() 238 AHCI_WRITE(sc, AHCI_P_CLBU(i), BUS_ADDR_HI32(achp->ahcic_bus_cmdh)); in ahci_setup_port() 239 AHCI_WRITE(sc, AHCI_P_FB(i), BUS_ADDR_LO32(achp->ahcic_bus_rfis)); in ahci_setup_port() 240 AHCI_WRITE(sc, AHCI_P_FBU(i), BUS_ADDR_HI32(achp->ahcic_bus_rfis)); in ahci_setup_port() 258 struct ahci_channel *achp; in ahci_attach() local [all …]
|
| D | ahcisatavar.h | 101 #define AHCI_CMDH_SYNC(sc, achp, cmd, op) bus_dmamap_sync((sc)->sc_dmat, \ argument 103 (char *)(&(achp)->ahcic_cmdh[(cmd)]) - (char *)(sc)->sc_cmd_hdr, \ 105 #define AHCI_RFIS_SYNC(sc, achp, op) bus_dmamap_sync((sc)->sc_dmat, \ argument 107 (char *)(achp)->ahcic_rfis - (char *)(sc)->sc_cmd_hdr, \ 109 #define AHCI_CMDTBL_SYNC(sc, achp, cmd, op) bus_dmamap_sync((sc)->sc_dmat, \ argument 110 (achp)->ahcic_cmd_tbld, AHCI_CMDTBL_SIZE * (cmd), \
|