1 /* SPDX-License-Identifier: GPL-2.0 */ << 2 #define MAXPACK 50 1 #define MAXPACK 50 3 #define MAXBUFFERMS 100 2 #define MAXBUFFERMS 100 4 #define MAXSTRIDE 3 3 #define MAXSTRIDE 3 5 4 6 #define SSS (((MAXPACK*MAXBUFFERMS*MAXSTRIDE + 5 #define SSS (((MAXPACK*MAXBUFFERMS*MAXSTRIDE + 4096) / 4096) * 4096) 7 struct snd_usx2y_hwdep_pcm_shm { !! 6 struct snd_usX2Y_hwdep_pcm_shm { 8 char playback[SSS]; 7 char playback[SSS]; 9 char capture0x8[SSS]; 8 char capture0x8[SSS]; 10 char capture0xA[SSS]; 9 char capture0xA[SSS]; 11 volatile int playback_iso_head; 10 volatile int playback_iso_head; 12 int playback_iso_start; 11 int playback_iso_start; 13 struct { 12 struct { 14 int frame, 13 int frame, 15 offset, 14 offset, 16 length; 15 length; 17 } captured_iso[128]; 16 } captured_iso[128]; 18 volatile int captured_iso_head; 17 volatile int captured_iso_head; 19 volatile unsigned captured_iso_frames; 18 volatile unsigned captured_iso_frames; 20 int capture_iso_start; 19 int capture_iso_start; 21 }; 20 }; 22 21 23 int usx2y_hwdep_pcm_new(struct snd_card *card) !! 22 int usX2Y_hwdep_pcm_new(struct snd_card *card); 24 23
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.