函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\i2c.h Create Date:2022-07-27 09:47:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:2c_lock_bus - Get exclusive access to an I2C bus segment*@adapter: Target I2C bus segment*@flags: I2C_LOCK_ROOT_ADAPTER locks the root i2c adapter, I2C_LOCK_SEGMENT* locks only this branch in the adapter tree

函数原型:static inline void i2c_lock_bus(struct i2c_adapter *adapter, unsigned int flags)

返回类型:void

参数:

类型参数名称
struct i2c_adapter *adapter
unsigned intflags
762  lock_bus(adapter, flags)
调用者
名称描述
i2c_mark_adapter_suspended2c_mark_adapter_suspended - Report suspended state of the adapter to the core*@adap: Adapter to mark as suspended* When using this helper to mark an adapter as suspended, the core will reject* further transfers to this adapter
i2c_mark_adapter_resumed2c_mark_adapter_resumed - Report resumed state of the adapter to the core*@adap: Adapter to mark as resumed* When using this helper to mark an adapter as resumed, the core will allow* further transfers to this adapter. See also further notes to