spi_bus_lock man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

SPI_BUS_LOCK(9)		Serial Peripheral Interface (S	       SPI_BUS_LOCK(9)

NAME
       spi_bus_lock - obtain a lock for exclusive SPI bus usage

SYNOPSIS
       int spi_bus_lock(struct spi_master * master);

ARGUMENTS
       master
	   SPI bus master that should be locked for exclusive bus access

CONTEXT
       can sleep

DESCRIPTION
       This call may only be used from a context that may sleep. The sleep is
       non-interruptible, and has no timeout.

       This call should be used by drivers that require exclusive access to
       the SPI bus. The SPI bus must be released by a spi_bus_unlock call when
       the exclusive access is over. Data transfer must be done by
       spi_sync_locked and spi_async_locked calls when the SPI bus lock is
       held.

       It returns zero on success, else a negative error code.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		       SPI_BUS_LOCK(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net