• Home
  • Raw
  • Download

Lines Matching refs:pipe

429 #define PIPE_INFO_TO_CMD(capture, pipe)					\  argument
430 ((u32)((u32)(pipe) | ((capture) ? ID_IS_CAPTURE : 0L)) << ID_OFFSET)
435 int lx_pipe_allocate(struct lx6464es *chip, u32 pipe, int is_capture, in lx_pipe_allocate() argument
439 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_allocate()
456 int lx_pipe_release(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_release() argument
459 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_release()
472 int lx_buffer_ask(struct lx6464es *chip, u32 pipe, int is_capture, in lx_buffer_ask() argument
476 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_buffer_ask()
525 int lx_pipe_stop(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_stop() argument
528 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_stop()
541 static int lx_pipe_toggle_state(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_toggle_state() argument
544 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_toggle_state()
558 int lx_pipe_start(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_start() argument
562 err = lx_pipe_wait_for_idle(chip, pipe, is_capture); in lx_pipe_start()
566 err = lx_pipe_toggle_state(chip, pipe, is_capture); in lx_pipe_start()
571 int lx_pipe_pause(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_pause() argument
575 err = lx_pipe_wait_for_start(chip, pipe, is_capture); in lx_pipe_pause()
579 err = lx_pipe_toggle_state(chip, pipe, is_capture); in lx_pipe_pause()
585 int lx_pipe_sample_count(struct lx6464es *chip, u32 pipe, int is_capture, in lx_pipe_sample_count() argument
589 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_sample_count()
612 int lx_pipe_state(struct lx6464es *chip, u32 pipe, int is_capture, u16 *rstate) in lx_pipe_state() argument
615 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_pipe_state()
633 static int lx_pipe_wait_for_state(struct lx6464es *chip, u32 pipe, in lx_pipe_wait_for_state() argument
642 int err = lx_pipe_state(chip, pipe, is_capture, &current_state); in lx_pipe_wait_for_state()
656 int lx_pipe_wait_for_start(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_wait_for_start() argument
658 return lx_pipe_wait_for_state(chip, pipe, is_capture, PSTATE_RUN); in lx_pipe_wait_for_start()
661 int lx_pipe_wait_for_idle(struct lx6464es *chip, u32 pipe, int is_capture) in lx_pipe_wait_for_idle() argument
663 return lx_pipe_wait_for_state(chip, pipe, is_capture, PSTATE_IDLE); in lx_pipe_wait_for_idle()
667 int lx_stream_set_state(struct lx6464es *chip, u32 pipe, in lx_stream_set_state() argument
671 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_stream_set_state()
686 u32 pipe, int is_capture) in lx_stream_set_format() argument
689 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_stream_set_format()
717 int lx_stream_state(struct lx6464es *chip, u32 pipe, int is_capture, in lx_stream_state() argument
721 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_stream_state()
736 int lx_stream_sample_position(struct lx6464es *chip, u32 pipe, int is_capture, in lx_stream_sample_position() argument
740 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_stream_sample_position()
758 int lx_buffer_give(struct lx6464es *chip, u32 pipe, int is_capture, in lx_buffer_give() argument
763 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_buffer_give()
806 int lx_buffer_free(struct lx6464es *chip, u32 pipe, int is_capture, in lx_buffer_free() argument
810 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_buffer_free()
828 int lx_buffer_cancel(struct lx6464es *chip, u32 pipe, int is_capture, in lx_buffer_cancel() argument
832 u32 pipe_cmd = PIPE_INFO_TO_CMD(is_capture, pipe); in lx_buffer_cancel()