Searched refs:SMB_BYTE (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-sis96x.c | 42 #define SMB_BYTE 0x08 macro 173 sis96x_write(SMB_BYTE, data->byte); in sis96x_access() 182 sis96x_write(SMB_BYTE, data->word & 0xff); in sis96x_access() 183 sis96x_write(SMB_BYTE + 1, (data->word & 0xff00) >> 8); in sis96x_access() 205 data->byte = sis96x_read(SMB_BYTE); in sis96x_access() 210 data->word = sis96x_read(SMB_BYTE) + in sis96x_access() 211 (sis96x_read(SMB_BYTE + 1) << 8); in sis96x_access()
|
D | i2c-sis630.c | 50 #define SMB_BYTE 0x08 /* ~0x8F data byte field */ macro 246 sis630_write(SMB_BYTE + (i - 1) % 8, data->block[i]); in sis630_block_data() 305 data->block[len + 1] = sis630_read(SMB_BYTE + in sis630_block_data() 347 sis630_write(SMB_BYTE, data->byte); in sis630_access() 356 sis630_write(SMB_BYTE, data->word & 0xff); in sis630_access() 357 sis630_write(SMB_BYTE + 1, (data->word & 0xff00) >> 8); in sis630_access() 385 data->byte = sis630_read(SMB_BYTE); in sis630_access() 389 data->word = sis630_read(SMB_BYTE) + in sis630_access() 390 (sis630_read(SMB_BYTE + 1) << 8); in sis630_access()
|
D | i2c-sis5595.c | 86 #define SMB_BYTE 0x08 macro 299 sis5595_write(SMB_BYTE, data->byte); in sis5595_access() 307 sis5595_write(SMB_BYTE, data->word & 0xff); in sis5595_access() 308 sis5595_write(SMB_BYTE + 1, in sis5595_access() 332 data->byte = sis5595_read(SMB_BYTE); in sis5595_access() 336 data->word = sis5595_read(SMB_BYTE) + (sis5595_read(SMB_BYTE + 1) << 8); in sis5595_access()
|