Lines Matching refs:saddr
237 uint16_t saddr = data->slave_address; in handle_sb() local
241 slave = (((saddr & 0x0300) >> 7) & 0xFF); in handle_sb()
254 slave = (saddr << 1) & 0xFF; in handle_sb()
643 uint8_t *next_msg_flags, uint16_t saddr) in stm32_i2c_msg_write() argument
647 msg_init(dev, msg, next_msg_flags, saddr, I2C_REQUEST_WRITE); in stm32_i2c_msg_write()
662 uint8_t *next_msg_flags, uint16_t saddr) in stm32_i2c_msg_read() argument
668 msg_init(dev, msg, next_msg_flags, saddr, I2C_REQUEST_READ); in stm32_i2c_msg_read()
736 uint8_t *next_msg_flags, uint16_t saddr) in stm32_i2c_msg_write() argument
746 msg_init(dev, msg, next_msg_flags, saddr, I2C_REQUEST_WRITE); in stm32_i2c_msg_write()
759 uint8_t slave = (((saddr & 0x0300) >> 7) & 0xFF); in stm32_i2c_msg_write()
775 uint8_t slave = (saddr << 1) & 0xFF; in stm32_i2c_msg_write()
834 uint8_t *next_msg_flags, uint16_t saddr) in stm32_i2c_msg_read() argument
844 msg_init(dev, msg, next_msg_flags, saddr, I2C_REQUEST_READ); in stm32_i2c_msg_read()
857 uint8_t slave = (((saddr & 0x0300) >> 7) & 0xFF); in stm32_i2c_msg_read()
870 slave = saddr & 0xFF; in stm32_i2c_msg_read()
895 uint8_t slave = ((saddr) << 1) & 0xFF; in stm32_i2c_msg_read()