I2C_REGISTER_BOARD_I - Online Linux Manual Page
Section : 9
Updated : June 2018
Source : Kernel Hackers Manual 2.6.
Note : I2C and SMBus Subsystem
NAMEi2c_register_board_info − statically declare I2C devices
SYNOPSISint i2c_register_board_info(int busnum, struct i2c_board_info const * info, unsigned len);
ARGUMENTSbusnum identifies the bus to which these devices belong info vector of i2c device descriptors len how many descriptors in the vector; may be zero to reserve the specified bus number.
DESCRIPTIONSystems using the Linux I2C driver stack can declare tables of board info while they initialize. This should be done in board−specific init code near arch_initcall time, or equivalent, before any I2C adapter driver is registered. For example, mainboard init code could define several devices, as could the init code for each daughtercard in a board stack. The I2C devices will be created later, after the adapter for the relevant bus has been registered. After that moment, standard driver model tools are used to bind ‟new style” I2C drivers to the devices. The bus number for any device declared using this routine is not available for dynamic allocation. The board info passed can safely be __initdata, but be careful of embedded pointers (for platform_data, functions, etc) since that won´t be copied.
COPYRIGHT
0
Johanes Gumabo
Data Size : 4,947 byte
man-i2c_register_board_info.9Build : 2025-03-22, 13:26 :
Visitor Screen : x
Visitor Counter ( page / site ) : 53 / 4,749,779
Visitor ID : :
Visitor IP : 216.73.216.132 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 20 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.