Lines Matching refs:nr_of_channels
229 for (i = 0; i < ipc_imem->nr_of_channels; i++) { in ipc_imem_ul_write_td()
966 if (channel_id < 0 || channel_id >= ipc_imem->nr_of_channels) { in ipc_imem_channel_close()
1067 for (i = 0; i < ipc_imem->nr_of_channels; i++) { in ipc_imem_channel_alloc()
1073 if (i >= ipc_imem->nr_of_channels) { in ipc_imem_channel_alloc()
1107 if (ipc_imem->nr_of_channels >= IPC_MEM_MAX_CHANNELS) { in ipc_imem_channel_init()
1112 channel = &ipc_imem->channels[ipc_imem->nr_of_channels]; in ipc_imem_channel_init()
1113 channel->channel_id = ipc_imem->nr_of_channels; in ipc_imem_channel_init()
1118 ipc_imem->nr_of_channels++; in ipc_imem_channel_init()
1133 if (id < 0 || id >= ipc_imem->nr_of_channels) { in ipc_imem_channel_update()
1172 for (i = 0; i < ipc_imem->nr_of_channels; i++) { in ipc_imem_channel_reset()
1353 ipc_imem->nr_of_channels = 0; in ipc_imem_init()