Home | History | Annotate | Download | only in uba

Lines Matching defs:vc

223 	struct uba_vsoftc * const vc = (void *)sc;
224 volatile int *hej = &vc->uv_uba->uba_sr;
227 vc->uv_uba->uba_cr = UBACR_IFS|UBACR_BRIE;
233 struct uba_vsoftc * const vc = (void *)sc;
235 vc->uv_uba->uba_cr = UBACR_IFS | UBACR_BRIE |
237 (vc->uv_uba->uba_cr & 0x7c000000);
244 struct uba_vsoftc * const vc = (void *)sc;
245 volatile int *hej = &vc->uv_uba->uba_sr;
258 struct uba_vsoftc *vc = arg;
259 struct uba_regs *ur = vc->uv_uba;
264 uvec = &vc->uv_sc.uh_intrcnt;
267 ubaerror(&vc->uv_sc, &br, &vec);
274 ivec = &scb_vec[(vc->uh_ibase + vec)/4];
276 scb_fake(vec + vc->uh_ibase, br);
301 struct uba_vsoftc *vc = (void *)sc;
303 vc->uv_uba->uba_cr = UBACR_ADINIT;
304 vc->uv_uba->uba_cr = UBACR_IFS|UBACR_BRIE|UBACR_USEFIE|UBACR_SUEFIE;
305 while ((vc->uv_uba->uba_cnfgr & UBACNFGR_UBIC) == 0)
313 struct uba_vsoftc *vc = (void *)sc;
315 vc->uv_uba->uba_dpr[bdp] |= UBADPR_BNE;
334 struct uba_vsoftc *vc = (void *)uh;
335 struct uba_regs *uba = vc->uv_uba;
344 u_long dt = time_second - vc->uh_zvtime;
346 vc->uh_zvtotal++;
348 vc->uh_zvtime = time_second;
349 vc->uh_zvcnt = 0;
351 if (++vc->uh_zvcnt > zvcnt_max) {
352 aprint_error_dev(vc->uv_sc.uh_dev,
354 vc->uh_zvcnt, (int)dt + 1);
370 ubareset(&vc->uv_sc);
377 aprint_error_dev(vc->uv_sc.uh_dev,
379 ubareset(&vc->uv_sc);
386 aprint_error_dev(vc->uv_sc.uh_dev,
396 ubareset(&vc->uv_sc);