Query: spi_register_board_info
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SPI_REGISTER_BOARD_I(9) Serial Peripheral Interface (S SPI_REGISTER_BOARD_I(9)NAMEspi_register_board_info - register SPI devices for a given boardSYNOPSISint spi_register_board_info(struct spi_board_info const * info, unsigned n);ARGUMENTSinfo array of chip descriptors n how many descriptors are providedCONTEXTcan sleepDESCRIPTIONBoard-specific early init code calls this (probably during arch_initcall) with segments of the SPI device table. Any device nodes are created later, after the relevant parent SPI controller (bus_num) is defined. We keep this table of devices forever, so that reloading a controller driver will not make Linux forget about these hard-wired devices. Other code can also call this, e.g. a particular add-on board might provide SPI devices through its expansion connector, so code initializing that board would naturally declare its SPI devices. The board info passed can safely be __initdata ... but be careful of any embedded pointers (platform_data, etc), they're copied as-is.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SPI_REGISTER_BOARD_I(9)
Related Man Pages |
---|
spi_async(9) - suse |
spi_async(9) - centos |
struct_spi_driver(9) - centos |
i2c_register_board_info(9) - centos |
struct_spi_driver(9) - suse |
Similar Topics in the Unix Linux Community |
---|
Weird 'find' results |
How to increment version inside a file? |
DB2 convert digits to binary format |
CentOS7 restoring file capabilities |
Unsure why access time on a directory change isn't changing |