Searched refs:sis96x_write (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/i2c/busses/
H A Di2c-sis96x.c79 static inline void sis96x_write(u8 reg, u8 data) sis96x_write() function
102 sis96x_write(SMB_HOST_CNT, 0x20); sis96x_transaction()
114 sis96x_write(SMB_CNT, 0x20); sis96x_transaction()
118 sis96x_write(SMB_STS, temp & 0x1e); sis96x_transaction()
121 sis96x_write(SMB_HOST_CNT, 0x10 | (size & 0x07)); sis96x_transaction()
148 sis96x_write(SMB_STS, temp); sis96x_transaction()
166 sis96x_write(SMB_ADDR, ((addr & 0x7f) << 1) | (read_write & 0x01)); sis96x_access()
171 sis96x_write(SMB_ADDR, ((addr & 0x7f) << 1) | (read_write & 0x01)); sis96x_access()
173 sis96x_write(SMB_CMD, command); sis96x_access()
178 sis96x_write(SMB_ADDR, ((addr & 0x7f) << 1) | (read_write & 0x01)); sis96x_access()
179 sis96x_write(SMB_CMD, command); sis96x_access()
181 sis96x_write(SMB_BYTE, data->byte); sis96x_access()
187 sis96x_write(SMB_ADDR, ((addr & 0x7f) << 1) | (read_write & 0x01)); sis96x_access()
188 sis96x_write(SMB_CMD, command); sis96x_access()
190 sis96x_write(SMB_BYTE, data->word & 0xff); sis96x_access()
191 sis96x_write(SMB_BYTE + 1, (data->word & 0xff00) >> 8); sis96x_access()

Completed in 38 milliseconds