Symbol: dma_engine
sound/hda/codecs/ca0132.c
3023
static int dma_reset(struct dma_engine *dma)
sound/hda/codecs/ca0132.c
3042
static int dma_set_state(struct dma_engine *dma, enum dma_state state)
sound/hda/codecs/ca0132.c
3061
static unsigned int dma_get_buffer_size(struct dma_engine *dma)
sound/hda/codecs/ca0132.c
3066
static unsigned char *dma_get_buffer_addr(struct dma_engine *dma)
sound/hda/codecs/ca0132.c
3071
static int dma_xfer(struct dma_engine *dma,
sound/hda/codecs/ca0132.c
3080
struct dma_engine *dma,
sound/hda/codecs/ca0132.c
3087
static unsigned int dma_get_stream_id(struct dma_engine *dma)
sound/hda/codecs/ca0132.c
3183
struct dma_engine *dma_engine,
sound/hda/codecs/ca0132.c
3220
if (fls == NULL || dma_engine == NULL || port_map_mask == 0) {
sound/hda/codecs/ca0132.c
3241
buffer_size_words = (unsigned int)dma_get_buffer_size(dma_engine) /
sound/hda/codecs/ca0132.c
3244
buffer_addx = dma_get_buffer_addr(dma_engine);
sound/hda/codecs/ca0132.c
3251
dma_get_converter_format(dma_engine, &hda_format);
sound/hda/codecs/ca0132.c
3291
dma_xfer(dma_engine, data, run_size_words*sizeof(u32));
sound/hda/codecs/ca0132.c
3314
status = dma_set_state(dma_engine, DMA_STATE_RUN);
sound/hda/codecs/ca0132.c
3344
dma_set_state(dma_engine, DMA_STATE_STOP);
sound/hda/codecs/ca0132.c
3345
status = dma_reset(dma_engine);
sound/hda/codecs/ca0132.c
3388
struct dma_engine *dma_engine;
sound/hda/codecs/ca0132.c
3395
dma_engine = kzalloc_obj(*dma_engine);
sound/hda/codecs/ca0132.c
3396
if (!dma_engine)
sound/hda/codecs/ca0132.c
3399
dma_engine->dmab = kzalloc_obj(*dma_engine->dmab);
sound/hda/codecs/ca0132.c
3400
if (!dma_engine->dmab) {
sound/hda/codecs/ca0132.c
3401
kfree(dma_engine);
sound/hda/codecs/ca0132.c
3405
dma_engine->codec = codec;
sound/hda/codecs/ca0132.c
3407
dma_engine->m_converter_format = hda_format;
sound/hda/codecs/ca0132.c
3408
dma_engine->buf_size = (ovly ? DSP_DMA_WRITE_BUFLEN_OVLY :
sound/hda/codecs/ca0132.c
3422
dma_engine->m_converter_format,
sound/hda/codecs/ca0132.c
3423
dma_engine->buf_size,
sound/hda/codecs/ca0132.c
3424
dma_engine->dmab);
sound/hda/codecs/ca0132.c
3446
stream_id = dma_get_stream_id(dma_engine);
sound/hda/codecs/ca0132.c
3461
dma_engine, dma_chan,
sound/hda/codecs/ca0132.c
3486
if (dma_engine->dmab->area)
sound/hda/codecs/ca0132.c
3487
snd_hda_codec_load_dsp_cleanup(codec, dma_engine->dmab);
sound/hda/codecs/ca0132.c
3488
kfree(dma_engine->dmab);
sound/hda/codecs/ca0132.c
3489
kfree(dma_engine);