struct_i2c_board_info man page on Scientific

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

STRUCT I2C_BOARD_INF(9)	    I2C and SMBus Subsystem    STRUCT I2C_BOARD_INF(9)

NAME
       struct_i2c_board_info - template for device creation

SYNOPSIS
       struct i2c_board_info {
	 char type[I2C_NAME_SIZE];
	 unsigned short flags;
	 unsigned short addr;
	 void * platform_data;
	 struct dev_archdata * archdata;
	 int irq;
       };

MEMBERS
       type[I2C_NAME_SIZE]
	   chip type, to initialize i2c_client.name

       flags
	   to initialize i2c_client.flags

       addr
	   stored in i2c_client.addr

       platform_data
	   stored in i2c_client.dev.platform_data

       archdata
	   copied into i2c_client.dev.archdata

       irq
	   stored in i2c_client.irq

DESCRIPTION
       I2C doesn´t actually support hardware probing, although controllers and
       devices may be able to use I2C_SMBUS_QUICK to tell whether or not
       there´s a device at a given address. Drivers commonly need more
       information than that, such as chip type, configuration, associated
       IRQ, and so on.

       i2c_board_info is used to build tables of information listing I2C
       devices that are present. This information is used to grow the driver
       model tree. For mainboards this is done statically using
       i2c_register_board_info; bus numbers identify adapters that aren´t yet
       available. For add-on boards, i2c_new_device does this dynamically with
       the adapter already known.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013	       STRUCT I2C_BOARD_INF(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