Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
099a47a2
Commit
099a47a2
authored
Jun 03, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Jun 03, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse: rme9652 annotation
Annotated driver and ioctl structure used by it.
parent
2996867d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
45 deletions
+44
-45
include/sound/hdsp.h
include/sound/hdsp.h
+1
-1
sound/pci/rme9652/hdsp.c
sound/pci/rme9652/hdsp.c
+41
-42
sound/pci/rme9652/rme9652.c
sound/pci/rme9652/rme9652.c
+2
-2
No files found.
include/sound/hdsp.h
View file @
099a47a2
...
@@ -76,7 +76,7 @@ struct _snd_hdsp_config_info {
...
@@ -76,7 +76,7 @@ struct _snd_hdsp_config_info {
typedef
struct
_snd_hdsp_firmware
hdsp_firmware_t
;
typedef
struct
_snd_hdsp_firmware
hdsp_firmware_t
;
struct
_snd_hdsp_firmware
{
struct
_snd_hdsp_firmware
{
unsigned
long
*
firmware_data
;
/* 24413 long words */
unsigned
long
__user
*
firmware_data
;
/* 24413 long words */
};
};
#define SNDRV_HDSP_IOCTL_UPLOAD_FIRMWARE _IOW('H', 0x42, hdsp_firmware_t)
#define SNDRV_HDSP_IOCTL_UPLOAD_FIRMWARE _IOW('H', 0x42, hdsp_firmware_t)
...
...
sound/pci/rme9652/hdsp.c
View file @
099a47a2
This diff is collapsed.
Click to expand it.
sound/pci/rme9652/rme9652.c
View file @
099a47a2
...
@@ -2011,7 +2011,7 @@ static char *rme9652_channel_buffer_location(rme9652_t *rme9652,
...
@@ -2011,7 +2011,7 @@ static char *rme9652_channel_buffer_location(rme9652_t *rme9652,
}
}
static
int
snd_rme9652_playback_copy
(
snd_pcm_substream_t
*
substream
,
int
channel
,
static
int
snd_rme9652_playback_copy
(
snd_pcm_substream_t
*
substream
,
int
channel
,
snd_pcm_uframes_t
pos
,
void
*
src
,
snd_pcm_uframes_t
count
)
snd_pcm_uframes_t
pos
,
void
__user
*
src
,
snd_pcm_uframes_t
count
)
{
{
rme9652_t
*
rme9652
=
_snd_pcm_substream_chip
(
substream
);
rme9652_t
*
rme9652
=
_snd_pcm_substream_chip
(
substream
);
char
*
channel_buf
;
char
*
channel_buf
;
...
@@ -2028,7 +2028,7 @@ static int snd_rme9652_playback_copy(snd_pcm_substream_t *substream, int channel
...
@@ -2028,7 +2028,7 @@ static int snd_rme9652_playback_copy(snd_pcm_substream_t *substream, int channel
}
}
static
int
snd_rme9652_capture_copy
(
snd_pcm_substream_t
*
substream
,
int
channel
,
static
int
snd_rme9652_capture_copy
(
snd_pcm_substream_t
*
substream
,
int
channel
,
snd_pcm_uframes_t
pos
,
void
*
dst
,
snd_pcm_uframes_t
count
)
snd_pcm_uframes_t
pos
,
void
__user
*
dst
,
snd_pcm_uframes_t
count
)
{
{
rme9652_t
*
rme9652
=
_snd_pcm_substream_chip
(
substream
);
rme9652_t
*
rme9652
=
_snd_pcm_substream_chip
(
substream
);
char
*
channel_buf
;
char
*
channel_buf
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment