Searched refs:AD7310_COMMAND (Results 1 – 1 of 1) sorted by relevance
40 #define AD7310_COMMAND(reg) (adt7310_reg_table[(reg)] << ADT7310_CMD_REG_OFFSET) macro47 ret = spi_w8r16(spi, AD7310_COMMAND(reg) | ADT7310_CMD_READ); in adt7310_spi_read_word()59 buf[0] = AD7310_COMMAND(reg); in adt7310_spi_write_word()69 return spi_w8r8(spi, AD7310_COMMAND(reg) | ADT7310_CMD_READ); in adt7310_spi_read_byte()78 buf[0] = AD7310_COMMAND(reg); in adt7310_spi_write_byte()