Lines Matching defs:flags
60 int i2c_transfer_buffer_flags(const struct i2c_client *client, char *buf, int count, u16 flags);
127 s32 i2c_smbus_xfer(struct i2c_adapter *adapter, u16 addr, unsigned short flags, char read_write, u8 command,
131 s32 __i2c_smbus_xfer(struct i2c_adapter *adapter, u16 addr, unsigned short flags, char read_write, u8 command,
220 * handed upon successful detection, and possibly also the flags field.
274 * @flags: see I2C_CLIENT_* for possible flags
292 unsigned short flags; /* div., see below */
366 * @flags: to initialize i2c_client.flags
390 unsigned short flags;
469 * @functionality: Return the flags that this algorithm/adapter pair supports
470 * from the ``I2C_FUNC_*`` flags.
495 int (*smbus_xfer)(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size,
497 int (*smbus_xfer_atomic)(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command,
518 void (*lock_bus)(struct i2c_adapter *adapter, unsigned int flags);
519 int (*trylock_bus)(struct i2c_adapter *adapter, unsigned int flags);
520 void (*unlock_bus)(struct i2c_adapter *adapter, unsigned int flags);
605 * @flags: see I2C_AQ_* for possible flags and read below
625 u64 flags;
720 * @flags: I2C_LOCK_ROOT_ADAPTER locks the root i2c adapter, I2C_LOCK_SEGMENT
723 static inline void i2c_lock_bus(struct i2c_adapter *adapter, unsigned int flags)
725 adapter->lock_ops->lock_bus(adapter, flags);
731 * @flags: I2C_LOCK_ROOT_ADAPTER tries to locks the root i2c adapter,
736 static inline int i2c_trylock_bus(struct i2c_adapter *adapter, unsigned int flags)
738 return adapter->lock_ops->trylock_bus(adapter, flags);
744 * @flags: I2C_LOCK_ROOT_ADAPTER unlocks the root i2c adapter, I2C_LOCK_SEGMENT
747 static inline void i2c_unlock_bus(struct i2c_adapter *adapter, unsigned int flags)
749 adapter->lock_ops->unlock_bus(adapter, flags);
840 * i2c_check_quirks() - Function for checking the quirk flags in an i2c adapter
842 * @quirks: quirk flags
844 * Return: true if the adapter has all the specified quirk flags, false if not
851 return (adap->quirks->flags & quirks) == quirks;
862 return (msg->addr << 1) | (msg->flags & I2C_M_RD ? 1 : 0);