Symbol: dma_engine
sound/hda/codecs/ca0132.c
3043
static int dma_reset(struct dma_engine *dma)
sound/hda/codecs/ca0132.c
3062
static int dma_set_state(struct dma_engine *dma, enum dma_state state)
sound/hda/codecs/ca0132.c
3081
static unsigned int dma_get_buffer_size(struct dma_engine *dma)
sound/hda/codecs/ca0132.c
3086
static unsigned char *dma_get_buffer_addr(struct dma_engine *dma)
sound/hda/codecs/ca0132.c
3091
static int dma_xfer(struct dma_engine *dma,
sound/hda/codecs/ca0132.c
3100
struct dma_engine *dma,
sound/hda/codecs/ca0132.c
3107
static unsigned int dma_get_stream_id(struct dma_engine *dma)
sound/hda/codecs/ca0132.c
3203
struct dma_engine *dma_engine,
sound/hda/codecs/ca0132.c
3240
if (fls == NULL || dma_engine == NULL || port_map_mask == 0) {
sound/hda/codecs/ca0132.c
3261
buffer_size_words = (unsigned int)dma_get_buffer_size(dma_engine) /
sound/hda/codecs/ca0132.c
3264
buffer_addx = dma_get_buffer_addr(dma_engine);
sound/hda/codecs/ca0132.c
3271
dma_get_converter_format(dma_engine, &hda_format);
sound/hda/codecs/ca0132.c
3311
dma_xfer(dma_engine, data, run_size_words*sizeof(u32));
sound/hda/codecs/ca0132.c
3334
status = dma_set_state(dma_engine, DMA_STATE_RUN);
sound/hda/codecs/ca0132.c
3364
dma_set_state(dma_engine, DMA_STATE_STOP);
sound/hda/codecs/ca0132.c
3365
status = dma_reset(dma_engine);
sound/hda/codecs/ca0132.c
3408
struct dma_engine *dma_engine;
sound/hda/codecs/ca0132.c
3415
dma_engine = kzalloc_obj(*dma_engine);
sound/hda/codecs/ca0132.c
3416
if (!dma_engine)
sound/hda/codecs/ca0132.c
3419
dma_engine->dmab = kzalloc_obj(*dma_engine->dmab);
sound/hda/codecs/ca0132.c
3420
if (!dma_engine->dmab) {
sound/hda/codecs/ca0132.c
3421
kfree(dma_engine);
sound/hda/codecs/ca0132.c
3425
dma_engine->codec = codec;
sound/hda/codecs/ca0132.c
3427
dma_engine->m_converter_format = hda_format;
sound/hda/codecs/ca0132.c
3428
dma_engine->buf_size = (ovly ? DSP_DMA_WRITE_BUFLEN_OVLY :
sound/hda/codecs/ca0132.c
3442
dma_engine->m_converter_format,
sound/hda/codecs/ca0132.c
3443
dma_engine->buf_size,
sound/hda/codecs/ca0132.c
3444
dma_engine->dmab);
sound/hda/codecs/ca0132.c
3466
stream_id = dma_get_stream_id(dma_engine);
sound/hda/codecs/ca0132.c
3481
dma_engine, dma_chan,
sound/hda/codecs/ca0132.c
3506
if (dma_engine->dmab->area)
sound/hda/codecs/ca0132.c
3507
snd_hda_codec_load_dsp_cleanup(codec, dma_engine->dmab);
sound/hda/codecs/ca0132.c
3508
kfree(dma_engine->dmab);
sound/hda/codecs/ca0132.c
3509
kfree(dma_engine);