'\" t .\" Title: mpt_host_page_access_control .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "MPT_HOST_PAGE_ACCESS" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Message-based devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" mpt_host_page_access_control \- control the IOC\*(Aqs Host Page Buffer access .SH "SYNOPSIS" .HP \w'int\ mpt_host_page_access_control('u .BI "int mpt_host_page_access_control(MPT_ADAPTER\ *\ " "ioc" ", u8\ " "access_control_value" ", int\ " "sleepFlag" ");" .SH "ARGUMENTS" .PP \fIioc\fR .RS 4 Pointer to MPT adapter structure .RE .PP \fIaccess_control_value\fR .RS 4 define bits below .RE .PP \fIsleepFlag\fR .RS 4 Specifies whether the process can sleep .RE .SH "DESCRIPTION" .PP Provides mechanism for the host driver to control the IOC\*(Aqs Host Page Buffer access\&. .PP Access Control Value \- bits[15:12] 0h Reserved 1h Enable Access { MPI_DB_HPBAC_ENABLE_ACCESS } 2h Disable Access { MPI_DB_HPBAC_DISABLE_ACCESS } 3h Free Buffer { MPI_DB_HPBAC_FREE_BUFFER } .PP Returns 0 for success, non\-zero for failure\&. .SH "COPYRIGHT" .br