Lines Matching full:rw
366 uint8_t rw, uint8_t command, uint8_t count, in pch_smbus_block_start() argument
372 LOG_DBG("addr %x rw %d command %x", periph_addr, rw, command); in pch_smbus_block_start()
376 reg |= rw & SMBUS_MSG_RW_MASK; in pch_smbus_block_start()
394 if (rw == SMBUS_MSG_WRITE) { in pch_smbus_block_start()
420 enum smbus_direction rw, uint8_t command, in pch_smbus_start() argument
426 LOG_DBG("addr 0x%02x rw %d command %x", periph_addr, rw, command); in pch_smbus_start()
430 reg |= rw & SMBUS_MSG_RW_MASK; in pch_smbus_start()
439 if (rw == SMBUS_MSG_WRITE && protocol != SMBUS_CMD_BYTE) { in pch_smbus_start()
468 enum smbus_direction rw) in pch_smbus_quick() argument
473 LOG_DBG("dev %p addr 0x%02x direction %x", dev, periph_addr, rw); in pch_smbus_quick()
477 ret = pch_smbus_start(dev, periph_addr, rw, 0, NULL, SMBUS_CMD_QUICK); in pch_smbus_quick()