Home
last modified time | relevance | path

Searched refs:SMB_BYTE (Results 1 – 3 of 3) sorted by relevance

/drivers/i2c/busses/
Di2c-sis96x.c55 #define SMB_BYTE 0x08 macro
186 sis96x_write(SMB_BYTE, data->byte); in sis96x_access()
195 sis96x_write(SMB_BYTE, data->word & 0xff); in sis96x_access()
196 sis96x_write(SMB_BYTE + 1, (data->word & 0xff00) >> 8); in sis96x_access()
218 data->byte = sis96x_read(SMB_BYTE); in sis96x_access()
223 data->word = sis96x_read(SMB_BYTE) + in sis96x_access()
224 (sis96x_read(SMB_BYTE + 1) << 8); in sis96x_access()
Di2c-sis630.c63 #define SMB_BYTE 0x08 /* ~0x8F data byte field */ macro
259 sis630_write(SMB_BYTE + (i - 1) % 8, data->block[i]); in sis630_block_data()
318 data->block[len + 1] = sis630_read(SMB_BYTE + in sis630_block_data()
360 sis630_write(SMB_BYTE, data->byte); in sis630_access()
369 sis630_write(SMB_BYTE, data->word & 0xff); in sis630_access()
370 sis630_write(SMB_BYTE + 1, (data->word & 0xff00) >> 8); in sis630_access()
398 data->byte = sis630_read(SMB_BYTE); in sis630_access()
402 data->word = sis630_read(SMB_BYTE) + in sis630_access()
403 (sis630_read(SMB_BYTE + 1) << 8); in sis630_access()
Di2c-sis5595.c98 #define SMB_BYTE 0x08 macro
311 sis5595_write(SMB_BYTE, data->byte); in sis5595_access()
319 sis5595_write(SMB_BYTE, data->word & 0xff); in sis5595_access()
320 sis5595_write(SMB_BYTE + 1, in sis5595_access()
344 data->byte = sis5595_read(SMB_BYTE); in sis5595_access()
348 data->word = sis5595_read(SMB_BYTE) + (sis5595_read(SMB_BYTE + 1) << 8); in sis5595_access()