Lines Matching refs:oca

147 	struct confargs *ca = aux, oca;  local
206 VME_MASTER_CAP_D32 | VME_MASTER_CAP_A32, 1, 0, &oca);
208 VME_MASTER_CAP_D16 | VME_MASTER_CAP_A32, 4, 0, &oca);
210 VME_MASTER_CAP_D16 | VME_MASTER_CAP_A24, 5, 0xe000000, &oca);
212 VME_MASTER_CAP_D8 | VME_MASTER_CAP_A16, 5, 0x0ffc0000, &oca);
214 VME_MASTER_CAP_D16 | VME_MASTER_CAP_A16, 5, 0x0ffd0000, &oca);
216 VME_MASTER_CAP_D32 | VME_MASTER_CAP_A16, 5, 0x0ffe0000, &oca);
247 fga_vmerangemap(sc, vmebase, vmelen, vmecap, sbusslot, sbusoffset, oca) in fga_vmerangemap() argument
253 struct confargs *oca;
275 bzero(oca, sizeof(*oca));
276 oca->ca_bustype = BUS_FGA;
277 oca->ca_slot = sbusslot;
278 oca->ca_offset = sc->sc_range[srange].poffset | sbusoffset;
279 oca->ca_ra.ra_name = "fvme";
280 oca->ca_ra.ra_nreg = 2;
281 oca->ca_ra.ra_reg[0].rr_len = vmelen;
282 oca->ca_ra.ra_reg[0].rr_paddr =
284 oca->ca_ra.ra_reg[0].rr_iospace = sbusslot;
285 oca->ca_ra.ra_reg[1].rr_iospace = vmecap;
286 oca->ca_ra.ra_reg[1].rr_paddr = (void *)vmebase;
287 oca->ca_ra.ra_reg[1].rr_len = vmelen;
333 (void)config_found(&sc->sc_dev, oca, fgaprint);
752 struct confargs *ca = aux, oca; local
766 oca.ca_bustype = ca->ca_ra.ra_reg[1].rr_iospace;
767 oca.ca_offset = cf->cf_loc[0];
769 oca.ca_ra.ra_nintr = 1;
770 oca.ca_ra.ra_intr[0].int_pri = cf->cf_loc[1];
771 oca.ca_ra.ra_intr[0].int_vec = cf->cf_loc[2];
772 oca.ca_ra.ra_name = cf->cf_driver->cd_name;
774 oca.ca_ra.ra_nreg = 1;
775 oca.ca_ra.ra_reg[0].rr_paddr = (void *)paddr;
776 oca.ca_ra.ra_reg[0].rr_iospace = ca->ca_ra.ra_reg[0].rr_iospace;
777 oca.ca_ra.ra_reg[0].rr_len = plen;
778 oca.ca_ra.ra_reg[0].rr_paddr =
779 mapdev(&oca.ca_ra.ra_reg[0], TMPMAP_VA, 0, NBPG);
781 if ((*cf->cf_attach->ca_match)(parent, cf, &oca) == 0) {
787 oca.ca_ra.ra_reg[0].rr_paddr = (void *)paddr;
788 config_attach(parent, cf, &oca, fvmeprint);