File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,34 @@ struct sdw_intel_link_res {
4848 struct hdac_bus * hbus ;
4949};
5050
51+ /**
52+ * struct sdw_intel_bpt - SoundWire Intel BPT context
53+ * @bpt_tx_stream: BPT TX stream
54+ * @dmab_tx_bdl: BPT TX buffer descriptor list
55+ * @bpt_rx_stream: BPT RX stream
56+ * @dmab_rx_bdl: BPT RX buffer descriptor list
57+ * @pdi0_buffer_size: PDI0 buffer size
58+ * @pdi1_buffer_size: PDI1 buffer size
59+ * @num_frames: number of frames
60+ * @data_per_frame: data per frame
61+ */
62+ struct sdw_intel_bpt {
63+ struct hdac_ext_stream * bpt_tx_stream ;
64+ struct snd_dma_buffer dmab_tx_bdl ;
65+ struct hdac_ext_stream * bpt_rx_stream ;
66+ struct snd_dma_buffer dmab_rx_bdl ;
67+ unsigned int pdi0_buffer_size ;
68+ unsigned int pdi1_buffer_size ;
69+ unsigned int num_frames ;
70+ unsigned int data_per_frame ;
71+ };
72+
5173struct sdw_intel {
5274 struct sdw_cdns cdns ;
5375 int instance ;
5476 struct sdw_intel_link_res * link_res ;
5577 bool startup_done ;
78+ struct sdw_intel_bpt bpt_ctx ;
5679#ifdef CONFIG_DEBUG_FS
5780 struct dentry * debugfs ;
5881#endif
You can’t perform that action at this time.
0 commit comments