Lines Matching refs:dma_reg

6296 		struct cheerio_dma_reg *dma_reg;  in set_data_count_register()  local
6297 dma_reg = (struct cheerio_dma_reg *)fdc->c_dma_regs; in set_data_count_register()
6298 ddi_put32(fdc->c_handlep_dma, &dma_reg->fdc_dbcr, count); in set_data_count_register()
6300 struct sb_dma_reg *dma_reg; in set_data_count_register() local
6302 dma_reg = (struct sb_dma_reg *)fdc->c_dma_regs; in set_data_count_register()
6306 (ushort_t *)&dma_reg->sb_dma_regs[DMA_0WCNT], in set_data_count_register()
6311 (ushort_t *)&dma_reg->sb_dma_regs[DMA_1WCNT], in set_data_count_register()
6316 (ushort_t *)&dma_reg->sb_dma_regs[DMA_2WCNT], in set_data_count_register()
6321 (ushort_t *)&dma_reg->sb_dma_regs[DMA_3WCNT], in set_data_count_register()
6343 struct cheerio_dma_reg *dma_reg; in get_data_count_register() local
6344 dma_reg = (struct cheerio_dma_reg *)fdc->c_dma_regs; in get_data_count_register()
6345 retval = ddi_get32(fdc->c_handlep_dma, &dma_reg->fdc_dbcr); in get_data_count_register()
6347 struct sb_dma_reg *dma_reg; in get_data_count_register() local
6348 dma_reg = (struct sb_dma_reg *)fdc->c_dma_regs; in get_data_count_register()
6352 (ushort_t *)&dma_reg->sb_dma_regs[DMA_0WCNT]); in get_data_count_register()
6356 (ushort_t *)&dma_reg->sb_dma_regs[DMA_1WCNT]); in get_data_count_register()
6360 (ushort_t *)&dma_reg->sb_dma_regs[DMA_2WCNT]); in get_data_count_register()
6364 (ushort_t *)&dma_reg->sb_dma_regs[DMA_3WCNT]); in get_data_count_register()
6388 struct cheerio_dma_reg *dma_reg; in reset_dma_controller() local
6389 dma_reg = (struct cheerio_dma_reg *)fdc->c_dma_regs; in reset_dma_controller()
6390 ddi_put32(fdc->c_handlep_dma, &dma_reg->fdc_dcsr, DCSR_RESET); in reset_dma_controller()
6393 ddi_put32(fdc->c_handlep_dma, &dma_reg->fdc_dcsr, 0); in reset_dma_controller()
6395 struct sb_dma_reg *dma_reg; in reset_dma_controller() local
6396 dma_reg = (struct sb_dma_reg *)fdc->c_dma_regs; in reset_dma_controller()
6397 ddi_put8(fdc->c_handlep_dma, &dma_reg->sb_dma_regs[DMAC1_MASK], in reset_dma_controller()
6413 struct cheerio_dma_reg *dma_reg; in get_dma_control_register() local
6414 dma_reg = (struct cheerio_dma_reg *)fdc->c_dma_regs; in get_dma_control_register()
6415 retval = ddi_get32(fdc->c_handlep_dma, &dma_reg->fdc_dcsr); in get_dma_control_register()
6430 struct cheerio_dma_reg *dma_reg; in set_data_address_register() local
6431 dma_reg = (struct cheerio_dma_reg *)fdc->c_dma_regs; in set_data_address_register()
6432 ddi_put32(fdc->c_handlep_dma, &dma_reg->fdc_dacr, address); in set_data_address_register()
6434 struct sb_dma_reg *dma_reg; in set_data_address_register() local
6435 dma_reg = (struct sb_dma_reg *)fdc->c_dma_regs; in set_data_address_register()
6439 &dma_reg->sb_dma_regs[DMA_0PAGE], in set_data_address_register()
6442 &dma_reg->sb_dma_regs[DMA_0HPG], in set_data_address_register()
6445 (ushort_t *)&dma_reg->sb_dma_regs[DMA_0ADR], in set_data_address_register()
6450 &dma_reg->sb_dma_regs[DMA_1PAGE], in set_data_address_register()
6453 &dma_reg->sb_dma_regs[DMA_1HPG], in set_data_address_register()
6456 (ushort_t *)&dma_reg->sb_dma_regs[DMA_1ADR], in set_data_address_register()
6461 &dma_reg->sb_dma_regs[DMA_2PAGE], in set_data_address_register()
6464 &dma_reg->sb_dma_regs[DMA_2HPG], in set_data_address_register()
6467 (ushort_t *)&dma_reg->sb_dma_regs[DMA_2ADR], in set_data_address_register()
6472 &dma_reg->sb_dma_regs[DMA_3PAGE], in set_data_address_register()
6475 &dma_reg->sb_dma_regs[DMA_3HPG], in set_data_address_register()
6478 (ushort_t *)&dma_reg->sb_dma_regs[DMA_3ADR], in set_data_address_register()
6500 struct cheerio_dma_reg *dma_reg; in set_dma_mode() local
6501 dma_reg = (struct cheerio_dma_reg *)fdc->c_dma_regs; in set_dma_mode()
6503 ddi_put32(fdc->c_handlep_dma, &dma_reg->fdc_dcsr, in set_dma_mode()
6506 ddi_put32(fdc->c_handlep_dma, &dma_reg->fdc_dcsr, in set_dma_mode()
6511 struct sb_dma_reg *dma_reg; in set_dma_mode() local
6512 dma_reg = (struct sb_dma_reg *)fdc->c_dma_regs; in set_dma_mode()
6521 ddi_put8(fdc->c_handlep_dma, &dma_reg->sb_dma_regs[DMAC1_MODE], in set_dma_mode()
6525 &dma_reg->sb_dma_regs[DMAC1_ALLMASK], ~chn_mask); in set_dma_mode()
6540 struct cheerio_dma_reg *dma_reg; in set_dma_control_register() local
6541 dma_reg = (struct cheerio_dma_reg *)fdc->c_dma_regs; in set_dma_control_register()
6542 ddi_put32(fdc->c_handlep_dma, &dma_reg->fdc_dcsr, val); in set_dma_control_register()
6549 struct sb_dma_reg *dma_reg; in release_sb_dma() local
6550 dma_reg = (struct sb_dma_reg *)fdc->c_dma_regs; in release_sb_dma()
6553 &dma_reg->sb_dma_regs[DMAC1_ALLMASK], NULL); in release_sb_dma()