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
2b7485b4
Commit
2b7485b4
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: vx annotation
Both PCI and PCMCIA variants of driver annotated
parent
7606f3c8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
include/sound/vx_core.h
include/sound/vx_core.h
+2
-2
sound/pci/vx222/vx222_ops.c
sound/pci/vx222/vx222_ops.c
+2
-1
sound/pcmcia/vx/vxp_ops.c
sound/pcmcia/vx/vxp_ops.c
+2
-1
No files found.
include/sound/vx_core.h
View file @
2b7485b4
...
...
@@ -254,13 +254,13 @@ inline static unsigned int snd_vx_inl(vx_core_t *chip, int reg)
inline
static
void
snd_vx_outb
(
vx_core_t
*
chip
,
int
reg
,
unsigned
char
val
)
{
snd_assert
(
chip
->
ops
->
out8
,
return
);
return
chip
->
ops
->
out8
(
chip
,
reg
,
val
);
chip
->
ops
->
out8
(
chip
,
reg
,
val
);
}
inline
static
void
snd_vx_outl
(
vx_core_t
*
chip
,
int
reg
,
unsigned
int
val
)
{
snd_assert
(
chip
->
ops
->
out32
,
return
);
return
chip
->
ops
->
out32
(
chip
,
reg
,
val
);
chip
->
ops
->
out32
(
chip
,
reg
,
val
);
}
#define vx_inb(chip,reg) snd_vx_inb(chip, VX_##reg)
...
...
sound/pci/vx222/vx222_ops.c
View file @
2b7485b4
...
...
@@ -357,7 +357,8 @@ static int vx2_load_xilinx_binary(vx_core_t *chip, const snd_hwdep_dsp_image_t *
{
unsigned
int
i
;
unsigned
int
port
;
unsigned
char
*
image
,
data
;
unsigned
char
data
;
unsigned
char
__user
*
image
;
/* XILINX reset (wait at least 1 milisecond between reset on and off). */
vx_outl
(
chip
,
CNTRL
,
VX_CNTRL_REGISTER_VALUE
|
VX_XILINX_RESET_MASK
);
...
...
sound/pcmcia/vx/vxp_ops.c
View file @
2b7485b4
...
...
@@ -152,7 +152,8 @@ static int vxp_load_xilinx_binary(vx_core_t *_chip, const snd_hwdep_dsp_image_t
unsigned
int
i
;
int
c
;
int
regCSUER
,
regRUER
;
unsigned
char
*
image
,
data
;
unsigned
char
__user
*
image
;
unsigned
char
data
;
/* Switch to programmation mode */
chip
->
regDIALOG
|=
VXP_DLG_XILINX_REPROG_MASK
;
...
...
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