i2c_add_adapter(9) centos man page | unix.com

Man Page: i2c_add_adapter

Operating Environment: centos

Section: 9

I2C_ADD_ADAPTER(9)					      I2C and SMBus Subsystem						I2C_ADD_ADAPTER(9)

NAME
i2c_add_adapter - declare i2c adapter, use dynamic bus number
SYNOPSIS
int i2c_add_adapter(struct i2c_adapter * adapter);
ARGUMENTS
adapter the adapter to add
CONTEXT
can sleep
DESCRIPTION
This routine is used to declare an I2C adapter when its bus number doesn't matter or when its bus number is specified by an dt alias. Examples of bases when the bus number doesn't matter: I2C adapters dynamically added by USB links or PCI plugin cards. When this returns zero, a new bus number was allocated and stored in adap->nr, and the specified adapter became available for clients. Otherwise, a negative errno value is returned.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 I2C_ADD_ADAPTER(9)
Related Man Pages
i2c_add_numbered_adapter(9) - centos
i2c_register_board_info(9) - centos
i2c_register_board_info(9) - suse
struct_i2c_board_info(9) - suse
smbus(7d) - opensolaris
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
Unsure why access time on a directory change isn't changing
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!