Lines Matching refs:pipe
45 #define for_each_pipe(card_ctx, pipe) \ argument
46 for ((pipe) = 0; (pipe) < (card_ctx)->num_pipes; (pipe)++)
197 static u32 had_config_offset(int pipe) in had_config_offset() argument
199 switch (pipe) { in had_config_offset()
212 int pipe, u32 reg) in had_read_register_raw() argument
214 return ioread32(card_ctx->mmio_start + had_config_offset(pipe) + reg); in had_read_register_raw()
218 int pipe, u32 reg, u32 val) in had_write_register_raw() argument
220 iowrite32(val, card_ctx->mmio_start + had_config_offset(pipe) + reg); in had_write_register_raw()
228 *val = had_read_register_raw(ctx->card_ctx, ctx->pipe, reg); in had_read_register()
234 had_write_register_raw(ctx->card_ctx, ctx->pipe, reg, val); in had_write_register()
1547 int pipe, port; in display_pipe_interrupt_handler() local
1549 for_each_pipe(card_ctx, pipe) { in display_pipe_interrupt_handler()
1551 audio_stat[pipe] = had_read_register_raw(card_ctx, pipe, in display_pipe_interrupt_handler()
1555 if (audio_stat[pipe]) in display_pipe_interrupt_handler()
1556 had_write_register_raw(card_ctx, pipe, in display_pipe_interrupt_handler()
1557 AUD_HDMI_STATUS, audio_stat[pipe]); in display_pipe_interrupt_handler()
1562 int pipe = ctx->pipe; in display_pipe_interrupt_handler() local
1564 if (pipe < 0) in display_pipe_interrupt_handler()
1567 if (audio_stat[pipe] & HDMI_AUDIO_BUFFER_DONE) in display_pipe_interrupt_handler()
1569 if (audio_stat[pipe] & HDMI_AUDIO_UNDERRUN) in display_pipe_interrupt_handler()
1597 if (ppdata->pipe < 0) { in had_audio_wq()
1610 ctx->pipe = -1; in had_audio_wq()
1632 ctx->pipe = ppdata->pipe; in had_audio_wq()
1828 ctx->pipe = -1; in hdmi_lpe_audio_probe()