Lines Matching defs:byte
19 * PER_I2C/BSC count register mask depends on 1 byte/4 byte data register
20 * size. Cable modem and DSL SoCs with Peripheral i2c cores use 1 byte per
21 * data register whereas STB SoCs use 4 byte per data register transfer,
328 int cnt, byte, i, rc;
363 for (byte = 0; byte < data_regsz; byte++) {
365 if ((cnt + byte) < len)
366 word |= buf[cnt + byte] <<
386 for (byte = 0; byte < data_regsz &&
387 (byte + cnt) < len; byte++) {
388 buf[cnt + byte] = data & 0xff;
397 /* Write a single byte of data to the i2c bus */
416 /* First byte is 11110XX0 where XX is upper 2 bits */
420 /* Second byte is the remaining 8 bits */
429 /* Then re-send the first byte with the read bit set */
581 /* set 4 byte data in/out xfers */