Lines Matching refs:softc
99 sb1250_host_t *softc;
104 softc = (sb1250_host_t *) KMALLOC(sizeof(sb1250_host_t), 0);
105 if (softc) {
106 softc->pci_base = 0;
107 softc->offset = 0;
108 softc->limit = 0;
111 cfe_attach(drv,softc,NULL,descr);
123 sb1250_host_t *softc = ctx->dev_softc;
137 softc->pci_base = PCI_TO_CPU(data_addr);
138 softc->limit = phys_read32(desc_addr + 4);
146 sb1250_host_t *softc = ctx->dev_softc;
155 if (boffset >= softc->limit) {
157 softc->offset = softc->limit;
165 src = softc->pci_base + boffset;
168 if (blen > softc->limit - boffset)
169 blen = softc->limit - boffset;
179 softc->offset = boffset;
190 sb1250_host_t *softc = ctx->dev_softc;
192 return softc->pci_base != 0 && softc->offset < softc->limit;