Lines Matching refs:r_ecc
174 struct resource *r_ecc;
203 if (!ecc_inited && ctrl->r_ecc == NULL)
206 ATA_OUTL(ctrl->r_ecc, AHCI_FSL_REG_ECC,
212 if (!ecc_inited && ctrl->r_ecc == NULL)
215 val = ATA_INL(ctrl->r_ecc, AHCI_FSL_REG_ECC);
217 ATA_OUTL(ctrl->r_ecc, AHCI_FSL_REG_ECC, val);
224 if (!ecc_inited && ctrl->r_ecc == NULL)
228 val = ATA_INL(ctrl->r_ecc, AHCI_FSL_REG_ECC);
230 ATA_OUTL(ctrl->r_ecc, AHCI_FSL_REG_ECC, val);
344 ctlr->r_ecc = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
346 if (!ctlr->r_ecc) {
384 if (ctlr->r_ecc)
385 bus_free_resource(dev, SYS_RES_MEMORY, ctlr->r_ecc);
395 if (ctlr->r_ecc)
396 bus_free_resource(dev, SYS_RES_MEMORY, ctlr->r_ecc);