Lines Matching defs:ch
105 #define SPDIFRX_IR_CSC(ch) BIT((ch) + 8)
350 int ch;
362 for (ch = 0; ch < SPDIFRX_CHANNELS; ch++) {
363 mchp_spdifrx_channel_user_data_read(dev, ch);
364 complete(&ctrl->user_data[ch].done);
370 for (ch = 0; ch < SPDIFRX_CHANNELS; ch++) {
371 if (pending & SPDIFRX_IR_CSC(ch)) {
372 mchp_spdifrx_channel_status_read(dev, ch);
373 complete(&ctrl->ch_stat[ch].done);
374 regmap_write(dev->regmap, SPDIFRX_IDR, SPDIFRX_IR_CSC(ch));
971 int ch;
985 for (ch = 0; ch < SPDIFRX_CHANNELS; ch++) {
986 init_completion(&ctrl->ch_stat[ch].done);
987 init_completion(&ctrl->user_data[ch].done);