• Home
  • Raw
  • Download

Lines Matching refs:pbus

58 	struct hpc3_pbus_dmacregs *pbus;  member
77 struct hal2_pbus pbus; member
312 if (hal2->dac.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) { in hal2_interrupt()
316 if (hal2->adc.pbus.pbus->pbdma_ctrl & HPC3_PDMACTRL_INT) { in hal2_interrupt()
367 struct hal2_pbus *pbus = &hal2->dac.pbus; in hal2_setup_dac() local
380 pbus->ctrl = HPC3_PDMACTRL_RT | HPC3_PDMACTRL_LD | in hal2_setup_dac()
383 pbus->pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; in hal2_setup_dac()
390 hal2_i_setbit16(hal2, H2I_DMA_DRV, (1 << pbus->pbusnr)); in hal2_setup_dac()
392 hal2_i_write16(hal2, H2I_DAC_C1, (pbus->pbusnr << H2I_C1_DMA_SHIFT) in hal2_setup_dac()
400 struct hal2_pbus *pbus = &hal2->adc.pbus; in hal2_setup_adc() local
406 pbus->ctrl = HPC3_PDMACTRL_RT | HPC3_PDMACTRL_RCV | HPC3_PDMACTRL_LD | in hal2_setup_adc()
408 pbus->pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; in hal2_setup_adc()
415 hal2_i_setbit16(hal2, H2I_DMA_DRV, (1 << pbus->pbusnr)); in hal2_setup_adc()
417 hal2_i_write16(hal2, H2I_ADC_C1, (pbus->pbusnr << H2I_C1_DMA_SHIFT) in hal2_setup_adc()
424 struct hal2_pbus *pbus = &hal2->dac.pbus; in hal2_start_dac() local
426 pbus->pbus->pbdma_dptr = hal2->dac.desc_dma; in hal2_start_dac()
427 pbus->pbus->pbdma_ctrl = pbus->ctrl | HPC3_PDMACTRL_ACT; in hal2_start_dac()
434 struct hal2_pbus *pbus = &hal2->adc.pbus; in hal2_start_adc() local
436 pbus->pbus->pbdma_dptr = hal2->adc.desc_dma; in hal2_start_adc()
437 pbus->pbus->pbdma_ctrl = pbus->ctrl | HPC3_PDMACTRL_ACT; in hal2_start_adc()
444 hal2->dac.pbus.pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; in hal2_stop_dac()
450 hal2->adc.pbus.pbus->pbdma_ctrl = HPC3_PDMACTRL_LD; in hal2_stop_adc()
595 dac->pbus.pbus->pbdma_bptr); in hal2_playback_pointer()
688 adc->pbus.pbus->pbdma_bptr); in hal2_capture_pointer()
777 codec->pbus.pbusnr = index; in hal2_init_codec()
778 codec->pbus.pbus = &hpc3->pbdma[index]; in hal2_init_codec()
864 hpc3->pbus_dmacfg[hal2->dac.pbus.pbusnr][0] = 0x8208844; in hal2_create()
865 hpc3->pbus_dmacfg[hal2->adc.pbus.pbusnr][0] = 0x8208844; in hal2_create()