spi_register_master man page on Scientific

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

SPI_REGISTER_MASTER(9)	Serial Peripheral Interface (S	SPI_REGISTER_MASTER(9)

NAME
       spi_register_master - register SPI master controller

SYNOPSIS
       int spi_register_master(struct spi_master * master);

ARGUMENTS
       master
	   initialized master, originally from spi_alloc_master

CONTEXT
       can sleep

DESCRIPTION
       SPI master controllers connect to their drivers using some non-SPI bus,
       such as the platform bus. The final stage of probe in that code
       includes calling spi_register_master to hook up to this SPI bus glue.

       SPI controllers use board specific (often SOC specific) bus numbers,
       and board-specific addressing for SPI devices combines those numbers
       with chip select numbers. Since SPI does not directly support dynamic
       device identification, boards need configuration tables telling which
       chip is at which address.

       This must be called from context that can sleep. It returns zero on
       success, else a negative error code (dropping the masterĀ“s refcount).
       After a successful return, the caller is responsible for calling
       spi_unregister_master.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		SPI_REGISTER_MASTER(9)
[top]

List of man pages available for Scientific

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