Lines Matching refs:command

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()
380 pch_reg_write(dev, PCH_SMBUS_HCMD, command); 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()
436 pch_reg_write(dev, PCH_SMBUS_HCMD, command); in pch_smbus_start()
500 uint8_t command) in pch_smbus_byte_write() argument
505 LOG_DBG("dev %p addr 0x%02x command 0x%02x", dev, periph_addr, command); in pch_smbus_byte_write()
509 ret = pch_smbus_start(dev, periph_addr, SMBUS_MSG_WRITE, command, NULL, in pch_smbus_byte_write()
572 uint8_t command, uint8_t byte) in pch_smbus_byte_data_write() argument
577 LOG_DBG("dev %p addr 0x%02x command 0x%02x", dev, periph_addr, command); in pch_smbus_byte_data_write()
581 ret = pch_smbus_start(dev, periph_addr, SMBUS_MSG_WRITE, command, in pch_smbus_byte_data_write()
606 uint8_t command, uint8_t *byte) in pch_smbus_byte_data_read() argument
611 LOG_DBG("dev %p addr 0x%02x command 0x%02x", dev, periph_addr, command); in pch_smbus_byte_data_read()
615 ret = pch_smbus_start(dev, periph_addr, SMBUS_MSG_READ, command, in pch_smbus_byte_data_read()
645 uint8_t command, uint16_t word) in pch_smbus_word_data_write() argument
650 LOG_DBG("dev %p addr 0x%02x command 0x%02x", dev, periph_addr, command); in pch_smbus_word_data_write()
654 ret = pch_smbus_start(dev, periph_addr, SMBUS_MSG_WRITE, command, in pch_smbus_word_data_write()
679 uint8_t command, uint16_t *word) in pch_smbus_word_data_read() argument
685 LOG_DBG("dev %p addr 0x%02x command 0x%02x", dev, periph_addr, command); in pch_smbus_word_data_read()
689 ret = pch_smbus_start(dev, periph_addr, SMBUS_MSG_READ, command, in pch_smbus_word_data_read()
719 uint16_t periph_addr, uint8_t command, in pch_smbus_pcall() argument
726 LOG_DBG("dev %p addr 0x%02x command 0x%02x", dev, periph_addr, command); in pch_smbus_pcall()
730 ret = pch_smbus_start(dev, periph_addr, SMBUS_MSG_WRITE, command, in pch_smbus_pcall()
760 uint8_t command, uint8_t count, uint8_t *buf) in pch_smbus_block_write() argument
766 dev, periph_addr, command, count); in pch_smbus_block_write()
770 ret = pch_smbus_block_start(dev, periph_addr, SMBUS_MSG_WRITE, command, in pch_smbus_block_write()
794 uint8_t command, uint8_t *count, uint8_t *buf) in pch_smbus_block_read() argument
800 dev, periph_addr, command); in pch_smbus_block_read()
804 ret = pch_smbus_block_start(dev, periph_addr, SMBUS_MSG_READ, command, in pch_smbus_block_read()
841 uint16_t periph_addr, uint8_t command, in pch_smbus_block_pcall() argument
849 dev, periph_addr, command); in pch_smbus_block_pcall()
853 ret = pch_smbus_block_start(dev, periph_addr, SMBUS_MSG_WRITE, command, in pch_smbus_block_pcall()