.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "OCP_FOR_EACH_DEVICE" "9" "09 October 2005" "" ""
.SH NAME
ocp_for_each_device \- Iterate over OCP devices
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void ocp_for_each_device (void(*\fIcallback\fB)
struct ocp_device *, void *arg, void * \fIarg\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcallback\fB\fR
routine to execute for each ocp device.
.TP
\fB\fIarg\fB\fR
user data to be passed to callback routine.
.SH "DESCRIPTION"
.PP
This routine holds the ocp_device semaphore, so the
callback routine cannot modify the ocp_device list.