Lines Matching defs:byte
30 * PER_I2C/BSC count register mask depends on 1 byte/4 byte data register
31 * size. Cable modem and DSL SoCs with Peripheral i2c cores use 1 byte per
32 * data register whereas STB SoCs use 4 byte per data register transfer,
338 int cnt, byte, i, rc;
373 for (byte = 0; byte < data_regsz; byte++) {
375 if ((cnt + byte) < len)
376 word |= buf[cnt + byte] <<
396 for (byte = 0; byte < data_regsz &&
397 (byte + cnt) < len; byte++) {
398 buf[cnt + byte] = data & 0xff;
407 /* Write a single byte of data to the i2c bus */
426 /* First byte is 11110XX0 where XX is upper 2 bits */
430 /* Second byte is the remaining 8 bits */
439 /* Then re-send the first byte with the read bit set */
573 /* set 4 byte data in/out xfers */