Lines Matching refs:bytecnt
144 * @bytecnt: Byte count of operation
149 u8 bytecnt;
187 * @CCODE_BLOCK: Supplied data has variable length passed in bytecnt
297 for (idx = 0; idx < seq->bytecnt; idx++) {
302 if (idx == seq->bytecnt - 1)
329 for (idx = 0; idx < seq->bytecnt; idx++) {
334 if (idx == seq->bytecnt - 1)
362 evencnt = seq->bytecnt - (seq->bytecnt % 2);
381 if (seq->bytecnt != evencnt) {
411 evencnt = seq->bytecnt - (seq->bytecnt % 2);
431 if (seq->bytecnt != evencnt) {
460 if (seq->bytecnt > I2C_SMBUS_BLOCK_MAX)
467 return idt_smb_safe(write_block, pdev->client, ccode, seq->bytecnt,
484 if (seq->bytecnt > I2C_SMBUS_BLOCK_MAX)
492 if (sts != seq->bytecnt)
513 if (seq->bytecnt > I2C_SMBUS_BLOCK_MAX)
517 buf[0] = seq->bytecnt;
518 memcpy(&buf[1], seq->data, seq->bytecnt);
525 seq->bytecnt + 1, buf);
544 if (seq->bytecnt > I2C_SMBUS_BLOCK_MAX)
552 seq->bytecnt + 1, buf);
553 if (sts != seq->bytecnt + 1)
555 if (buf[0] != seq->bytecnt)
559 memcpy(seq->data, &buf[1], seq->bytecnt);
594 smbseq.bytecnt = EEPROM_WRRD_CNT;
606 smbseq.bytecnt = EEPROM_RD_CNT;
666 smbseq.bytecnt = EEPROM_WR_CNT;
765 smbseq.bytecnt = CSR_WR_CNT;
777 smbseq.bytecnt = CSR_WRRD_CNT;
787 smbseq.bytecnt = CSR_RD_CNT;
830 smbseq.bytecnt = CSR_WRRD_CNT;
841 smbseq.bytecnt = CSR_RD_CNT;