audioreach.h (25ab80db6b133c20adb9ee39ce5cfdf347c92d5c) audioreach.h (36ad9bf1d93d66b901342eab9f8ed6c1537655a6)
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef __AUDIOREACH_H__
4#define __AUDIOREACH_H__
5#include <linux/types.h>
6#include <linux/soc/qcom/apr.h>
7#include <sound/soc.h>
8struct q6apm;

--- 679 unchanged lines hidden (view full) ---

688void *audioreach_alloc_apm_pkt(int pkt_size, uint32_t opcode, uint32_t token,
689 uint32_t src_port);
690void *audioreach_alloc_pkt(int payload_size, uint32_t opcode,
691 uint32_t token, uint32_t src_port,
692 uint32_t dest_port);
693void *audioreach_alloc_graph_pkt(struct q6apm *apm,
694 struct list_head *sg_list,
695 int graph_id);
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#ifndef __AUDIOREACH_H__
4#define __AUDIOREACH_H__
5#include <linux/types.h>
6#include <linux/soc/qcom/apr.h>
7#include <sound/soc.h>
8struct q6apm;

--- 679 unchanged lines hidden (view full) ---

688void *audioreach_alloc_apm_pkt(int pkt_size, uint32_t opcode, uint32_t token,
689 uint32_t src_port);
690void *audioreach_alloc_pkt(int payload_size, uint32_t opcode,
691 uint32_t token, uint32_t src_port,
692 uint32_t dest_port);
693void *audioreach_alloc_graph_pkt(struct q6apm *apm,
694 struct list_head *sg_list,
695 int graph_id);
696/* Topology specific */
697int audioreach_tplg_init(struct snd_soc_component *component);
698
696/* Module specific */
697void audioreach_graph_free_buf(struct q6apm_graph *graph);
698int audioreach_map_memory_regions(struct q6apm_graph *graph,
699 unsigned int dir, size_t period_sz,
700 unsigned int periods,
701 bool is_contiguous);
702int audioreach_send_cmd_sync(struct device *dev, gpr_device_t *gdev, struct gpr_ibasic_rsp_result_t *result,
703 struct mutex *cmd_lock, gpr_port_t *port, wait_queue_head_t *cmd_wait,

--- 20 unchanged lines hidden ---
699/* Module specific */
700void audioreach_graph_free_buf(struct q6apm_graph *graph);
701int audioreach_map_memory_regions(struct q6apm_graph *graph,
702 unsigned int dir, size_t period_sz,
703 unsigned int periods,
704 bool is_contiguous);
705int audioreach_send_cmd_sync(struct device *dev, gpr_device_t *gdev, struct gpr_ibasic_rsp_result_t *result,
706 struct mutex *cmd_lock, gpr_port_t *port, wait_queue_head_t *cmd_wait,

--- 20 unchanged lines hidden ---