spi_new_device(9) centos man page | unix.com

Man Page: spi_new_device

Operating Environment: centos

Section: 9

SPI_NEW_DEVICE(9)					  Serial Peripheral Interface (S					 SPI_NEW_DEVICE(9)

NAME
spi_new_device - instantiate one new SPI device
SYNOPSIS
struct spi_device * spi_new_device(struct spi_master * master, struct spi_board_info * chip);
ARGUMENTS
master Controller to which device is connected chip Describes the SPI device
CONTEXT
can sleep
DESCRIPTION
On typical mainboards, this is purely internal; and it's not needed after board init creates the hard-wired devices. Some development platforms may not be able to use spi_register_board_info though, and this is exported so that for example a USB or parport based adapter driver could add devices (which it would learn about out-of-band). Returns the new device, or NULL.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SPI_NEW_DEVICE(9)
Related Man Pages
spi_async(9) - centos
spi_async_locked(9) - centos
struct_spi_board_info(9) - centos
spi(4) - netbsd
struct_spi_message(9) - suse
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
DB2 convert digits to binary format
Shopt -s histappend
Unsure why access time on a directory change isn't changing
[TIP] Processing YAML files with yq