Query: spi_bus_lock
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SPI_BUS_LOCK(9) Serial Peripheral Interface (S SPI_BUS_LOCK(9)NAMEspi_bus_lock - obtain a lock for exclusive SPI bus usageSYNOPSISint spi_bus_lock(struct spi_master * master);ARGUMENTSmaster SPI bus master that should be locked for exclusive bus accessCONTEXTcan sleepDESCRIPTIONThis 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.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SPI_BUS_LOCK(9)
Related Man Pages |
---|
struct_spi_driver(9) - centos |
i2c_add_numbered_adapter(9) - centos |
struct_spi_device(9) - suse |
struct_spi_master(9) - suse |
struct_spi_message(9) - suse |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Set hard block limit for user using quota |
CentOS7 restoring file capabilities |
CentOS 6 ran out of space, need to reclaim it |
[TIP] Processing YAML files with yq |