Lines Matching refs:write
219 #define MLXBF_I2C_MASTER_CTL_WRITE_BIT BIT(28) /* Control write phase. */
233 #define MLXBF_I2C_MASTER_WRITE_SHIFT 21 /* Control write bytes */
243 /* Maximum bytes to read/write per SMBus transaction. */
284 #define MLXBF_I2C_SLAVE_WRITE_BIT BIT(29) /* Control write enable. */
289 #define MLXBF_I2C_SLAVE_WRITE_BYTES_SHIFT 22 /* Number of bytes to write. */
780 * Note that read and write operations might be handled by a
782 * then write command byte and set the optional SMBus specific
944 * As specified in the standard, the max number of bytes to read/write
946 * read up to 128 bytes and write up to 127 bytes.
955 * to read/write.
1605 * free. So set the enable bit and write the
1800 bool *write)
1806 *write = false;
1824 *write = true;
1896 * So, write the internal address byte first, and then, send the
1926 /* Set the number of bytes to write to master. */
1959 * an external smbus master wants to write data to the BlueField.
1984 * Notify the slave backend that an smbus master wants to write data
2000 * the end of the write transactions.
2016 bool read, write, irq_is_set;
2027 * Handle read/write transaction only. CRmaster and Iarp requests
2030 irq_is_set = mlxbf_i2c_has_coalesce(priv, &read, &write);
2031 if (!irq_is_set || (!read && !write)) {
2095 read ? "read" : "write", addr);
2102 read ? "read" : "write", command, addr);
2109 read ? "read" : "write", command, addr);
2117 read ? "read" : "write", byte_cnt, command, addr);
2125 read ? "read" : "write", byte_cnt, command, addr);