Searched refs:SMB_BYTE (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/i2c/busses/ |
D | i2c-sis96x.c | 55 #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()
|
D | i2c-sis630.c | 67 #define SMB_BYTE 0x88 /* ~0x8F data byte field */ macro 247 sis630_write(SMB_BYTE+(i-1)%8, data->block[i]); in sis630_block_data() 301 data->block[len+1] = sis630_read(SMB_BYTE+i); in sis630_block_data() 338 sis630_write(SMB_BYTE, data->byte); in sis630_access() 346 sis630_write(SMB_BYTE, data->word & 0xff); in sis630_access() 347 sis630_write(SMB_BYTE + 1,(data->word & 0xff00) >> 8); in sis630_access() 374 data->byte = sis630_read(SMB_BYTE); in sis630_access() 378 data->word = sis630_read(SMB_BYTE) + (sis630_read(SMB_BYTE + 1) << 8); in sis630_access()
|
D | i2c-sis5595.c | 98 #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()
|