Lines Matching refs:dma_cont
66 void (*prepare)(struct cs4231_dma_control *dma_cont,
68 void (*enable)(struct cs4231_dma_control *dma_cont, int on);
69 int (*request)(struct cs4231_dma_control *dma_cont,
71 unsigned int (*address)(struct cs4231_dma_control *dma_cont);
426 static void snd_cs4231_advance_dma(struct cs4231_dma_control *dma_cont, in snd_cs4231_advance_dma() argument
439 if (dma_cont->request(dma_cont, in snd_cs4231_advance_dma()
450 struct cs4231_dma_control *dma_cont; in cs4231_dma_trigger() local
453 dma_cont = &chip->p_dma; in cs4231_dma_trigger()
455 dma_cont->prepare(dma_cont, 0); in cs4231_dma_trigger()
456 dma_cont->enable(dma_cont, 1); in cs4231_dma_trigger()
457 snd_cs4231_advance_dma(dma_cont, in cs4231_dma_trigger()
461 dma_cont->enable(dma_cont, 0); in cs4231_dma_trigger()
465 dma_cont = &chip->c_dma; in cs4231_dma_trigger()
467 dma_cont->prepare(dma_cont, 1); in cs4231_dma_trigger()
468 dma_cont->enable(dma_cont, 1); in cs4231_dma_trigger()
469 snd_cs4231_advance_dma(dma_cont, in cs4231_dma_trigger()
473 dma_cont->enable(dma_cont, 0); in cs4231_dma_trigger()
995 struct cs4231_dma_control *dma_cont = &chip->p_dma; in snd_cs4231_playback_pointer() local
1000 ptr = dma_cont->address(dma_cont); in snd_cs4231_playback_pointer()
1011 struct cs4231_dma_control *dma_cont = &chip->c_dma; in snd_cs4231_capture_pointer() local
1016 ptr = dma_cont->address(dma_cont); in snd_cs4231_capture_pointer()
1661 static int sbus_dma_request(struct cs4231_dma_control *dma_cont, in sbus_dma_request() argument
1667 struct sbus_dma_info *base = &dma_cont->sbus_info; in sbus_dma_request()
1693 static void sbus_dma_prepare(struct cs4231_dma_control *dma_cont, int d) in sbus_dma_prepare() argument
1697 struct sbus_dma_info *base = &dma_cont->sbus_info; in sbus_dma_prepare()
1712 static void sbus_dma_enable(struct cs4231_dma_control *dma_cont, int on) in sbus_dma_enable() argument
1716 struct sbus_dma_info *base = &dma_cont->sbus_info; in sbus_dma_enable()
1747 static unsigned int sbus_dma_addr(struct cs4231_dma_control *dma_cont) in sbus_dma_addr() argument
1749 struct sbus_dma_info *base = &dma_cont->sbus_info; in sbus_dma_addr()
1896 static int _ebus_dma_request(struct cs4231_dma_control *dma_cont, in _ebus_dma_request() argument
1899 return ebus_dma_request(&dma_cont->ebus_info, bus_addr, len); in _ebus_dma_request()
1902 static void _ebus_dma_enable(struct cs4231_dma_control *dma_cont, int on) in _ebus_dma_enable() argument
1904 ebus_dma_enable(&dma_cont->ebus_info, on); in _ebus_dma_enable()
1907 static void _ebus_dma_prepare(struct cs4231_dma_control *dma_cont, int dir) in _ebus_dma_prepare() argument
1909 ebus_dma_prepare(&dma_cont->ebus_info, dir); in _ebus_dma_prepare()
1912 static unsigned int _ebus_dma_addr(struct cs4231_dma_control *dma_cont) in _ebus_dma_addr() argument
1914 return ebus_dma_addr(&dma_cont->ebus_info); in _ebus_dma_addr()