Lines Matching refs:nr_chans
193 if (WARN_ON_ONCE(master->nr_free < output->nr_chans)) in stm_output_claim()
197 ilog2(output->nr_chans)); in stm_output_claim()
199 master->nr_free -= output->nr_chans; in stm_output_claim()
211 ilog2(output->nr_chans)); in stm_output_disclaim()
213 master->nr_free += output->nr_chans; in stm_output_disclaim()
214 output->nr_chans = 0; in stm_output_disclaim()
304 if (WARN_ON_ONCE(output->nr_chans)) in stm_output_assign()
313 output->nr_chans = width; in stm_output_assign()
332 output->nr_chans = 0; in stm_output_assign()
344 if (output->nr_chans) in stm_output_free()
633 if (!stmf->output.nr_chans) { in stm_char_write()
705 if (stmf->output.nr_chans * stm->data->sw_mmiosz != size) in stm_char_mmap()
710 stmf->output.nr_chans); in stm_char_mmap()
733 if (stmf->output.nr_chans) in stm_char_policy_set_ioctl()
789 .width = stmf->output.nr_chans, in stm_char_policy_get_ioctl()
824 stmf->output.nr_chans, in stm_char_ioctl()
1022 src->data->nr_chans); in stm_source_link_add()
1301 if (!src->output.nr_chans) in stm_source_write()
1304 if (chan >= src->output.nr_chans) in stm_source_write()