Lines Matching refs:pbus
45 struct hpc3_pbus_dmacregs *pbus;
47 unsigned int ctrl; /* Current state of pbus->pbdma_ctrl */
64 struct hal2_pbus pbus;
303 if (hal2->dac.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) {
307 if (hal2->adc.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) {
358 struct hal2_pbus *pbus = &hal2->dac.pbus;
371 pbus->ctrl = HPC3_PDMACTRL_RT | HPC3_PDMACTRL_LD |
374 pbus->pbus->pbdma_ctrl = HPC3_PDMACTRL_LD;
381 hal2_i_setbit16(hal2, H2I_DMA_DRV, (1 << pbus->pbusnr));
383 hal2_i_write16(hal2, H2I_DAC_C1, (pbus->pbusnr << H2I_C1_DMA_SHIFT)
391 struct hal2_pbus *pbus = &hal2->adc.pbus;
397 pbus->ctrl = HPC3_PDMACTRL_RT | HPC3_PDMACTRL_RCV | HPC3_PDMACTRL_LD |
399 pbus->pbus->pbdma_ctrl = HPC3_PDMACTRL_LD;
406 hal2_i_setbit16(hal2, H2I_DMA_DRV, (1 << pbus->pbusnr));
408 hal2_i_write16(hal2, H2I_ADC_C1, (pbus->pbusnr << H2I_C1_DMA_SHIFT)
415 struct hal2_pbus *pbus = &hal2->dac.pbus;
417 pbus->pbus->pbdma_dptr = hal2->dac.desc_dma;
418 pbus->pbus->pbdma_ctrl = pbus->ctrl | HPC3_PDMACTRL_ACT;
425 struct hal2_pbus *pbus = &hal2->adc.pbus;
427 pbus->pbus->pbdma_dptr = hal2->adc.desc_dma;
428 pbus->pbus->pbdma_ctrl = pbus->ctrl | HPC3_PDMACTRL_ACT;
435 hal2->dac.pbus.pbus->pbdma_ctrl = HPC3_PDMACTRL_LD;
441 hal2->adc.pbus.pbus->pbdma_ctrl = HPC3_PDMACTRL_LD;
570 dac->pbus.pbus->pbdma_bptr);
655 adc->pbus.pbus->pbdma_bptr);
738 codec->pbus.pbusnr = index;
739 codec->pbus.pbus = &hpc3->pbdma[index];
825 hpc3->pbus_dmacfg[hal2->dac.pbus.pbusnr][0] = 0x8208844;
826 hpc3->pbus_dmacfg[hal2->adc.pbus.pbusnr][0] = 0x8208844;