Lines Matching refs:bytecnt
113 * @bytecnt: Byte count of operation
118 u8 bytecnt;
156 * @CCODE_BLOCK: Supplied data has variable length passed in bytecnt
266 for (idx = 0; idx < seq->bytecnt; idx++) {
271 if (idx == seq->bytecnt - 1)
298 for (idx = 0; idx < seq->bytecnt; idx++) {
303 if (idx == seq->bytecnt - 1)
331 evencnt = seq->bytecnt - (seq->bytecnt % 2);
350 if (seq->bytecnt != evencnt) {
380 evencnt = seq->bytecnt - (seq->bytecnt % 2);
400 if (seq->bytecnt != evencnt) {
429 if (seq->bytecnt > I2C_SMBUS_BLOCK_MAX)
436 return idt_smb_safe(write_block, pdev->client, ccode, seq->bytecnt,
453 if (seq->bytecnt > I2C_SMBUS_BLOCK_MAX)
461 if (sts != seq->bytecnt)
482 if (seq->bytecnt > I2C_SMBUS_BLOCK_MAX)
486 buf[0] = seq->bytecnt;
487 memcpy(&buf[1], seq->data, seq->bytecnt);
494 seq->bytecnt + 1, buf);
513 if (seq->bytecnt > I2C_SMBUS_BLOCK_MAX)
521 seq->bytecnt + 1, buf);
522 if (sts != seq->bytecnt + 1)
524 if (buf[0] != seq->bytecnt)
528 memcpy(seq->data, &buf[1], seq->bytecnt);
563 smbseq.bytecnt = EEPROM_WRRD_CNT;
575 smbseq.bytecnt = EEPROM_RD_CNT;
635 smbseq.bytecnt = EEPROM_WR_CNT;
734 smbseq.bytecnt = CSR_WR_CNT;
746 smbseq.bytecnt = CSR_WRRD_CNT;
756 smbseq.bytecnt = CSR_RD_CNT;
799 smbseq.bytecnt = CSR_WRRD_CNT;
810 smbseq.bytecnt = CSR_RD_CNT;