Lines Matching refs:ebus
5385 if (ddi_regs_map_setup(pp->dip, 1, (caddr_t *)&pp->uh.ebus.c_reg, 0, in pc87332_map_regs()
5387 &pp->uh.ebus.c_handle) != DDI_SUCCESS) { in pc87332_map_regs()
5406 if (ddi_regs_map_setup(pp->dip, 2, (caddr_t *)&pp->uh.ebus.dmac, 0, in pc87332_map_regs()
5408 &pp->uh.ebus.d_handle) != DDI_SUCCESS) { in pc87332_map_regs()
5423 if (pp->uh.ebus.c_handle) { in pc87332_unmap_regs()
5424 ddi_regs_map_free(&pp->uh.ebus.c_handle); in pc87332_unmap_regs()
5426 if (pp->uh.ebus.d_handle) { in pc87332_unmap_regs()
5427 ddi_regs_map_free(&pp->uh.ebus.d_handle); in pc87332_unmap_regs()
5442 PP_PUTB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->index, reg_num); in pc87332_read_config_reg()
5443 retval = PP_GETB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->data); in pc87332_read_config_reg()
5451 PP_PUTB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->index, reg_num); in pc87332_write_config_reg()
5452 PP_PUTB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->data, val); in pc87332_write_config_reg()
5460 PP_PUTB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->data, val); in pc87332_write_config_reg()
5542 if (ddi_regs_map_setup(pp->dip, 0, (caddr_t *)&pp->uh.ebus.c2_reg, in pc97317_map_regs()
5544 &pp->uh.ebus.c2_handle) != DDI_SUCCESS) { in pc97317_map_regs()
5556 if (pp->uh.ebus.c2_handle) { in pc97317_unmap_regs()
5557 ddi_regs_map_free(&pp->uh.ebus.c2_handle); in pc97317_unmap_regs()
5578 PP_PUTB(pp->uh.ebus.c2_handle, in pc97317_config_chip()
5579 &pp->uh.ebus.c2_reg->eir, PC97317_CONFIG2_CONTROL2); in pc97317_config_chip()
5580 PP_PUTB(pp->uh.ebus.c2_handle, &pp->uh.ebus.c2_reg->edr, 0x80); in pc97317_config_chip()
5655 AND_SET_LONG_R(pp->uh.ebus.d_handle, in cheerio_mask_intr()
5656 &pp->uh.ebus.dmac->csr, ~DCSR_INT_EN); in cheerio_mask_intr()
5663 OR_SET_LONG_R(pp->uh.ebus.d_handle, in cheerio_unmask_intr()
5664 &pp->uh.ebus.dmac->csr, DCSR_INT_EN | DCSR_TCI_DIS); in cheerio_unmask_intr()
5694 AND_SET_LONG_R(pp->uh.ebus.d_handle, &pp->uh.ebus.dmac->csr, in cheerio_dma_stop()
5698 OR_SET_LONG_R(pp->uh.ebus.d_handle, &pp->uh.ebus.dmac->csr, in cheerio_dma_stop()