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
386c8a8e
Commit
386c8a8e
authored
Aug 30, 2002
by
Peter Wächtler
Committed by
Linus Torvalds
Aug 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] oss/dev_table.h - convert cli to spinlocks
parent
0a4d98b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
sound/oss/dev_table.h
sound/oss/dev_table.h
+8
-5
No files found.
sound/oss/dev_table.h
View file @
386c8a8e
...
...
@@ -15,6 +15,7 @@
#ifndef _DEV_TABLE_H_
#define _DEV_TABLE_H_
#include <linux/spinlock.h>
/*
* Sound card numbers 27 to 999. (1 to 26 are defined in soundcard.h)
* Numbers 1000 to N are reserved for driver's internal use.
...
...
@@ -107,9 +108,11 @@ struct dma_buffparms
/*
* Queue parameters.
*/
int
qlen
;
int
qhead
;
int
qtail
;
int
qlen
;
int
qhead
;
int
qtail
;
spinlock_t
lock
;
int
cfrag
;
/* Current incomplete fragment (write) */
int
nbufs
;
...
...
@@ -205,7 +208,7 @@ struct audio_operations
int
format_mask
;
/* Bitmask for supported audio formats */
void
*
devc
;
/* Driver specific info */
struct
audio_driver
*
d
;
void
*
portc
;
/* Driver spe
s
ific info */
void
*
portc
;
/* Driver spe
c
ific info */
struct
dma_buffparms
*
dmap_in
,
*
dmap_out
;
struct
coproc_operations
*
coproc
;
int
mixer_dev
;
...
...
@@ -292,7 +295,7 @@ struct midi_input_info
{
/* MIDI input scanner variables */
#define MI_MAX 10
int
m_busy
;
volatile
int
m_busy
;
unsigned
char
m_buf
[
MI_MAX
];
unsigned
char
m_prev_status
;
/* For running status */
int
m_ptr
;
...
...
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