is_pipe_allocated
if (snd_BUG_ON(!is_pipe_allocated(chip, pipe_index)))
if (snd_BUG_ON(!is_pipe_allocated(chip, pipe->index)))