Lines Matching defs:icp
181 struct icside_channel *icp;
265 icp = &sc->sc_chan[channel];
266 sc->sc_wdcdev.sc_atac.atac_channels[channel] = &icp->ic_channel;
267 cp = &icp->ic_channel;
272 cp->ch_queue = &icp->ic_chqueue;
293 icp->ic_irqiot = iot;
295 IRQ_REGISTER_SPACE, 0, &icp->ic_irqioh))
298 (void)bus_space_read_1(iot, icp->ic_irqioh, 0);
301 icp->ic_irqaddr = pa->pa_podule->irq_addr;
302 icp->ic_irqmask = pa->pa_podule->irq_mask;
303 evcnt_attach_dynamic(&icp->ic_intrcnt, EVCNT_TYPE_INTR, NULL,
305 icp->ic_ih = podulebus_irq_establish(pa->pa_ih, IPL_BIO,
306 icside_intr, icp, &icp->ic_intrcnt);
307 if (icp->ic_ih == NULL) {
313 bus_space_write_1(iot, icp->ic_irqioh, 0, 0);
340 struct icside_channel *icp = arg;
341 volatile u_char *intraddr = (volatile u_char *)icp->ic_irqaddr;
344 if ((*intraddr) & icp->ic_irqmask)
345 wdcintr(&icp->ic_channel);