Lines Matching refs:transferlen
418 u8 transferlen, unsigned char *buf) in pci1xxxx_i2c_buffer_write() argument
426 memcpy_toio(p, buf, transferlen); in pci1xxxx_i2c_buffer_write()
786 u8 transferlen; in pci1xxxx_i2c_read() local
807 for (count = 0; count < total_len; count += transferlen) { in pci1xxxx_i2c_read()
815 transferlen = min_t(u16, remainingbytes, SMBUS_BUF_MAX_SIZE); in pci1xxxx_i2c_read()
826 if ((count + transferlen >= total_len) && in pci1xxxx_i2c_read()
843 pci1xxxx_i2c_set_count(i2c, 1, 1, transferlen); in pci1xxxx_i2c_read()
853 pci1xxxx_i2c_set_count(i2c, 0, 0, transferlen); in pci1xxxx_i2c_read()
887 memcpy_fromio(&buf[count], p3, transferlen); in pci1xxxx_i2c_read()
907 u8 transferlen; in pci1xxxx_i2c_write() local
924 for (count = 0; count < total_len; count += transferlen) { in pci1xxxx_i2c_write()
938 transferlen = min_t(u16, SMBUS_BUF_MAX_SIZE - 1, in pci1xxxx_i2c_write()
941 transferlen, &buf[count]); in pci1xxxx_i2c_write()
946 actualwritelen = transferlen + 1; in pci1xxxx_i2c_write()
948 transferlen = min_t(u16, SMBUS_BUF_MAX_SIZE, remainingbytes); in pci1xxxx_i2c_write()
949 pci1xxxx_i2c_buffer_write(i2c, 0, transferlen, &buf[count]); in pci1xxxx_i2c_write()
950 actualwritelen = transferlen; in pci1xxxx_i2c_write()
959 if (remainingbytes <= transferlen && in pci1xxxx_i2c_write()