Lines Matching refs:nr_of_channels
189 for (i = 0; i < ipc_imem->nr_of_channels; i++) { in ipc_imem_ul_write_td()
893 if (channel_id < 0 || channel_id >= ipc_imem->nr_of_channels) { in ipc_imem_channel_close()
994 for (i = 0; i < ipc_imem->nr_of_channels; i++) { in ipc_imem_channel_alloc()
1000 if (i >= ipc_imem->nr_of_channels) { in ipc_imem_channel_alloc()
1034 if (ipc_imem->nr_of_channels >= IPC_MEM_MAX_CHANNELS) { in ipc_imem_channel_init()
1039 channel = &ipc_imem->channels[ipc_imem->nr_of_channels]; in ipc_imem_channel_init()
1040 channel->channel_id = ipc_imem->nr_of_channels; in ipc_imem_channel_init()
1045 ipc_imem->nr_of_channels++; in ipc_imem_channel_init()
1060 if (id < 0 || id >= ipc_imem->nr_of_channels) { in ipc_imem_channel_update()
1099 for (i = 0; i < ipc_imem->nr_of_channels; i++) { in ipc_imem_channel_reset()
1279 ipc_imem->nr_of_channels = 0; in ipc_imem_init()