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);
422 static void snd_cs4231_advance_dma(struct cs4231_dma_control *dma_cont, in snd_cs4231_advance_dma() argument
435 if (dma_cont->request(dma_cont, in snd_cs4231_advance_dma()
446 struct cs4231_dma_control *dma_cont; in cs4231_dma_trigger() local
449 dma_cont = &chip->p_dma; in cs4231_dma_trigger()
451 dma_cont->prepare(dma_cont, 0); in cs4231_dma_trigger()
452 dma_cont->enable(dma_cont, 1); in cs4231_dma_trigger()
453 snd_cs4231_advance_dma(dma_cont, in cs4231_dma_trigger()
457 dma_cont->enable(dma_cont, 0); in cs4231_dma_trigger()
461 dma_cont = &chip->c_dma; in cs4231_dma_trigger()
463 dma_cont->prepare(dma_cont, 1); in cs4231_dma_trigger()
464 dma_cont->enable(dma_cont, 1); in cs4231_dma_trigger()
465 snd_cs4231_advance_dma(dma_cont, in cs4231_dma_trigger()
469 dma_cont->enable(dma_cont, 0); in cs4231_dma_trigger()
991 struct cs4231_dma_control *dma_cont = &chip->p_dma; in snd_cs4231_playback_pointer() local
996 ptr = dma_cont->address(dma_cont); in snd_cs4231_playback_pointer()
1007 struct cs4231_dma_control *dma_cont = &chip->c_dma; in snd_cs4231_capture_pointer() local
1012 ptr = dma_cont->address(dma_cont); in snd_cs4231_capture_pointer()
1656 static int sbus_dma_request(struct cs4231_dma_control *dma_cont, in sbus_dma_request() argument
1662 struct sbus_dma_info *base = &dma_cont->sbus_info; in sbus_dma_request()
1688 static void sbus_dma_prepare(struct cs4231_dma_control *dma_cont, int d) in sbus_dma_prepare() argument
1692 struct sbus_dma_info *base = &dma_cont->sbus_info; in sbus_dma_prepare()
1707 static void sbus_dma_enable(struct cs4231_dma_control *dma_cont, int on) in sbus_dma_enable() argument
1711 struct sbus_dma_info *base = &dma_cont->sbus_info; in sbus_dma_enable()
1742 static unsigned int sbus_dma_addr(struct cs4231_dma_control *dma_cont) in sbus_dma_addr() argument
1744 struct sbus_dma_info *base = &dma_cont->sbus_info; in sbus_dma_addr()
1889 static int _ebus_dma_request(struct cs4231_dma_control *dma_cont, in _ebus_dma_request() argument
1892 return ebus_dma_request(&dma_cont->ebus_info, bus_addr, len); in _ebus_dma_request()
1895 static void _ebus_dma_enable(struct cs4231_dma_control *dma_cont, int on) in _ebus_dma_enable() argument
1897 ebus_dma_enable(&dma_cont->ebus_info, on); in _ebus_dma_enable()
1900 static void _ebus_dma_prepare(struct cs4231_dma_control *dma_cont, int dir) in _ebus_dma_prepare() argument
1902 ebus_dma_prepare(&dma_cont->ebus_info, dir); in _ebus_dma_prepare()
1905 static unsigned int _ebus_dma_addr(struct cs4231_dma_control *dma_cont) in _ebus_dma_addr() argument
1907 return ebus_dma_addr(&dma_cont->ebus_info); in _ebus_dma_addr()