Lines Matching refs:slave
148 uint8_t *next_msg_flags, uint16_t slave, in msg_init() argument
173 data->slave_address = slave; in msg_init()
238 uint8_t slave; in handle_sb() local
241 slave = (((saddr & 0x0300) >> 7) & 0xFF); in handle_sb()
242 uint8_t header = slave | HEADER; in handle_sb()
254 slave = (saddr << 1) & 0xFF; in handle_sb()
256 LL_I2C_TransmitData8(i2c, slave | I2C_REQUEST_WRITE); in handle_sb()
258 LL_I2C_TransmitData8(i2c, slave | I2C_REQUEST_READ); in handle_sb()
759 uint8_t slave = (((saddr & 0x0300) >> 7) & 0xFF); in stm32_i2c_msg_write() local
760 uint8_t header = slave | HEADER; in stm32_i2c_msg_write()
772 slave = data->slave_address & 0xFF; in stm32_i2c_msg_write()
773 LL_I2C_TransmitData8(i2c, slave); in stm32_i2c_msg_write()
775 uint8_t slave = (saddr << 1) & 0xFF; in stm32_i2c_msg_write() local
777 LL_I2C_TransmitData8(i2c, slave | I2C_REQUEST_WRITE); in stm32_i2c_msg_write()
857 uint8_t slave = (((saddr & 0x0300) >> 7) & 0xFF); in stm32_i2c_msg_read() local
858 uint8_t header = slave | HEADER; in stm32_i2c_msg_read()
870 slave = saddr & 0xFF; in stm32_i2c_msg_read()
871 LL_I2C_TransmitData8(i2c, slave); in stm32_i2c_msg_read()
895 uint8_t slave = ((saddr) << 1) & 0xFF; in stm32_i2c_msg_read() local
897 LL_I2C_TransmitData8(i2c, slave | I2C_REQUEST_READ); in stm32_i2c_msg_read()