@@ -288,6 +288,7 @@ struct sdw_dpn_audio_mode {
288
288
289
289
/**
290
290
* struct sdw_dpn_prop - Data Port DPn properties
291
+ * @audio_modes: Audio modes supported
291
292
* @num: port number
292
293
* @max_word: Maximum number of bits in a Payload Channel Sample, 1 to 64
293
294
* (inclusive)
@@ -298,48 +299,47 @@ struct sdw_dpn_audio_mode {
298
299
* @type: Data port type. Full, Simplified or Reduced
299
300
* @max_grouping: Maximum number of samples that can be grouped together for
300
301
* a full data port
301
- * @simple_ch_prep_sm: If the port supports simplified channel prepare state
302
- * machine
303
302
* @ch_prep_timeout: Port-specific timeout value, in milliseconds
304
303
* @imp_def_interrupts: If set, each bit corresponds to support for
305
304
* implementation-defined interrupts
306
305
* @max_ch: Maximum channels supported
307
306
* @min_ch: Minimum channels supported
308
307
* @num_channels: Number of discrete channels supported
309
- * @channels: Discrete channels supported
310
308
* @num_ch_combinations: Number of channel combinations supported
309
+ * @channels: Discrete channels supported
311
310
* @ch_combinations: Channel combinations supported
312
311
* @modes: SDW mode supported
313
312
* @max_async_buffer: Number of samples that this port can buffer in
314
313
* asynchronous modes
314
+ * @port_encoding: Payload Channel Sample encoding schemes supported
315
315
* @block_pack_mode: Type of block port mode supported
316
316
* @read_only_wordlength: Read Only wordlength field in DPN_BlockCtrl1 register
317
- * @port_encoding: Payload Channel Sample encoding schemes supported
318
- * @audio_modes: Audio modes supported
317
+ * @simple_ch_prep_sm: If the port supports simplified channel prepare state
318
+ * machine
319
319
*/
320
320
struct sdw_dpn_prop {
321
+ struct sdw_dpn_audio_mode * audio_modes ;
321
322
u32 num ;
322
323
u32 max_word ;
323
324
u32 min_word ;
324
325
u32 num_words ;
325
326
u32 * words ;
326
327
enum sdw_dpn_type type ;
327
328
u32 max_grouping ;
328
- bool simple_ch_prep_sm ;
329
329
u32 ch_prep_timeout ;
330
330
u32 imp_def_interrupts ;
331
331
u32 max_ch ;
332
332
u32 min_ch ;
333
333
u32 num_channels ;
334
- u32 * channels ;
335
334
u32 num_ch_combinations ;
335
+ u32 * channels ;
336
336
u32 * ch_combinations ;
337
337
u32 modes ;
338
338
u32 max_async_buffer ;
339
+ u32 port_encoding ;
339
340
bool block_pack_mode ;
340
341
bool read_only_wordlength ;
341
- u32 port_encoding ;
342
- struct sdw_dpn_audio_mode * audio_modes ;
342
+ bool simple_ch_prep_sm ;
343
343
};
344
344
345
345
/**
0 commit comments