函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:2c_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

函数原型:static inline void i2c_mark_adapter_suspended(struct i2c_adapter *adap)

返回类型:void

参数:

类型参数名称
struct i2c_adapter *adap
803  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
804  设置内存位
805  2c_unlock_bus - Release exclusive access to an I2C bus segment*@adapter: Target I2C bus segment*@flags: I2C_LOCK_ROOT_ADAPTER unlocks the root i2c adapter, I2C_LOCK_SEGMENT* unlocks only this branch in the adapter tree