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 {
48
48
struct hdac_bus * hbus ;
49
49
};
50
50
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
+
51
73
struct sdw_intel {
52
74
struct sdw_cdns cdns ;
53
75
int instance ;
54
76
struct sdw_intel_link_res * link_res ;
55
77
bool startup_done ;
78
+ struct sdw_intel_bpt bpt_ctx ;
56
79
#ifdef CONFIG_DEBUG_FS
57
80
struct dentry * debugfs ;
58
81
#endif
You can’t perform that action at this time.
0 commit comments