Lines Matching refs:regs
138 struct resource *regs;
143 regs = NULL;
167 regs = bus_alloc_resource_any(ahc->dev_softc, regs_type,
169 if (regs != NULL) {
170 ahc->tag = rman_get_bustag(regs);
171 ahc->bsh = rman_get_bushandle(regs);
185 regs_id, regs);
186 regs = NULL;
191 if (regs == NULL) {
194 regs = bus_alloc_resource_any(ahc->dev_softc, regs_type,
196 if (regs != NULL) {
197 ahc->tag = rman_get_bustag(regs);
198 ahc->bsh = rman_get_bushandle(regs);
207 regs_id, regs);
208 regs = NULL;
212 if (regs == NULL) {
219 ahc->platform_data->regs = regs;