Lines Matching refs:op_new
3645 struct cs_dsp_wseq_op *op_end, *op_new = NULL; in cs_dsp_wseq_write() local
3651 op_new = cs_dsp_wseq_find_op(addr, op_code, &wseq->ops); in cs_dsp_wseq_write()
3654 if (!op_new) { in cs_dsp_wseq_write()
3661 op_new = devm_kzalloc(dsp->dev, sizeof(*op_new), GFP_KERNEL); in cs_dsp_wseq_write()
3662 if (!op_new) in cs_dsp_wseq_write()
3665 op_new->operation = op_code; in cs_dsp_wseq_write()
3666 op_new->address = addr; in cs_dsp_wseq_write()
3667 op_new->offset = op_end->offset; in cs_dsp_wseq_write()
3671 op_new->data = data; in cs_dsp_wseq_write()
3674 cs_dsp_chunk_write(&chunk, 8, op_new->operation); in cs_dsp_wseq_write()
3678 cs_dsp_chunk_write(&chunk, 32, op_new->address); in cs_dsp_wseq_write()
3679 cs_dsp_chunk_write(&chunk, 32, op_new->data); in cs_dsp_wseq_write()
3683 cs_dsp_chunk_write(&chunk, 24, op_new->address); in cs_dsp_wseq_write()
3684 cs_dsp_chunk_write(&chunk, 16, op_new->data); in cs_dsp_wseq_write()
3708 list_add_tail(&op_new->list, &op_end->list); in cs_dsp_wseq_write()
3711 ret = cs_dsp_coeff_write_ctrl(wseq->ctl, op_new->offset / sizeof(u32), in cs_dsp_wseq_write()
3719 devm_kfree(dsp->dev, op_new); in cs_dsp_wseq_write()